Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 78078 - gcc-2.96-113 segv's when compiling kernel 2.4.18-10
Summary: gcc-2.96-113 segv's when compiling kernel 2.4.18-10
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gcc
Version: 7.3
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2002-11-18 20:05 UTC by Dan Christian
Modified: 2007-04-18 16:48 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2004-10-01 20:43:44 UTC

Attachments (Terms of Use)

Description Dan Christian 2002-11-18 20:05:07 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020827

Description of problem:
When compiling 2.4.18-10 (no others tried), gcc fails with a segmentation fault.
 If you disable that module (DRM i830), then it fails somewhere else.

Everything builds fine with 2.96-112

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. cd /usr/src/linux-2.4
2. cp configs/configs/kernel-2.4.18-athlon.config .config
3. make xconfig
4. make rpm (or just "make")

Actual Results:  ld -m elf_i386 -r -o i830.o i830_drv.o i830_dma.o 
cc  -D__KERNEL__ -I/usr/src/redhat/BUILD/kernel-2.4.1810custom/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing
-fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686
-malign-functions=4  -DMODULE  -DKBUILD_BASENAME=sis_drv  -c -o sis_drv.o sis_drv.c
In file included from sis_drv.c:65:
drm_drv.h: In function `drm_cleanup':
drm_drv.h:662: Internal error: Segmentation fault.
Please submit a full bug report.
See <URL:> for instructions.
make[4]: *** [sis_drv.o] Error 2
make[4]: Leaving directory

If you disable that module, then it fails here:

cc  -D__KERNEL__ -I/usr/src/redhat/BUILD/kernel-2.4.1810custom/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing
-fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686
-malign-functions=4  -DMODULE  -DKBUILD_BASENAME=sb1000  -c -o sb1000.o sb1000.c
sb1000.c: In function `sb1000_dev_ioctl':
sb1000.c:1101: Internal error: Segmentation fault.
Please submit a full bug report.
See <URL:> for instructions.
make[3]: *** [sb1000.o] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.4.1810custom/drivers/net'

Additional info:

Comment 1 Vladimir Makarov 2004-10-01 20:43:44 UTC
gcc-2.96 is too old now.  Its release cycle was finished long ago. 
Therefore we are closing the bug.  If it is still important, the
customer could reopen the case.

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