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]
Other format: [Raw text]

ld testsuite failures


HJ,
  Since your 2003-05-15 ld_simple_link $CC change, I'm seeing failures
like the following:

/usr/tmp/gas/x86/ld/tmpdir/ld/ld: cannot find -lc
collect2: ld returned 1 exit status
FAIL: visibility (hidden) (non PIC, load offset)
[snip more visibility failures]

/usr/tmp/gas/x86/ld/tmpdir/ld/ld: cannot find -lc
collect2: ld returned 1 exit status
FAIL: shared (non PIC, load offset)

The problem is that the failing tests use -T $srcdir/$subdir/elf-offset.ld,
and elf-offset.ld doesn't specify SEARCH_DIR.  On my system, ld.so.conf
doesn't specify the default dirs of /lib and /usr/lib, and I'm building
binutils with --prefix=/usr/local

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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