From: Ley Foon Tan <lftan@altera.com>
To: <linux-kernel@vger.kernel.org>
Cc: Kenneth Chong Yin Tan <cytan@altera.com>
Subject: Linux kernel support -O0 optimization flag?
Date: Mon, 15 Apr 2013 15:58:59 +0800 [thread overview]
Message-ID: <1366012739.21182.4.camel@leyfoon-vm> (raw)
Change KBUILD_CFLAGS to -O0 in Makefile and got the compilation error as
below.
Is the Linux kernel support -O0 optimization flag?
Note, I have tried 2 architecture compilers and got the same error.
In function 'zap_pmd_range',
inlined from 'zap_pud_range' at mm/memory.c:1288:8,
inlined from 'unmap_page_range' at mm/memory.c:1313:8:
mm/memory.c:1243:23: error: call to '__build_bug_failed' declared with
attribute error: BUILD_BUG failed
make[1]: *** [mm/memory.o] Error 1
next reply other threads:[~2013-04-15 7:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-15 7:58 Ley Foon Tan [this message]
2013-04-15 11:16 ` Linux kernel support -O0 optimization flag? richard -rw- weinberger
2013-04-16 6:10 ` Ley Foon Tan
2013-04-24 8:29 ` Pavel Machek
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=1366012739.21182.4.camel@leyfoon-vm \
--to=lftan@altera.com \
--cc=cytan@altera.com \
--cc=linux-kernel@vger.kernel.org \
/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