bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/23388] [2.31 Regression] produces large 64-bit multilib librarie


From: doko at debian dot org
Subject: [Bug ld/23388] [2.31 Regression] produces large 64-bit multilib libraries on i386
Date: Mon, 09 Jul 2018 13:38:35 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=23388

--- Comment #5 from Matthias Klose <doko at debian dot org> ---
on x86_64-linux-gnu:

$ ls -l /lib/x86_64-linux-gnu/libc-2.27.so 
-rwxr-xr-x 1 root root 1808440 Jul  7 16:34 /lib/x86_64-linux-gnu/libc-2.27.so

on i686-linux-gnu (x86_64-linux-gnu multilib)
$ ls -l /lib64/libc-2.27.so
-rwxr-xr-x 1 root root 4528184 Jul  7 16:34 /lib64/libc-2.27.so

$ readelf -lW /lib/x86_64-linux-gnu/libc-2.27.so 

Elf file type is DYN (Shared object file)
Entry point 0x22c30
There are 12 program headers, starting at offset 64

Program Headers:
  Type           Offset   VirtAddr           PhysAddr           FileSiz  MemSiz
  Flg Align
  PHDR           0x000040 0x0000000000000040 0x0000000000000040 0x0002a0
0x0002a0 R   0x8
  INTERP         0x189170 0x0000000000189170 0x0000000000189170 0x00001c
0x00001c R   0x10
      [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
  LOAD           0x000000 0x0000000000000000 0x0000000000000000 0x021038
0x021038 R   0x1000
  LOAD           0x022000 0x0000000000022000 0x0000000000022000 0x1451c2
0x1451c2 R E 0x1000
  LOAD           0x168000 0x0000000000168000 0x0000000000168000 0x04a2b0
0x04a2b0 R   0x1000
  LOAD           0x1b2618 0x00000000001b3618 0x00000000001b3618 0x005248
0x0094c8 RW  0x1000
  DYNAMIC        0x1b5b80 0x00000000001b6b80 0x00000000001b6b80 0x0001e0
0x0001e0 RW  0x8
  NOTE           0x0002e0 0x00000000000002e0 0x00000000000002e0 0x000044
0x000044 R   0x4
  TLS            0x1b2618 0x00000000001b3618 0x00000000001b3618 0x000010
0x000090 R   0x8
  GNU_EH_FRAME   0x18918c 0x000000000018918c 0x000000000018918c 0x005ed4
0x005ed4 R   0x4
  GNU_STACK      0x000000 0x0000000000000000 0x0000000000000000 0x000000
0x000000 RW  0x10
  GNU_RELRO      0x1b2618 0x00000000001b3618 0x00000000001b3618 0x0039e8
0x0039e8 R   0x1

 Section to Segment mapping:
  Segment Sections...
   00     
   01     .interp 
   02     .note.gnu.build-id .note.ABI-tag .gnu.hash .dynsym .dynstr
.gnu.version .gnu.version_d .gnu.version_r .rela.dyn .rela.plt 
   03     .plt .plt.got .text __libc_freeres_fn __libc_thread_freeres_fn 
   04     .rodata .interp .eh_frame_hdr .eh_frame .gcc_except_table .hash 
   05     .tdata .init_array __libc_subfreeres __libc_atexit
__libc_thread_subfreeres __libc_IO_vtables .data.rel.ro .dynamic .got .got.plt
.data .bss 
   06     .dynamic 
   07     .note.gnu.build-id .note.ABI-tag 
   08     .tdata .tbss 
   09     .eh_frame_hdr 
   10     
   11     .tdata .init_array __libc_subfreeres __libc_atexit
__libc_thread_subfreeres __libc_IO_vtables .data.rel.ro .dynamic .got 

$ readelf -lW /lib64/libc-2.27.so 

Elf file type is DYN (Shared object file)
Entry point 0x200c30
There are 12 program headers, starting at offset 64

Program Headers:
  Type           Offset   VirtAddr           PhysAddr           FileSiz  MemSiz
  Flg Align
  PHDR           0x000040 0x0000000000000040 0x0000000000000040 0x0002a0
0x0002a0 R   0x8
  INTERP         0x421160 0x0000000000421160 0x0000000000421160 0x00001c
0x00001c R   0x10
      [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
  LOAD           0x000000 0x0000000000000000 0x0000000000000000 0x021038
0x021038 R   0x200000
  LOAD           0x200000 0x0000000000200000 0x0000000000200000 0x1451b2
0x1451b2 R E 0x200000
  LOAD           0x400000 0x0000000000400000 0x0000000000400000 0x04a2a0
0x04a2a0 R   0x200000
  LOAD           0x44a618 0x000000000064a618 0x000000000064a618 0x005248
0x0094c8 RW  0x200000
  DYNAMIC        0x44db80 0x000000000064db80 0x000000000064db80 0x0001e0
0x0001e0 RW  0x8
  NOTE           0x0002e0 0x00000000000002e0 0x00000000000002e0 0x000044
0x000044 R   0x4
  TLS            0x44a618 0x000000000064a618 0x000000000064a618 0x000010
0x000090 R   0x8
  GNU_EH_FRAME   0x42117c 0x000000000042117c 0x000000000042117c 0x005ed4
0x005ed4 R   0x4
  GNU_STACK      0x000000 0x0000000000000000 0x0000000000000000 0x000000
0x000000 RW  0x10
  GNU_RELRO      0x44a618 0x000000000064a618 0x000000000064a618 0x0039e8
0x0039e8 R   0x1

 Section to Segment mapping:
  Segment Sections...
   00     
   01     .interp 
   02     .note.gnu.build-id .note.ABI-tag .gnu.hash .dynsym .dynstr
.gnu.version .gnu.version_d .gnu.version_r .rela.dyn .rela.plt 
   03     .plt .plt.got .text __libc_freeres_fn __libc_thread_freeres_fn 
   04     .rodata .interp .eh_frame_hdr .eh_frame .gcc_except_table .hash 
   05     .tdata .init_array __libc_subfreeres __libc_atexit
__libc_thread_subfreeres __libc_IO_vtables .data.rel.ro .dynamic .got .got.plt
.data .bss 
   06     .dynamic 
   07     .note.gnu.build-id .note.ABI-tag 
   08     .tdata .tbss 
   09     .eh_frame_hdr 
   10     
   11     .tdata .init_array __libc_subfreeres __libc_atexit
__libc_thread_subfreeres __libc_IO_vtables .data.rel.ro .dynamic .got

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]