This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: binutils-2.11 ld testsuite problems + PATCH





Good morning,

Thanks for the thoughts y'all.



Alan Modra wrote:
> 
> On Tue, 8 May 2001, Matthew Schalit wrote:
> 
> > Thanks for the followup.  Let's see what we got here...
> [snip]
> Looks all OK.

Roger that.

 
> > -L. -L/usr/local/lib/gcc-lib/i586-sco-sysv5uw7.1.1/2.95.3
> > -L/usr/local/i586-sco-sysv5uw7.1.1/lib -L/usr/ccs/bin
> > -L/usr/ccs/lib  -L/usr/local/lib
> 
> This is just the library paths passed via gcc.

Ok.  I sort of figured those were gcc paths when I posted and 
realized that they didn't correspond to my environment PATHs nor 
the elf_i386.x SEARCH_DIRs.


 
> > /usr/local/bin/ld: warning: /usr/lib/libc.so.1, needed by ./libpbm.so,
> > not found
> 
> Weird.  I wonder if ld thinks there is something wrong with
> /usr/lib/libc.so.1?  What does "readelf -h /usr/lib/libc.so.1" tell you?



Here's what I found from readelf:

----------------------------------------------------------------------
$ readelf -h /usr/lib/libc.so.1
ELF Header:
  Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
  Class:                             ELF32
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              DYN (Shared object file)
  Machine:                           Intel 80386
  Version:                           0x1
  Entry point address:               0x18c60
  Start of program headers:          52 (bytes into file)
  Start of section headers:          512804 (bytes into file)
  Flags:                             0x0
  Size of this header:               52 (bytes)
  Size of program headers:           32 (bytes)
  Number of program headers:         3
  Size of section headers:           40 (bytes)
  Number of section headers:         18
  Section header string table index: 16
----------------------------------------------------------------------


Does that look reasonable?
Matthew


 
> Alan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]