compile failure due to undefined symbol

Nick Clifton nickc@redhat.com
Tue Oct 2 15:07:00 GMT 2007


Hi Daniel,

> What dynamic tags (readelf -d) does it have before and after?

They are the same:

Dynamic section at offset 0x78090 contains 23 entries:
   Tag        Type                         Name/Value
  0x0000000000000001 (NEEDED)             Shared library: 
[libbfd-2.18.50.20071002.so]
  0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
  0x000000000000000e (SONAME)             Library soname: 
[libopcodes-2.18.50.20071002.so]
  0x000000000000000f (RPATH)              Library rpath: 
[/work/builds/binutils/current/shared-build/opcodes/../bfd/.libs]
  0x000000000000000c (INIT)               0x25ae8
  0x000000000000000d (FINI)               0x2b2f8
  0x0000000000000004 (HASH)               0x158
  0x0000000000000005 (STRTAB)             0x850
  0x0000000000000006 (SYMTAB)             0x2e0
  0x000000000000000a (STRSZ)              695 (bytes)
  0x000000000000000b (SYMENT)             24 (bytes)
  0x0000000000000003 (PLTGOT)             0x178290
  0x0000000000000002 (PLTRELSZ)           360 (bytes)
  0x0000000000000014 (PLTREL)             RELA
  0x0000000000000017 (JMPREL)             0x25980
  0x0000000000000007 (RELA)               0xba0
  0x0000000000000008 (RELASZ)             151008 (bytes)
  0x0000000000000009 (RELAENT)            24 (bytes)
  0x000000006ffffffe (VERNEED)            0xb80
  0x000000006fffffff (VERNEEDNUM)         1
  0x000000006ffffff0 (VERSYM)             0xb08
  0x000000006ffffff9 (RELACOUNT)          6282
  0x0000000000000000 (NULL)               0x0

> But if it adds an rpath to the installed libraries, I think we should avoid that.

No, it does not do that. :-)

Cheers
   Nick




More information about the Binutils mailing list