https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64710

            Bug ID: 64710
           Summary: [5 Regression] lto1: internal compiler error:
                    Segmentation fault
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: hubicka at ucw dot cz

On Linux/x86-64, r219925 gave

lto1: internal compiler error: Segmentation fault
0xde9a51 crash_signal
    ../../src-trunk/gcc/toplev.c:381
0xb13ce8 ipa_merge_profiles(cgraph_node*, cgraph_node*)
    ../../src-trunk/gcc/ipa-utils.c:637
0x69692f lto_cgraph_replace_node
    ../../src-trunk/gcc/lto/lto-symtab.c:124
0x6972a8 lto_symtab_merge_symbols_1
    ../../src-trunk/gcc/lto/lto-symtab.c:619
0x6972a8 lto_symtab_merge_symbols()
    ../../src-trunk/gcc/lto/lto-symtab.c:647
0x67a13e read_cgraph_and_symbols
    ../../src-trunk/gcc/lto/lto.c:3109
0x67c533 lto_main()
    ../../src-trunk/gcc/lto/lto.c:3436
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: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[6]: *** [cc1obj] Error 1

when GCC is configured with

--prefix=/usr/5.0.0 --enable-clocale=gnu --with-system-zlib --enable-shared
--with-demangler-in-ld --with-build-config=bootstrap-lto --disable-werror
--with-fpmath=sse --enable-languages=c,c++,fortran,java,lto,objc

and built with "make -j8 profiledbootstrap". r219906 is OK.

Reply via email to