From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-boot UBI breaks build with -O0
Date: Thu, 17 Sep 2015 08:57:49 +0200 [thread overview]
Message-ID: <55FA646D.4040800@denx.de> (raw)
In-Reply-To: <55F9D7F9.9040806@elecsyscorp.com>
Hello Kevin,
Am 16.09.2015 um 22:58 schrieb Kevin Smith:
> Some of the debug functions for UBI are preprocessed out for U-boot
> (ifndef __UBOOT__), but their calls are optimized out at higher
> optimization levels, so this does not cause a problem. When building
> with -O0, the linker gives an error:
>
> fs/ubifs/io.c:162: undefined reference to `dbg_leb_unmap'
>
> This function is in a #ifndef __UBOOT__ section.
Good catch. Could you provide a patch?
Thanks!
bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
prev parent reply other threads:[~2015-09-17 6:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-16 20:58 [U-Boot] U-boot UBI breaks build with -O0 Kevin Smith
2015-09-17 6:57 ` Heiko Schocher [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55FA646D.4040800@denx.de \
--to=hs@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox