Red Hat Bugzilla – Bug 111550
internal compiler error when compiling linux kernel
Last modified: 2007-04-18 12:59:57 EDT
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):
Steps to Reproduce:
1. Download linux-2.6.0-test11.tar.bz2 from
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.
gcc-ssa is unable to compile the linux kernel.
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 ;-)
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
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...".