public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Linux kernel support -O0 optimization flag?
@ 2013-04-15  7:58 Ley Foon Tan
  2013-04-15 11:16 ` richard -rw- weinberger
  0 siblings, 1 reply; 4+ messages in thread
From: Ley Foon Tan @ 2013-04-15  7:58 UTC (permalink / raw)
  To: linux-kernel; +Cc: Kenneth Chong Yin Tan



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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-04-24  8:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-15  7:58 Linux kernel support -O0 optimization flag? Ley Foon Tan
2013-04-15 11:16 ` richard -rw- weinberger
2013-04-16  6:10   ` Ley Foon Tan
2013-04-24  8:29   ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox