https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71190
Bug ID: 71190 Summary: [7 Regression] ICE in assemble_variable_contents, at varasm.c:2054 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org CC: jamborm at gcc dot gnu.org Target Milestone: --- Probably since the PR69708 fix went in, the final Firefox -flto libxul link fails. lto1: internal compiler error: in assemble_variable_contents, at varasm.c:2054 0x10ad35f3 assemble_variable_contents ../../gcc/gcc/varasm.c:2054 0x10ad3b0f output_object_block ../../gcc/gcc/varasm.c:7400 0x10ad3b0f output_object_blocks() ../../gcc/gcc/varasm.c:7460 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]: *** [/home/trippels/tmp/ccTKZtgV.ltrans56.ltrans.o] Error 1 make[6]: *** Waiting for unfinished jobs.... lto1: internal compiler error: in assemble_variable_contents, at varasm.c:2054 0x10ad35f3 assemble_variable_contents ../../gcc/gcc/varasm.c:2054 0x10ad3b0f output_object_block ../../gcc/gcc/varasm.c:7400 0x10ad3b0f output_object_blocks() ../../gcc/gcc/varasm.c:7460 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]: *** [/home/trippels/tmp/ccTKZtgV.ltrans43.ltrans.o] Error 1 lto-wrapper: fatal error: make returned 2 exit status compilation terminated. /home/trippels/bin/ld: fatal error: lto-wrapper failed I hope that someone comes up with a smaller testcase. To reproduce build Firefox with -O3 -flto.