2002-12-09 06:47:32

by William Knop

[permalink] [raw]
Subject: 2.5.50-ac1 mpparse -> gcc 3.0.1 segfault

Hello,
The machine I'm working on has SMP enabled (dual 2GHZ P4 Xeon), although
I've tried it on a different box with dual P3s and it's still a no go. It
didn't happen on 2.5.50-vanilla, so far as I can tell (it had other compile
errors wrt intermezzo, but it got past mpparse). Attached at the bottom is
the make output. Any info on similar occurrences or a fix would be
appreciated.

Thanks,
William Knop
Language Technologies Institute
Carnegie Mellon University


gcc -Wp,-MD,arch/i386/kernel/.trampoline.o.d -D__ASSEMBLY__ -D__KERNEL__
-Iinclude -Iarch/i386/mach-generic -Iarch/i386/mach-defaults -nostdinc
-iwithprefix include -traditional -c -o arch/i386/kernel/trampoline.o
arch/i386/kernel/trampoline.S
gcc -Wp,-MD,arch/i386/kernel/.mpparse.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
-Iarch/i386/mach-generic -Iarch/i386/mach-defaults -nostdinc -iwithprefix
include -DKBUILD_BASENAME=mpparse -DKBUILD_MODNAME=mpparse -c -o
arch/i386/kernel/mpparse.o arch/i386/kernel/mpparse.c
arch/i386/kernel/mpparse.c:46: Internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[1]: *** [arch/i386/kernel/mpparse.o] Error 1
make: *** [arch/i386/kernel] Error 2



_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail


2002-12-09 14:16:40

by Alan

[permalink] [raw]
Subject: Re: 2.5.50-ac1 mpparse -> gcc 3.0.1 segfault


You need gcc 3.1.x to build 2.5.5x - you hit a compiler bug. With later
3.0.x you hit more insidious bugs in the compiler. 3.1.x/3.2 should be
fine

2002-12-09 11:09:49

by Dave Jones

[permalink] [raw]
Subject: Re: 2.5.50-ac1 mpparse -> gcc 3.0.1 segfault

On Mon, Dec 09, 2002 at 01:55:08AM -0500, William Knop wrote:
> Hello,
> The machine I'm working on has SMP enabled (dual 2GHZ P4 Xeon), although
> I've tried it on a different box with dual P3s and it's still a no go. It
> didn't happen on 2.5.50-vanilla, so far as I can tell (it had other compile
> errors wrt intermezzo, but it got past mpparse). Attached at the bottom is
> the make output. Any info on similar occurrences or a fix would be
> appreciated.

3.0.1 is now quite old, and has a number of issues. Try a more recent gcc,
and if the problem is repeatable, file a bug with the gcc folks, as the
output told you to.

Dave

--
| Dave Jones. http://www.codemonkey.org.uk