From: Kevin Smith <kevin.smith@elecsyscorp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-boot UBI breaks build with -O0
Date: Wed, 16 Sep 2015 20:58:29 +0000 [thread overview]
Message-ID: <55F9D7F9.9040806@elecsyscorp.com> (raw)
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.
Kevin Smith
next reply other threads:[~2015-09-16 20:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-16 20:58 Kevin Smith [this message]
2015-09-17 6:57 ` [U-Boot] U-boot UBI breaks build with -O0 Heiko Schocher
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=55F9D7F9.9040806@elecsyscorp.com \
--to=kevin.smith@elecsyscorp.com \
--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