[Bug 295629] Linuxlator fails to run the linux x86_64 binary: Program headers not in the first page

[email protected] Wed, 27 May 2026 21:10:57 +0000
Newsgroups gmane.os.freebsd.devel.emulation
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D295629

--- Comment #2 from Yuri Victorovich <[email protected]> ---
$ readelf -l /home/yuri/.local/bin/copilot
readelf: warning: '/home/yuri/.local/bin/copilot': SHT_DYNAMIC section with
index 26 is not contained within the PT_DYNAMIC segment

Elf file type is EXEC (Executable file)
Entry point 0x7d5fb0
There are 15 program headers, starting at offset 45904260

Program Headers:
  Type           Offset   VirtAddr           PhysAddr           FileSiz  Me=
mSiz
  Flg Align
  PHDR           0x2bc7184 0x0000000002fc7184 0x0000000002fc7184 0x038e7c
0x038e7c R   0x8
  INTERP         0x000350 0x0000000000400350 0x0000000000400350 0x00001c
0x00001c R   0x1
      [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
  LOAD           0x000000 0x0000000000400000 0x0000000000400000 0x3315b0
0x3315b0 R   0x1000
  LOAD           0x332000 0x0000000000732000 0x0000000000732000 0x0021d0
0x0021d0 R E 0x1000
  LOAD           0x336000 0x0000000000736000 0x0000000000736000 0x28ca000
0x28ca000 R E 0x2000
  LOAD           0x2c00000 0x0000000003000000 0x0000000003000000 0x0006a1
0x0006a1 R E 0x200000
  LOAD           0x2c01000 0x0000000003001000 0x0000000003001000 0x3869492
0x3869492 R   0x1000
  LOAD           0x646a5f0 0x000000000686b5f0 0x000000000686b5f0 0x02e1d0
0x066a38 RW  0x1000
  LOAD           0x75c0000 0x000000000f5c0000 0x000000000f5c0000 0x28e0000
0x28e0000 R   0x1000
  DYNAMIC        0x646cbb0 0x000000000686dbb0 0x000000000686dbb0 0x000200
0x000200 RW  0x8
  NOTE           0x75c0000 0x000000000f5c0000 0x000000000f5c0000 0x28d5108
0x28d5108 R   0x4
  TLS            0x646a5f0 0x000000000686b5f0 0x000000000686b5f0 0x000004
0x0001a8 R   0x8
  GNU_EH_FRAME   0x60001e4 0x00000000064001e4 0x00000000064001e4 0x0c6f0c
0x0c6f0c R   0x4
  GNU_STACK      0x000000 0x0000000000000000 0x0000000000000000 0x000000
0x000000 RW  0x10
  GNU_RELRO      0x646a5f0 0x000000000686b5f0 0x000000000686b5f0 0x003a10
0x003a10 R   0x1

 Section to Segment mapping:
  Segment Sections...
   00=20=20=20=20=20
   01     .interp=20
   02     .interp .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r
.rela.dyn .rela.plt=20
   03     .init .plt=20
   04     .text=20
   05     lpstub malloc_hook .fini=20
   06     .rodata .eh_frame_hdr .eh_frame .gcc_except_table=20
   07     .tdata .init_array .fini_array .data.rel.ro .dynamic .got .data .=
bss=20
   08     .note.gnu.build-id .note.ABI-tag=20
   09=20=20=20=20=20
   10     .note.gnu.build-id .note.ABI-tag=20
   11     .tdata .tbss=20
   12     .eh_frame_hdr=20
   13=20=20=20=20=20
   14     .tdata .init_array .fini_array .data.rel.ro .dynamic .got=20
   None   .comment .gnu.build.attributes .debug_aranges .debug_info
.debug_abbrev .debug_line .debug_str .debug_loc .debug_ranges .symtab .strt=
ab
.shstrtab

--=20
You are receiving this mail because:
You are the assignee for the bug.=