https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68708
Bug ID: 68708 Summary: [6 Regression] profiledbootstrap failure with --with-build-config=bootstrap-lto Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- On Linux/x86-64, r231293 gave lto1: internal compiler error: Segmentation fault 0xe051b1 crash_signal ../../src-trunk/gcc/toplev.c:334 0x1a2aef9 ipa_icf::sem_function::merge(ipa_icf::sem_item*) ../../src-trunk/gcc/ipa-icf.c:1362 0x1a25d40 ipa_icf::sem_item_optimizer::merge_classes(unsigned int) ../../src-trunk/gcc/ipa-icf.c:3434 0x1a38af1 ipa_icf::sem_item_optimizer::execute() ../../src-trunk/gcc/ipa-icf.c:2616 0x1a3ea5c ipa_icf_driver ../../src-trunk/gcc/ipa-icf.c:3511 0x1a3ea5c ipa_icf::pass_ipa_icf::execute(function*) ../../src-trunk/gcc/ipa-icf.c:3558 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. lto-wrapper: fatal error: /export/gnu/import/git/gcc-test-profiled/bld/./prev-gcc/xg++ returned 1 exit status compilation terminated. /usr/local/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status ../../src-trunk/gcc/cp/Make-lang.in:100: recipe for target 'cc1plus' failed make[6]: *** [cc1plus] Error 1 rm fsf-funding.pod grmic.pod gcov.pod gc-analyze.pod cpp.pod gfdl.pod gpl.pod gfortran.pod gcc.pod gcj-dbtool.pod gij.pod jcf-dump.pod gcj.pod jv-convert.pod gcov-tool.pod make[6]: Leaving directory '/export/gnu/import/git/gcc-test-profiled/bld/gcc' Makefile:4583: recipe for target 'all-stagefeedback-gcc' failed make[5]: *** [all-stagefeedback-gcc] Error 2 make[5]: Leaving directory '/export/gnu/import/git/gcc-test-profiled/bld' Makefile:23748: recipe for target 'stagefeedback-bubble' failed make[4]: *** [stagefeedback-bubble] Error 2 make[4]: Leaving directory '/export/gnu/import/git/gcc-test-profiled/bld' Makefile:23767: recipe for target 'profiledbootstrap' failed make[3]: *** [profiledbootstrap] Error 2 make[3]: Leaving directory '/export/gnu/import/git/gcc-test-profiled/bld' 27304.83user 544.21system 1:26:01elapsed 539%CPU (0avgtext+0avgdata 918848maxresident)k 1088472inputs+25594112outputs (11632major+144584839minor)pagefaults 0swaps Makefile:291: recipe for target 'profiledbootstrap' failed make[2]: *** [profiledbootstrap] Error 2 when configured with --prefix=/usr/6.0.0 --enable-clocale=gnu --with-system-zlib --enable-shared --with-demangler-in-ld --enable-libmpx --with-build-config=bootstrap-lto --disable-werror --with-fpmath=sse --enable-languages=c,c++,fortran,java,lto,objc and built with make -j 8 profiledbootstrap