Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 23061 - gcc segfaults while building large programs (e.g. kernels, libwww, etc.)
gcc segfaults while building large programs (e.g. kernels, libwww, etc.)
Product: Red Hat Linux
Classification: Retired
Component: gcc (Show other bugs)
i686 Linux
high Severity high
: ---
: ---
Assigned To: Jakub Jelinek
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2000-12-31 17:00 EST by Landsberger, Brian J
Modified: 2005-10-31 17:00 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-01-02 02:34:16 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Landsberger, Brian J 2000-12-31 17:00:38 EST
While compiling a linux kernel the following happens (2.2.18,
2.4.0-prerelease, etc.). This also happened while compiling libwww (from
the w3c). 

make[1]: Leaving directory `/usr/src/linux-2.4.0-prerelease'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -march=athlon    -c -o init/main.o init/main.c
In file included from /usr/src/linux/include/linux/pagemap.h:17,
                 from /usr/src/linux/include/linux/locks.h:9,
                 from /usr/src/linux/include/linux/raid/md.h:37,
                 from init/main.c:25:
/usr/src/linux/include/linux/highmem.h: In function
/usr/src/linux/include/linux/highmem.h:82: Internal error: Segmentation
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
make: *** [init/main.o] Error 2
Comment 1 Jakub Jelinek 2001-01-02 02:34:13 EST
Is it reproduceable (always on the same file, even if you
rerun the above command by hand)?
If yes, can you please rerun
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -save-temps -v
-mpreferred-stack-boundary=2 -march=athlon    -c -o init/main.o init/main.c
(note -save-temps) and attach here main.i it creates?
Comment 2 Landsberger, Brian J 2001-01-02 04:14:37 EST
No worries, was not gcc - was bad ram.

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