[Bug other/60465] Compiling glibc-2.17,2.18 with gcc-4.8.2 and binutils-2.23.2,2.24 results in segfaults in _start / elf_get_dynamic_info

vapier at gentoo dot org gcc-bugzilla@gcc.gnu.org
Wed Mar 19 05:35:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60465

--- Comment #5 from Mike Frysinger <vapier at gentoo dot org> ---
Created attachment 32385
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32385&action=edit
gdb session

here's the trace from the first insn where dyn is pointing to DT_GNU_HASH.  at
this point, it has processed DT_SONAME and DT_HASH.

$ readelf -d build/elf/ld.so

Dynamic section at offset 0x3c8b8 contains 20 entries:
  Tag        Type                         Name/Value
 0x000000000000000e (SONAME)             Library soname: [ld-linux-ia64.so.2]
 0x0000000000000004 (HASH)               0x190
 0x000000006ffffef5 (GNU_HASH)           0x2d8
 0x0000000000000005 (STRTAB)             0x998



More information about the Gcc-bugs mailing list