[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1366012739.21182.4.camel@leyfoon-vm>
Date: Mon, 15 Apr 2013 15:58:59 +0800
From: Ley Foon Tan <lftan@...era.com>
To: <linux-kernel@...r.kernel.org>
CC: Kenneth Chong Yin Tan <cytan@...era.com>
Subject: Linux kernel support -O0 optimization flag?
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists