2002-03-21 21:34:28

by petali grigi

[permalink] [raw]
Subject: 2.4.19-pre4: Compiler crash in i386/kernel/mpparse.c


gcc crashes compiling arch/i386/kernel/mpparse.c line 41

gcc version 3.0.2 20010905 (Red Hat Linux 7.1 3.0.1-3)
(the one shipped with RH 7.2)

gcc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=athlon -DKBUILD_BASENAME=mpparse
-c -o mpparse.o mpparse.c
mpparse.c:41: Internal 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]: *** [mpparse.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4/arch/i386/kernel'
make: *** [_dir_arch/i386/kernel] Error 2

matteo merli
[email protected]


2002-03-21 21:55:41

by Alan

[permalink] [raw]
Subject: Re: 2.4.19-pre4: Compiler crash in i386/kernel/mpparse.c

> gcc crashes compiling arch/i386/kernel/mpparse.c line 41
>
> gcc version 3.0.2 20010905 (Red Hat Linux 7.1 3.0.1-3)
> (the one shipped with RH 7.2)

Use 2.96. gcc 3.0 isnt a good compiler choice for 2.4.x kernels - 3.0.4
seems to be doing the right thing but not 3.0.x x<4. 3.1 snapshots are
also looking very promising

2002-03-21 22:26:32

by Dominik Mierzejewski

[permalink] [raw]
Subject: Re: 2.4.19-pre4: Compiler crash in i386/kernel/mpparse.c

On Thursday, 21 March 2002, petali grigi wrote:
>
> gcc crashes compiling arch/i386/kernel/mpparse.c line 41
>
> gcc version 3.0.2 20010905 (Red Hat Linux 7.1 3.0.1-3)
> (the one shipped with RH 7.2)

Try gcc3-3.0.4 from updates.

--
"The Universe doesn't give you any points for doing things that are easy."
-- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"
Dominik 'Rathann' Mierzejewski <rathann(at)rangers.eu.org>