Description of problem: ----------------------- When trying to compile the linux kernel sources for 2.6.0-test11, gcc-ssa stops with a fatal error while trying to compile function request_irq() in file arch/i386/kernel/irq.c: arch/i386/kernel/irq.c: In function `request_irq': arch/i386/kernel/irq.c:545: internal compiler error: in get_expr_operands, at tree-dfa.c:402 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. Version-Release number of selected component (if applicable): gcc-ssa-3.5ssa-0.20031202.105 How reproducible: Always Steps to Reproduce: 1. Download linux-2.6.0-test11.tar.bz2 from ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.0-test11.tar.bz2 2. Apply the attached "gcc-ssa.patch" patchfile to modify the Makefile in order to use "gcc-ssa" instead of the "gcc" compiler. 3. Copy the attached "config" file to the root of the source tree and name it ".config". 4. make oldconfig 5. make V=1 bzImage The gcc-ssa compiler will fail as noted above. Actual results: --------------- gcc-ssa is unable to compile the linux kernel. Expected results: ----------------- Well, I wasn't really expecting gcc-ssa (in its current alpha release) to be able to compile the kernel, but, ey! I had to try ;-) Additional info: ---------------- binutils-2.14.90.0.6-4 glibc-2.3.3-1 Running on linux 2.6.0-test11 I haven't included the pre-processed source code as the linux kernel is generally wide available and the steps to reproduce the error are fairly simple.
Created attachment 96368 [details] Patch to use gcc-ssa to build the kernel You should apply this patch to a pristine 2.6.0-test11 linux kernel source tree in order to use "gcc-ssa" instead of the normal "gcc".
Created attachment 96369 [details] Linux config file use to trigger the error You should copy this config file into the root of the kernel source tree with the ".config" name. Next, a "make oldconfig" should be run to import it.
OK, it seems gcc-ssa- is able to successfully compile 2.6.2-rc1-mm3 kernel. However, the resulting kernel is not bootable as it freezes hard while "Uncompressing Linux kernel...".