Re: Weird... 2.6.9 kills FC2 gcc

From: Mark Haverkamp
Date: Mon Oct 18 2004 - 20:52:39 EST


On Mon, 2004-10-18 at 18:10, Jeff Garzik wrote:
> The following appears in 2.6.9 release kernel, building with stock FC2
> gcc on x86, but does not appear in 2.6.9-final:
>
> > AS arch/i386/kernel/vsyscall.o
> > cc1: internal compiler error: Segmentation fault
> > Please submit a full bug report,
> > with preprocessed source if appropriate.
> > See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
> > make[1]: *** [arch/i386/kernel/vsyscall.o] Error 1
> > make: *** [arch/i386/kernel] Error 2
>
>
>
> This is 100% reproducible, at the same location (vsyscall), which is
> strange because vsyscall didn't change AFAICS.
>
> I'll build a gcc 3.4.2 without Fedora Core patches and see if the
> behavior persists.
>
> But in the meantime, if anybody else knows what line of code causes this
> segfault, please speak up :)

As an experiment, I commented out the include of init.h and replaced the
__INITDATA and __FINIT with the .section and .previous. It then
compiled OK.

Mark.


>
> Jeff
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
Mark Haverkamp <markh@xxxxxxxx>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/