Linking C++ applications may produce: /usr/bin/ld: error in /home/aph/llvm/Release/lib/LLVMInterpreter.o(.eh_frame); no .eh_frame_hdr table will be created.
These relocations Relocation section '.rela.eh_frame' at offset 0x14b0 contains 2 entries: Offset Info Type Sym. Value Sym. Name + Addend 000000000020 000600000002 R_X86_64_PC32 0000000000000000 .text._ZNK4llvm13Targe + 0 with its target section .text._ZNK4llvm13 which is SHT_GROUP [ 9] .text._ZNK4llvm13 PROGBITS 0000000000000000 000004c0 000000000000004f 0000000000000000 AXG 0 0 16 get converted to: 000000000020 000000000000 R_X86_64_NONE 0000000000000000 by this code: ../bfd/elf64-x86-64.c if (sec != NULL && elf_discarded_section (sec)) { /* For relocs against symbols from removed linkonce sections, or sections discarded by a linker script, we just want the section contents zeroed. Avoid any special processing. */ _bfd_clear_contents (howto, input_bfd, contents + rel->r_offset); rel->r_info = 0; rel->r_addend = 0; continue; } -- Summary: Partial linking results in corrupt .eh_frame_hdr Product: binutils Version: 2.20 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassigned at sources dot redhat dot com ReportedBy: jan dot kratochvil at redhat dot com CC: bug-binutils at gnu dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://sourceware.org/bugzilla/show_bug.cgi?id=6893 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils