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] |
On Tue, May 20, 2003 at 04:59:33PM +0930, Alan Modra wrote: > 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 > How about this? I am not too happy about it since it only covers native targets, which is sufficient since I only used CC with default_ld_simple_link on native targets. It won't work CC on cross targets. Only genscripts.sh knows what directories should be searched. But I couldn't find a easy way to pass it to Makefile. H.J.
Attachment:
ld-native-test.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |