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:
Is it reproduceable? If yes, please attach preprocessed tg3.i (add -save-temps to gcc options).
No feedback, closing. The kernel has built since then for many people, so most likely this was a hardware issue.