https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65745
Bug ID: 65745 Summary: [5 Regression] lto ICE (Segmentation fault) on powerpc64le-linux-gnu Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org seen with the same package as in PR58528 (apt-cacher-ng), the work around using -g0 still applies. for now powerpc64le-linux-gnu only. works with 4.9 branch. object files at http://people.canonical.com/~doko/tmp/obj.tar.gz g++ -g -O3 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now -flto -Wl,--as-needed CMakeFiles/apt-cacher-ng.dir/source/filelocks.cc.o CMakeFiles/apt-cacher-ng.dir/source/mirror.cc.o CMakeFiles/apt-cacher-ng.dir/source/dirwalk.cc.o CMakeFiles/apt-cacher-ng.dir/source/bgtask.cc.o CMakeFiles/apt-cacher-ng.dir/source/acfg.cc.o CMakeFiles/apt-cacher-ng.dir/source/cacheman.cc.o CMakeFiles/apt-cacher-ng.dir/source/expiration.cc.o CMakeFiles/apt-cacher-ng.dir/source/acfg_defaults.cc.o CMakeFiles/apt-cacher-ng.dir/source/meta.cc.o CMakeFiles/apt-cacher-ng.dir/source/pkgimport.cc.o CMakeFiles/apt-cacher-ng.dir/source/caddrinfo.cc.o CMakeFiles/apt-cacher-ng.dir/source/conn.cc.o CMakeFiles/apt-cacher-ng.dir/source/rfc2553emu.cc.o CMakeFiles/apt-cacher-ng.dir/source/acbuf.cc.o CMakeFiles/apt-cacher-ng.dir/source/cleaner.cc.o CMakeFiles/apt-cacher-ng.dir/source/dlcon.cc.o CMakeFiles/apt-cacher-ng.dir/source/filereader.cc.o CMakeFiles/apt-cacher-ng.dir/source/apt-cacher.cc.o CMakeFiles/apt-cacher-ng.dir/source/aclogger.cc.o CMakeFiles/apt-cacher-ng.dir/source/job.cc.o CMakeFiles/apt-cacher-ng.dir/source/fileio.cc.o CMakeFiles/apt-cacher-ng.dir/source/tcpconnect.cc.o CMakeFiles/apt-cacher-ng.dir/source/showinfo.cc.o CMakeFiles/apt-cacher-ng.dir/source/conserver.cc.o CMakeFiles/apt-cacher-ng.dir/source/header.cc.o CMakeFiles/apt-cacher-ng.dir/source/maintenance.cc.o CMakeFiles/apt-cacher-ng.dir/source/fileitem.cc.o CMakeFiles/apt-cacher-ng.dir/source/lockable.cc.o lto1: internal compiler error: Segmentation fault 0x1070b9d3 crash_signal ../../src/gcc/toplev.c:383 0x10e97df0 htab_hash_string ../../src/libiberty/hashtab.c:834 Please submit a full bug report, with preprocessed source if appropriate. $ g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/powerpc64le-linux-gnu/5/lto-wrapper Target: powerpc64le-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5-20150410-0ubuntu11' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=c++98 --enable-gnu-unique-object --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-ppc64el/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-ppc64el --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-ppc64el --with-arch-directory=ppc64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-secureplt --with-cpu=power7 --with-tune=power8 --disable-multilib --enable-multiarch --disable-werror --with-long-double-128 --enable-checking=yes --build=powerpc64le-linux-gnu --host=powerpc64le-linux-gnu --target=powerpc64le-linux-gnu Thread model: posix gcc version 5.0.0 20150410 (experimental) [trunk revision 221996] (Ubuntu 5-20150410-0ubuntu11)