Red Hat Bugzilla – Bug 172573
Segmentation fault when compiling with gcc32
Last modified: 2007-11-30 17:11:16 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7
Description of problem:
Linker (I think) crashes.
Using ISE's Eiffel compiler, which generates C code and calls gcc to compile, I got the following as the tail of the output
ld -r -o Cobj4.o big_file_C4_x.o
make: Leaving directory `/home/colin/gobo/test/string/EIFGEN/F_code/C4'
/home/colin/gobo/test/string/EIFGEN/F_code/C5/pa405.x: In function `Fb94u22_body':
/home/colin/gobo/test/string/EIFGEN/F_code/C5/pa405.x:59: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
Preprocessed source stored into /tmp/ccqfqhyo.out file, please attach this to your bugreport.
So I am reporting the bug as requested.
Version-Release number of selected component (if applicable):
On second thoughts, it must bee gcc compiling, rather than the linker.
Anyway, I'm making a second attempt to attach the pre-processed source - at 32MB
it was too large, but it gzips down to less than 1MB, so here goes a second time ...
Created attachment 120782 [details]
Gzipped pre-processed source
Preprocessed source - attached as instructed by error messages.
I've changed the component, as I just realized gcc32 is being used for the compiles
Problem does NOT occur if I use gcc 4.0.1 20050727 (Red Hat 4.0.1-5), instead,
but there are other problems with that compiler that makes using 3.2
Can be reproduced every time.
compat-gcc-32 is meant for compatibility only.