Comment 2 for bug 867527

Revision history for this message
Mike Hommey (mh-glandium) wrote :

The build however fails:
out/host/linux-x86/bin/soslim --strip --shady --quiet out/target/product/pandaboard/symbols/system/lib/libmock_ril.so --outfile out/target/product/pandaboard/obj/lib/libmock_ril.so
external/elfcopy/elfcopy.c(2995): Section .ARM.exidx partially overlaps segment 2 in file.

$ readelf -l out/target/product/pandaboard/obj/SHARED_LIBRARIES/libmock_ril_intermediates/LINKED/libmock_ril.so

Elf file type is DYN (Shared object file)
Entry point 0xa44e0
There are 5 program headers, starting at offset 52

Program Headers:
  Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
  EXIDX 0x2424a4 0x002424a4 0x002424a4 0x0a158 0x0a158 R 0x4
  LOAD 0x000000 0x00000000 0x00000000 0x24c5fc 0x24c5fc R E 0x8000
  LOAD 0x24c5fc 0x002545fc 0x002545fc 0x0aea0 0x1a414 RW 0x8000
  DYNAMIC 0x2534d8 0x0025b4d8 0x0025b4d8 0x00110 0x00110 RW 0x4
  GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x4

 Section to Segment mapping:
  Segment Sections...
   00 .ARM.exidx
   01 .hash .dynsym .dynstr .rel.dyn .rel.plt .plt .text .rodata .ARM.extab .ARM.exidx
   02 .init_array .fini_array .data.rel.ro .dynamic .got .data .bss
   03 .dynamic
   04

Technically, elfcopy shouldn't error out :-/