Bug 42960 - segfault internal compiler error when trying to compile latest linux kernel
Summary: segfault internal compiler error when trying to compile latest linux kernel
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: c (show other bugs)
Version: 4.4.2
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-04 21:13 UTC by Radu Voicilas
Modified: 2010-05-22 18:10 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Radu Voicilas 2010-02-04 21:13:02 UTC
I am having a hard time compiling the latest stable linux kernel on Fedora 12, gcc 4.4.2

I get random `internal compiler error` like the one bellow (in different sections of the kernel code):

/home/raduv/work/linux-2.6.32.7/drivers/hid/hid-apple.c:274: internal compiler error: in set_lattice_value, at tree-ssa-ccp.c:471
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[3]: *** [drivers/hid/hid-apple.o] Error 1
make[2]: *** [drivers/hid] Error 2
make[1]: *** [drivers] Error 2
make: *** [sub-make] Error 2


GCC Version:
$ gcc -v
Using built-in specs.
Target: i686-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch=i686 --build=i686-redhat-linux
Thread model: posix
gcc version 4.4.2 20091222 (Red Hat 4.4.2-20) (GCC)
Comment 1 Andrew Pinski 2010-02-04 21:16:02 UTC
> See <http://bugzilla.redhat.com/bugzilla> for instructions.
> The bug is not reproducible, so it is likely a hardware or OS problem.

First it says to see redhat's bugzilla file this bug report.  Second since this version of gcc has been modified to try compile it again and it cannot reproduce it on the second run through, it says it might be a hardware or OS issue so you might want to try testing your hardware first.  Try memtest to see if your memory is bad.
Comment 2 Radu Voicilas 2010-02-04 21:24:01 UTC
(In reply to comment #1)
> > See <http://bugzilla.redhat.com/bugzilla> for instructions.
> > The bug is not reproducible, so it is likely a hardware or OS problem.
> 
> First it says to see redhat's bugzilla file this bug report.  Second since this
> version of gcc has been modified to try compile it again and it cannot
> reproduce it on the second run through, it says it might be a hardware or OS
> issue so you might want to try testing your hardware first.  Try memtest to see
> if your memory is bad.
> 

I already did the memory test and my memories are just fine.
And I have filled a fedora bug as well, but I hoped that I get more ideas here.
Comment 3 Joseph S. Myers 2010-05-22 18:10:46 UTC
Closing as not for FSF GCC and probably a hardware problem.