* Weird... 2.6.9 kills FC2 gcc
@ 2004-10-19 1:10 Jeff Garzik
2004-10-19 1:49 ` Mark Haverkamp
2004-10-19 6:31 ` Gene Heskett
0 siblings, 2 replies; 9+ messages in thread
From: Jeff Garzik @ 2004-10-19 1:10 UTC (permalink / raw)
To: Linux Kernel
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 :)
Jeff
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Weird... 2.6.9 kills FC2 gcc
2004-10-19 1:10 Weird... 2.6.9 kills FC2 gcc Jeff Garzik
@ 2004-10-19 1:49 ` Mark Haverkamp
2004-10-19 2:21 ` [PATCH] " Jeff Garzik
2004-10-19 6:31 ` Gene Heskett
1 sibling, 1 reply; 9+ messages in thread
From: Mark Haverkamp @ 2004-10-19 1:49 UTC (permalink / raw)
To: Jeff Garzik; +Cc: Linux Kernel
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@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
Mark Haverkamp <markh@osdl.org>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH] Re: Weird... 2.6.9 kills FC2 gcc
2004-10-19 1:49 ` Mark Haverkamp
@ 2004-10-19 2:21 ` Jeff Garzik
2004-10-19 3:31 ` Jeff Garzik
0 siblings, 1 reply; 9+ messages in thread
From: Jeff Garzik @ 2004-10-19 2:21 UTC (permalink / raw)
To: Mark Haverkamp; +Cc: Linux Kernel
[-- Attachment #1: Type: text/plain, Size: 1095 bytes --]
Mark Haverkamp wrote:
> 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.
Yep, the same fix (patch attached) works for me.
Jeff
[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 455 bytes --]
===== arch/i386/kernel/vsyscall.S 1.1 vs edited =====
--- 1.1/arch/i386/kernel/vsyscall.S 2003-04-22 22:14:57 -04:00
+++ edited/arch/i386/kernel/vsyscall.S 2004-10-18 22:20:32 -04:00
@@ -1,6 +1,5 @@
-#include <linux/init.h>
-__INITDATA
+.section ".init.data","aw"
.globl vsyscall_int80_start, vsyscall_int80_end
vsyscall_int80_start:
@@ -12,4 +11,4 @@
.incbin "arch/i386/kernel/vsyscall-sysenter.so"
vsyscall_sysenter_end:
-__FINIT
+.previous
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] Re: Weird... 2.6.9 kills FC2 gcc
2004-10-19 2:21 ` [PATCH] " Jeff Garzik
@ 2004-10-19 3:31 ` Jeff Garzik
2004-10-19 4:15 ` Dmitry Torokhov
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Jeff Garzik @ 2004-10-19 3:31 UTC (permalink / raw)
To: Mark Haverkamp, Linux Kernel
More data points:
No problems at all on x86-64.
No ICE on 32-bit x86 gcc 3.4.2, with 2.6.9 release kernel.
So this ICE appears to be a bug specific to 3.3.x or perhaps Fedora.
Jeff
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] Re: Weird... 2.6.9 kills FC2 gcc
2004-10-19 3:31 ` Jeff Garzik
@ 2004-10-19 4:15 ` Dmitry Torokhov
2004-10-19 6:23 ` Meelis Roos
2004-10-19 14:48 ` Mark Haverkamp
2 siblings, 0 replies; 9+ messages in thread
From: Dmitry Torokhov @ 2004-10-19 4:15 UTC (permalink / raw)
To: linux-kernel; +Cc: Jeff Garzik, Mark Haverkamp
On Monday 18 October 2004 10:31 pm, Jeff Garzik wrote:
>
> More data points:
>
> No problems at all on x86-64.
>
> No ICE on 32-bit x86 gcc 3.4.2, with 2.6.9 release kernel.
>
> So this ICE appears to be a bug specific to 3.3.x or perhaps Fedora.
>
> Jeff
>
For what it worth this is on mutated RH 8.0:
[dtor@core dtor]$ make
CHK include/linux/version.h
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/asm-i386/asm_offsets.h
CHK include/linux/compile.h
AS arch/i386/kernel/vsyscall.o
include/linux/compiler.h:20: warning: parameter name starts with a digit in #define
include/linux/compiler.h:20: badly punctuated parameter list in #define
make[1]: *** [arch/i386/kernel/vsyscall.o] Error 1
make: *** [arch/i386/kernel] Error 2
[dtor@core dtor]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
--
Dmitry
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] Re: Weird... 2.6.9 kills FC2 gcc
2004-10-19 3:31 ` Jeff Garzik
2004-10-19 4:15 ` Dmitry Torokhov
@ 2004-10-19 6:23 ` Meelis Roos
2004-10-19 14:48 ` Mark Haverkamp
2 siblings, 0 replies; 9+ messages in thread
From: Meelis Roos @ 2004-10-19 6:23 UTC (permalink / raw)
To: linux-kernel
JG> So this ICE appears to be a bug specific to 3.3.x or perhaps Fedora.
Debian gcc-3.3 3.3.5-1 is also affected.
--
Meelis Roos
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Weird... 2.6.9 kills FC2 gcc
2004-10-19 1:10 Weird... 2.6.9 kills FC2 gcc Jeff Garzik
2004-10-19 1:49 ` Mark Haverkamp
@ 2004-10-19 6:31 ` Gene Heskett
1 sibling, 0 replies; 9+ messages in thread
From: Gene Heskett @ 2004-10-19 6:31 UTC (permalink / raw)
To: linux-kernel; +Cc: Jeff Garzik
On Monday 18 October 2004 21: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 :)
>
> Jeff
I'm an FC2, gcc-3.3.3 user, and it works here without that error,
Jeff.
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.27% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] Re: Weird... 2.6.9 kills FC2 gcc
2004-10-19 3:31 ` Jeff Garzik
2004-10-19 4:15 ` Dmitry Torokhov
2004-10-19 6:23 ` Meelis Roos
@ 2004-10-19 14:48 ` Mark Haverkamp
2004-10-19 14:52 ` Jeff Garzik
2 siblings, 1 reply; 9+ messages in thread
From: Mark Haverkamp @ 2004-10-19 14:48 UTC (permalink / raw)
To: Jeff Garzik; +Cc: linux-kernel
On Mon, 2004-10-18 at 23:31 -0400, Jeff Garzik wrote:
> More data points:
>
> No problems at all on x86-64.
>
> No ICE on 32-bit x86 gcc 3.4.2, with 2.6.9 release kernel.
>
> So this ICE appears to be a bug specific to 3.3.x or perhaps Fedora.
>
> Jeff
>
I tried building this on FC3 with a 3.4.2 gcc and it compiles OK.
Mark.
--
Mark Haverkamp <markh@osdl.org>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] Re: Weird... 2.6.9 kills FC2 gcc
2004-10-19 14:48 ` Mark Haverkamp
@ 2004-10-19 14:52 ` Jeff Garzik
0 siblings, 0 replies; 9+ messages in thread
From: Jeff Garzik @ 2004-10-19 14:52 UTC (permalink / raw)
To: Mark Haverkamp; +Cc: linux-kernel
Mark Haverkamp wrote:
> On Mon, 2004-10-18 at 23:31 -0400, Jeff Garzik wrote:
>
>>More data points:
>>
>>No problems at all on x86-64.
>>
>>No ICE on 32-bit x86 gcc 3.4.2, with 2.6.9 release kernel.
>>
>>So this ICE appears to be a bug specific to 3.3.x or perhaps Fedora.
>>
>> Jeff
>>
>
>
> I tried building this on FC3 with a 3.4.2 gcc and it compiles OK.
Yeah, it looks like 3.3.x from FC2 and Debian both ICE, but 3.4.x (from
any sources) is OK.
Jeff
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2004-10-19 14:53 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-19 1:10 Weird... 2.6.9 kills FC2 gcc Jeff Garzik
2004-10-19 1:49 ` Mark Haverkamp
2004-10-19 2:21 ` [PATCH] " Jeff Garzik
2004-10-19 3:31 ` Jeff Garzik
2004-10-19 4:15 ` Dmitry Torokhov
2004-10-19 6:23 ` Meelis Roos
2004-10-19 14:48 ` Mark Haverkamp
2004-10-19 14:52 ` Jeff Garzik
2004-10-19 6:31 ` Gene Heskett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).