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



             Bug #: 55640

           Summary: --with-build-config=bootstrap-lto doesn't work with go

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: bootstrap

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: hjl.to...@gmail.com





On Linux/x86-64, when GCC was configured with



--enable-bootstrap --with-build-config=bootstrap-lto

--enable-languages=c,c++,fortran,java,lto,objc,obj-c++,go



I got



lto1: internal compiler error: in add_AT_specification, at

dwarf2out.c:3985

0x629ad9 add_AT_specification

        /export/gnu/import/git/gcc/gcc/dwarf2out.c:3985

0x64dabb gen_variable_die

        /export/gnu/import/git/gcc/gcc/dwarf2out.c:18327

0x65336b gen_decl_die

        /export/gnu/import/git/gcc/gcc/dwarf2out.c:20033

0x653fcd dwarf2out_decl(tree_node*)

        /export/gnu/import/git/gcc/gcc/dwarf2out.c:20348

0x6535f9 dwarf2out_global_decl

        /export/gnu/import/git/gcc/gcc/dwarf2out.c:20083

0x997703 emit_debug_global_declarations(tree_node**, int)

        /export/gnu/import/git/gcc/gcc/toplev.c:530

0x521aaa lto_write_globals

        /export/gnu/import/git/gcc/gcc/lto/lto-lang.c:1067

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.

make[6]: *** [/tmp/cc3yYR7d.ltrans4.ltrans.o] Error 1

lto-wrapper: make returned 2 exit status

/usr/local/x86_64-unknown-linux-gnu/bin/ld: lto-wrapper failed

collect2: error: ld returned 1 exit status

make[5]: *** [go1] Error 1

Reply via email to