Bug 172573 - Segmentation fault when compiling with gcc32
Segmentation fault when compiling with gcc32
Product: Fedora
Classification: Fedora
Component: gcc32 (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2005-11-07 08:58 EST by Colin Adams
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: 4.0.1-5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-11-08 09:55:04 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Gzipped pre-processed source (710.46 KB, text/plain)
2005-11-07 10:07 EST, Colin Adams
no flags Details

  None (edit)
Description Colin Adams 2005-11-07 08:58:44 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
touch finished
make[1]: 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):

How reproducible:
Didn't try

Additional info:
Comment 1 Colin Adams 2005-11-07 10:05:21 EST
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 ...
Comment 2 Colin Adams 2005-11-07 10:07:19 EST
Created attachment 120782 [details]
Gzipped pre-processed source

Preprocessed source - attached as instructed by error messages.
Comment 3 Colin Adams 2005-11-07 11:30:53 EST
I've changed the component, as I just realized gcc32 is being used for the compiles
Comment 4 Colin Adams 2005-11-07 14:23:28 EST
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
Comment 5 Colin Adams 2005-11-07 14:24:13 EST
Can be reproduced every time.
Comment 6 Jakub Jelinek 2005-11-08 09:55:04 EST
compat-gcc-32 is meant for compatibility only.

Note You need to log in before you can comment on or make changes to this bug.