[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: binutils test suite failures
From: |
Mark Kettenis |
Subject: |
Re: binutils test suite failures |
Date: |
Wed, 22 Aug 2001 23:45:30 +0200 |
From: Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
Date: Wed, 22 Aug 2001 23:00:27 +0200
I see seven errors in the binutils test suite, all related to ld.
[...]
All other tests succeed. I am attaching the corresponding log and
summary file. I think that this might be just because the test is
not "ported" to the Hurd but I don't really know.
Something like that. Try the attached (untested) patch. It should
get rid of all of those failures except
FAIL: bootstrap with --static
That one is a bit hard to get right since it needs crt0.o instead of
crt1.o.
Could you report back to me if the patch works for you? I'll make
sure it gets checked in then.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* configure.host (i[3456]86-*-gnu*): New stanza.
Index: configure.host
===================================================================
RCS file: /cvs/src/src/ld/configure.host,v
retrieving revision 1.16
diff -u -p -r1.16 configure.host
--- configure.host 2001/06/06 12:11:23 1.16
+++ configure.host 2001/08/22 21:41:19
@@ -95,6 +95,11 @@ i[3456]86-*-linux-gnu*)
HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else
${CC} -print-libgcc-file-name; fi` -L`dirname \`${CC}
--print-file-name=libc.so\`` -lc `if [ -f ../gcc/libgcc.a ] ; then echo
../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` `if [ -f
../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC}
--print-file-name=crtend.o; fi` `${CC} --print-file-name=crtn.o`'
;;
+i[3456]86-*-gnu*)
+ HOSTING_CRT0='-dynamic-linker /lib/ld.so /lib/crt1.o /lib/crti.o `if [ -f
../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else ${CC}
-print-file-name=crtbegin.o; fi`'
+ HOSTING_LIBS='if [ -f ../gcc/libgcc.a ]; then echo ../gcc/libgcc.a; else
${CC} -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/libgcc.a ]; then echo
../gcc/libgcc.a; else ${CC} -print-libgcc-file-name; fi` `if [ -f
../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC}
--print-file-name=crtend.o; fi` /lib/crtn.o'
+ ;;
+
i[3456]86-*-lynxos*)
HOSTING_CRT0=/lib/init1.o
HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else
${CC} -print-libgcc-file-name; fi` -lc -lm /lib/initn.o'