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: 31 May 2010 00:41:44 -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 #14 from bdubbs at linuxfromscratch dot org 2010-05-31 00:41 -------
(In reply to comment #13)
> (In reply to comment #12)
> > I'm assuming this is current Linus git (post 2.6.34).
>
> I'm guessing from
>
> >Tested on several kernels: 2.6.32.8, 2.6.33.4, 2.6.34-rc7
>
> That this isn't the case.
Exactly right. I'm using 2.6.33.4 for consistency.
I did look at arch/x86/kernel/tsc.c and modified it to remove the lone goto,
but the kernel panic upon boot persists.
This problem does seem to be specific to the combination of building on an
x86_64 and using -Os
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44129