This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
ld testsuite failures
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 20 May 2003 16:59:33 +0930
- Subject: 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