http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48148
--- Comment #26 from H.J. Lu <hjl.tools at gmail dot com> 2011-04-05 02:52:15 UTC --- (In reply to comment #25) > (In reply to comment #24) > > Still doesn't work. Revision 171942 gave: > > > > http://gcc.gnu.org/ml/gcc-regression/2011-04/msg00253.html > > > > /tmp/ccuKub9z.s: Assembler messages: > > /tmp/ccuKub9z.s:180352: Error: symbol `.Ldebug_info0' is already defined > > make[7]: *** [/tmp/ccxeOYQm.ltrans21.ltrans.o] Error 1 > > lto-wrapper: make returned 2 exit status > > /usr/local/x86_64-unknown-linux-gnu/bin/ld: lto-wrapper failed > > collect2: ld returned 1 exit status > > make[6]: *** [cc1] Error 1 > > make[6]: *** Waiting for unfinished jobs.... > > /tmp/ccxlW3CV.s: Assembler messages: > > /tmp/ccxlW3CV.s:164584: Error: symbol `.Ldebug_info0' is already defined > > make[7]: *** [/tmp/ccGWmRAf.ltrans21.ltrans.o] Error 1 > > make[7]: *** Waiting for unfinished jobs.... > > lto-wrapper: make returned 2 exit status > > /usr/local/x86_64-unknown-linux-gnu/bin/ld: lto-wrapper failed > > collect2: ld returned 1 exit status > > make[6]: *** [cc1obj] Error 1 I can reproduce it with revision 171033 + patch in comment #7. That means revision 171033 has 2 problems: 1. lto1: internal compiler error: in gen_subprogram_die, at dwarf2out.c:18983 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make[7]: *** [/tmp/cc0ATx3h.ltrans2.ltrans.o] Error 1 2. /tmp/ccuKub9z.s: Assembler messages: /tmp/ccuKub9z.s:180352: Error: symbol `.Ldebug_info0' is already defined make[7]: *** [/tmp/ccxeOYQm.ltrans21.ltrans.o] Error 1