This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/44129] Building linux kernel with gcc-4.5.0 and CONFIG_CC_OPTIMIZE_FOR_SIZE segfaults
- From: "bdubbs at linuxfromscratch dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jun 2010 00:05:02 -0000
- Subject: [Bug target/44129] Building linux kernel with gcc-4.5.0 and CONFIG_CC_OPTIMIZE_FOR_SIZE segfaults
- References: <bug-44129-19181@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #17 from bdubbs at linuxfromscratch dot org 2010-06-19 00:05 -------
I can confirm that changing inline to __always_inline in
arch/x86/include/asm/system.h fixed the panic for me.
I'm not sure if this fix is the result of an error in the kernel or gcc.
Leaving the bug open for now, but it may be appropriate to close it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44129