Bug 81921

Summary: Internal compiler error in delete_insn, at cfgrtl.c:139
Product: [Retired] Red Hat Linux Reporter: Shelley Gong <shelleygong>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-03 19:37:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Shelley Gong 2003-01-15 07:09:24 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830

Description of problem:
I try to build my own kernel from kernel source. I changed option -O2 in  CFLAGS
in /usr/src/linux-2.4/Makefile to -O -g. 
Then do make mrproper, make menuconfig, make bzImage, and then make modules.
During make modules, I got the following error message. 

gcc -D__KERNEL__ -I/usr/src/linux-2.4.18-14/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O -g -fno-strict-aliasing -fno-common   -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.18-14/include/linux/modversions.h  -nostdinc -I
/usr/lib/gcc-lib/i386-redhat-linux/3.2/include -DKBUILD_BASENAME=tg3  -c -o
tg3.o tg3.c
tg3.c: In function `tg3_start_xmit_4gbug':
tg3.c:2344: Internal compiler error in delete_insn, at cfgrtl.c:139
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
make[2]: *** [tg3.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.18-14/drivers/net'
make[1]: *** [_modsubdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.18-14/drivers'
make: *** [_mod_drivers] Error 2


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


How reproducible:
Always

Steps to Reproduce:
1.Change option -O2 in CFLAGS in /usr/src/linux-2.4/Makefile to -O -g

2. Make mrproper, make menuconfig, make bzIamge

3. Make modules
    

Actual Results:  I got the following error message. 

gcc -D__KERNEL__ -I/usr/src/linux-2.4.18-14/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O -g -fno-strict-aliasing -fno-common   -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.18-14/include/linux/modversions.h  -nostdinc -I
/usr/lib/gcc-lib/i386-redhat-linux/3.2/include -DKBUILD_BASENAME=tg3  -c -o
tg3.o tg3.c
tg3.c: In function `tg3_start_xmit_4gbug':
tg3.c:2344: Internal compiler error in delete_insn, at cfgrtl.c:139
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
make[2]: *** [tg3.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.18-14/drivers/net'
make[1]: *** [_modsubdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.18-14/drivers'
make: *** [_mod_drivers] Error 2


Expected Results:  build sucessful

Additional info:

Comment 1 Jakub Jelinek 2003-02-17 15:04:26 UTC
Is it reproduceable?
If yes, please attach preprocessed tg3.i (add -save-temps to gcc options).

Comment 2 Jakub Jelinek 2004-10-03 19:37:40 UTC
No feedback, closing.  The kernel has built since then for many
people, so most likely this was a hardware issue.