https://sourceware.org/bugzilla/show_bug.cgi?id=28679
Bug ID: 28679 Summary: readelf -l /usr/bin/npc segfault Product: binutils Version: 2.38 (HEAD) Status: NEW Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- On Fedora 35, I got $ /export/build/gnu/tools-build/binutils-gitlab/build-x86_64-linux/binutils/readelf -l /usr/bin/npc Elf file type is DYN (Position-Independent Executable file) Entry point 0x2a5c0 There are 14 program headers, starting at offset 64 Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flags Align PHDR 0x0000000000000040 0x0000000000000040 0x0000000000000040 0x0000000000000310 0x0000000000000310 R 0x8 INTERP 0x0000000000000350 0x0000000000000350 0x0000000000000350 0x000000000000001c 0x000000000000001c R 0x1 [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2] LOAD 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x000000000001a4d0 0x000000000001a4d0 R 0x1000 LOAD 0x000000000001b000 0x000000000001b000 0x000000000001b000 0x00000000001a34ed 0x00000000001a34ed R E 0x1000 LOAD 0x00000000001bf000 0x00000000001bf000 0x00000000001bf000 0x0000000000069f48 0x0000000000069f48 R 0x1000 LOAD 0x0000000000229810 0x000000000022a810 0x000000000022a810 0x000000000000f868 0x000000000000fab8 RW 0x1000 DYNAMIC 0x00000000002373a8 0x00000000002383a8 0x00000000002383a8 0x0000000000000230 0x0000000000000230 RW 0x8 NOTE 0x0000000000000370 0x0000000000000370 0x0000000000000370 0x0000000000000020 0x0000000000000020 R 0x8 NOTE 0x0000000000000390 0x0000000000000390 0x0000000000000390 0x0000000000000044 0x0000000000000044 R 0x4 TLS 0x0000000000229810 0x000000000022a810 0x000000000022a810 0x0000000000000005 0x00000000000000f8 R 0x10 GNU_PROPERTY 0x0000000000000370 0x0000000000000370 0x0000000000000370 0x0000000000000020 0x0000000000000020 R 0x8 GNU_EH_FRAME 0x00000000001ecf4c 0x00000000001ecf4c 0x00000000001ecf4c 0x0000000000006fdc 0x0000000000006fdc R 0x4 GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 RW 0x10 GNU_RELRO 0x0000000000229810 0x000000000022a810 0x000000000022a810 0x000000000000f7f0 0x000000000000f7f0 R 0x1 Section to Segment mapping: Segment Sections... 00 01 .interp 02 .interp .note.gnu.property .note.gnu.build-id .note.ABI-tag .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt 03 .init .plt .text .fini 04 .rodata .debug_gdb_scripts .eh_frame_hdr .eh_frame .gcc_except_table 05 .tdata .init_array .fini_array .data.rel.ro .dynamic .got .data .bss 06 .dynamic 07 .note.gnu.property 08 .note.gnu.build-id .note.ABI-tag 09 .tdata .tbss 10 .note.gnu.property 11 .eh_frame_hdr 12 13 .tdata .init_array .fini_array .data.rel.ro .dynamic .got Segmentation fault (core dumped) -- You are receiving this mail because: You are on the CC list for the bug.