https://sourceware.org/bugzilla/show_bug.cgi?id=28488
--- Comment #7 from Mark Wielaard <mark at klomp dot org> --- The addr2line binary from comment #4 has two phdr NOTE segments: $ eu-elflint --quiet --gnu-ld addr2line phdr[6]: unknown object file note type 32 with owner name '' at offset 48 phdr[6]: extra 72 bytes after last note $ eu-readelf -l addr2line Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align PHDR 0x000040 0x0000000000400040 0x0000000000400040 0x000230 0x000230 R 0x8 INTERP 0x000270 0x0000000000400270 0x0000000000400270 0x00001c 0x00001c R 0x1 [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2] LOAD 0x000000 0x0000000000400000 0x0000000000400000 0x0044d0 0x0044d0 R E 0x1000 LOAD 0x004da8 0x0000000000405da8 0x0000000000405da8 0x000478 0x000530 RW 0x1000 DYNAMIC 0x004db8 0x0000000000405db8 0x0000000000405db8 0x000210 0x000210 RW 0x8 NOTE 0x0002b0 0x00000000004002b0 0x00000000004002b0 0x000030 0x000030 R 0x8 NOTE 0x00028c 0x000000000040028c 0x000000000040028c 0x000078 0x000078 R 0x4 GNU_EH_FRAME 0x00445c 0x000000000040445c 0x000000000040445c 0x000074 0x000074 R 0x4 GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW 0x10 GNU_RELRO 0x004da8 0x0000000000405da8 0x0000000000405da8 0x000258 0x000258 RW 0x8 Section to Segment mapping: Segment Sections... 00 01 [RO: .interp] 02 [RO: .interp .note.ABI-tag .note.gnu.property .note.gnu.build-id .dynsym .dynstr .gnu.hash .hash .gnu.version .gnu.version_r .rela.dyn .rela.plt .init .plt .text .fini .rodata .eh_frame .eh_frame_hdr] 03 [RELRO: .fini_array .init_array .dynamic .got] <RELRO: .got.plt> .data .bss 04 [RELRO: .dynamic] 05 [RO: .note.gnu.property] 06 [RO: .note.ABI-tag .note.gnu.property .note.gnu.build-id] 07 [RO: .eh_frame_hdr] 08 09 [RELRO: .fini_array .init_array .dynamic .got] There are two phdr PT_NOTE segments because they have different alignments (05 has alignment 8 and covers .note.gnu.property, 06 has alignment 8 and covers the other loaded note sections) $ eu-readelf -S addr2line | grep note [ 2] .note.ABI-tag NOTE 000000000040028c 0000028c 00000020 0 A 0 0 4 [ 3] .note.gnu.property NOTE 00000000004002b0 000002b0 00000030 0 A 0 0 8 [ 4] .note.gnu.build-id NOTE 00000000004002e0 000002e0 00000024 0 A 0 0 4 [37] .note.gnu.gold-version NOTE 0000000000000000 00010a98 0000001c 0 0 0 4 Neither covers the gold-version (as expected) -- You are receiving this mail because: You are on the CC list for the bug.