[Bug lto/40754] New: lto1 dies with SIGBUS/SIGSEGV on Solaris 11/SPARC

ro at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jul 14 20:53:00 GMT 2009


Running the testsuite on sparc-sun-solaris2.11 with the lto branch as of
20090709
reveals many testsuite errors like this:

Executing on host:
/vol/gccsrc/obj/gcc-lto-20090709/11-gcc/gcc/testsuite/g++/../../g++
-B/vol/gccsrc/obj/gcc-lto-20090709/11-gcc/gcc/testsuite/g++/../../
cp_lto_20080709_0.o  -nostdinc++
-I/vol/gccsrc/obj/gcc-lto-20090709/11-gcc/sparc-sun-solaris2.11/libstdc++-v3/include/sparc-sun-solaris2.11
-I/vol/gccsrc/obj/gcc-lto-20090709/11-gcc/sparc-sun-solaris2.11/libstdc++-v3/include
-I/vol/gcc/src/gcc-lto/libstdc++-v3/libsupc++
-I/vol/gcc/src/gcc-lto/libstdc++-v3/include/backward
-I/vol/gcc/src/gcc-lto/libstdc++-v3/testsuite/util -fmessage-length=0 -O0
-fwhopr    
-L/vol/gccsrc/obj/gcc-lto-20090709/11-gcc/sparc-sun-solaris2.11/./libstdc++-v3/src/.libs

-L/vol/gccsrc/obj/gcc-lto-20090709/11-gcc/sparc-sun-solaris2.11/./libstdc++-v3/src/.libs
-L/vol/gccsrc/obj/gcc-lto-20090709/11-gcc/sparc-sun-solaris2.11/./libiberty 
-lm   -o g++-dg-lto-20080709-01    (timeout = 300)
lto1: internal compiler error: Bus Error


Please submit a full bug report,


with preprocessed source if appropriate.


See <http://gcc.gnu.org/bugs.html> for instructions.


make: *** [ccFjaiMJ-cp_lto_20080709_0.o.lto.ltrans.o] Error 1


lto1: fatal error:
/vol/gccsrc/obj/gcc-lto-20090709/11-gcc/gcc/testsuite/g++/../../ltrans-driver
terminated with status 512


compilation terminated.


lto-wrapper:
/vol/gccsrc/obj/gcc-lto-20090709/11-gcc/gcc/testsuite/g++/../../g++ returned 1
exit status


collect2: lto-wrapper returned 1 exit status


compiler exited with status 1
output is:
lto1: internal compiler error: Bus Error


Please submit a full bug report,


with preprocessed source if appropriate.


See <http://gcc.gnu.org/bugs.html> for instructions.


make: *** [ccFjaiMJ-cp_lto_20080709_0.o.lto.ltrans.o] Error 1


lto1: fatal error:
/vol/gccsrc/obj/gcc-lto-20090709/11-gcc/gcc/testsuite/g++/../../ltrans-driver
terminated with status 512


compilation terminated.


lto-wrapper:
/vol/gccsrc/obj/gcc-lto-20090709/11-gcc/gcc/testsuite/g++/../../g++ returned 1
exit status


collect2: lto-wrapper returned 1 exit status



FAIL: g++.dg/lto/20080709 cp_lto_20080709_0.o-cp_lto_20080709_0.o link, 
(internal compiler error)

Running lto1 under gdb reveals

Program received signal SIGSEGV, Segmentation fault.
lto_main (debug_p=0) at /vol/gcc/src/gcc-lto/gcc/lto/lto.c:180
(gdb) where
#0  lto_main (debug_p=0) at /vol/gcc/src/gcc-lto/gcc/lto/lto.c:180
#1  0x003901e0 in toplev_main (argc=15, argv=0xffbff55c) at
/vol/gcc/src/gcc-lto/gcc/toplev.c:1039
#2  0x00097ee4 in _start ()

this can only happen if data (aka header) is NULL at this point, but gdb
cannot print them


-- 
           Summary: lto1 dies with SIGBUS/SIGSEGV on Solaris 11/SPARC
           Product: gcc
           Version: lto
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ro at gcc dot gnu dot org
 GCC build triplet: sparc-sun-solaris2.11
  GCC host triplet: sparc-sun-solaris2.11
GCC target triplet: sparc-sun-solaris2.11


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40754



More information about the Gcc-bugs mailing list