Random compiler errors
Not sure why this is happening, but lately when building kernels I am getting non-reproducible cases of gcc failure. There are no messages in system log. Cosmic rays? Bad memory?
CC arch/x86/kernel/xsave.o
CC arch/x86/kernel/ptrace.oarch/x86/kernel/ptrace.c:1416: internal compiler error: Bus error Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions. make[2]: *** [arch/x86/kernel/ptrace.o] Error 1 make[1]: *** [arch/x86/kernel] Error 2
make: *** [arch/x86] Error 2
$ make CHK include/linux/version.h CHK include/generated/utsrelease.h CALL scripts/checksyscalls.sh CHK include/generated/compile.h CC arch/x86/kernel/ptrace.o CC arch/x86/kernel/tls.o CC arch/x86/kernel/step.o CC arch/x86/kernel/tboot.o
Quoted 3 lines · On Sat, 16 Oct 2010 17:48:54 -0700 Stephen Hemminger wrote:
Not sure why this is happening, but lately when building kernels I am getting non-reproducible cases of gcc failure. There are no messages in system log. Cosmic rays? Bad memory?
I haven't had these personally, but from reading lkml over the past N years, these are usually due to memory or disk/storage problems.
Quoted 10 lines
CC
arch/x86/kernel/xsave.o
CCarch/x86/kernel/ptrace.oarch/x86/kernel/ptrace.c:1416: internal compiler error: Bus error Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions. make[2]: *** [arch/x86/kernel/ptrace.o] Error 1 make[1]: *** [arch/x86/kernel] Error 2
make: *** [arch/x86] Error 2
Quoted 10 lines
$ make CHK include/linux/version.h CHK include/generated/utsrelease.h CALL scripts/checksyscalls.sh CHK include/generated/compile.h CC arch/x86/kernel/ptrace.o CC arch/x86/kernel/tls.o CC arch/x86/kernel/step.o CC arch/x86/kernel/tboot.o --
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
Quoted 8 lines · On Sat, 16 Oct 2010 19:04:16 -0700 Randy Dunlap <[email protected]> wrote:
Quoted 3 lines · On Sat, 16 Oct 2010 17:48:54 -0700 Stephen Hemminger wrote:
Not sure why this is happening, but lately when building kernels I am getting non-reproducible cases of gcc failure. There are no messages in system log. Cosmic rays? Bad memory?
I haven't had these personally, but from reading lkml over the past N years, these are usually due to memory or disk/storage problems.
That was what I thought, but memtest comes up clean and the storage is SSD. My suspicion is something like EDAC or some DMA bug.