From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041215 Firefox/1.0 Red Hat/1.0-12.EL4 Description of problem: While attempting to test gcc 4.0.0 building linux kernel 2.6.9 the gcc compiler threw an ICE: drivers/scsi/aic7xxx/aic79xx_core.c: In function �ahd_flush_qoutfifo�: drivers/scsi/aic7xxx/aic79xx_core.c:367: internal compiler error: in var_ann, at tree-flow-inline.h:34 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. Preprocessed source stored into /tmp/ccG1Hmau.out file, please attach this to your bugreport. make[3]: *** [drivers/scsi/aic7xxx/aic79xx_core.o] Error 1 make[2]: *** [drivers/scsi/aic7xxx] Error 2 make[1]: *** [drivers/scsi] Error 2 make: *** [drivers] Error 2 Version-Release number of selected component (if applicable): gcc4-4.0.0-0.14.EL4 How reproducible: Always Steps to Reproduce: 1. Compile Linux kernel with gcc 4.0.0 (set HOSTCC to gcc4 for compiler) 2. make modules && make modules_install, fails building 3. Actual Results: drivers/scsi/aic7xxx/aic79xx_core.c: In function �ahd_flush_qoutfifo�: drivers/scsi/aic7xxx/aic79xx_core.c:367: internal compiler error: in var_ann, at tree-flow-inline.h:34 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. Preprocessed source stored into /tmp/ccG1Hmau.out file, please attach this to your bugreport. make[3]: *** [drivers/scsi/aic7xxx/aic79xx_core.o] Error 1 make[2]: *** [drivers/scsi/aic7xxx] Error 2 make[1]: *** [drivers/scsi] Error 2 make: *** [drivers] Error 2 Expected Results: aic7xxx kernel driver is supposed to be built. Additional info: Attached gcc compile dump.
Created attachment 110527 [details] GCC 4.0.0 compile dump output GCC dumped output
Works in FC3 gcc4 (4.0.0-0.8), broken in 4.0.0-0.14.EL4 and is fixed again in 4.0.0-0.19 and 4.0.0-0.22. The last one is what is currently in rawhide and eventually will be included in some RHEL4 update. Though gcc4 in RHEL4 is just a technology preview package and should be treated as such.