http://sourceware.org/bugzilla/show_bug.cgi?id=13252
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2011-10-05 23:59:52 UTC --- The input has 0000000000000000 <_ZThn16_N5boost16exception_detail19error_info_injectorINS_17bad_function_callEED1Ev>: 0: 48 83 ef 10 sub $0x10,%rdi 4: e9 00 00 00 00 jmpq 9 <_ZThn16_N5boost16exception_detail19error_info_injectorINS_17bad_function_callEED1Ev+0x9> 5: R_X86_64_PC32 .text._ZN5boost16exception_detail19error_info_injectorINS_17bad_function_callEED2Ev-0x4 Disassembly of section .text._ZN5boost16exception_detail19error_info_injectorINS_17bad_function_callEED2Ev: 0000000000000000 <_ZN5boost16exception_detail19error_info_injectorINS_17bad_function_callEED1Ev>: 0: 53 push %rbx 1: 48 89 fb mov %rdi,%rbx 4: 48 c7 07 00 00 00 00 movq $0x0,(%rdi) 7: R_X86_64_32S _ZTVN5boost16exception_detail19error_info_injectorINS_17bad_function_callEEE+0x10 There is an outside reference into the comdat section. When the comdat section is discarded, you get the undefined local symbol. This is a compiler bug. You can't have local references outside the same comdat group. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils