[Bug lto/44398] New: lto1: internal compiler error: Segmentation fault

bero at arklinux dot org gcc-bugzilla@gcc.gnu.org
Thu Jun 3 10:44:00 GMT 2010


Probably introduced by the fix for bug 44385, given it happens in the same
place and removing -fuse-linker-plugin "fixes" it again: With gcc 4.5.1 rev
160157, linking Qt's moc with -flto -fuse-linker-plugin results in

g++ -Wl,-rpath-link,/usr/src/ark/BUILD/qt/lib -m64 -O2 -fomit-frame-pointer
-fweb -frename-registers
-Wl,-O2,-z,combreloc,-z,relro,--enable-new-dtags,--hash-style=gnu -g -flto
-fuse-linker-plugin -Wl,-rpath,/usr/lib64/qt4-embedded/lib
-Wl,-rpath,/usr/lib64/qt4-embedded/lib -flto -fuse-linker-plugin
-fwhole-program -o ../../../bin/moc release-static/moc.o
release-static/preprocessor.o release-static/generator.o
release-static/parser.o release-static/token.o release-static/main.o   
-L/usr/src/ark/BUILD/qt/src/tools/bootstrap -lbootstrap -lz 
lto1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: g++ returned 1 exit status
/usr/bin/ld: fatal error: lto-wrapper failed
collect2: ld returned 1 exit status


I couldn't get gdb to produce relevant output for this, so I'm attaching what
ltrace -f has to say just before the crash.


-- 
           Summary: lto1: internal compiler error: Segmentation fault
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bero at arklinux dot org
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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



More information about the Gcc-bugs mailing list