This is the mail archive of the binutils@sourceware.cygnus.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]

make check on mipsel-linux



I tried to run make check with the current cvs version of binutils on
mipsel-linux (with an egcs 1.0.2 patch for mips support).

make check in the ld directory produced this failure:
/home/sites/home/users/aj/builds/build-binutils/ld/ld-new -m
elf32lsmip  -o tmpdir/ld1 /lib/crt0.o  tmpdir/ld-partial.o --rpath
../bfd/.libs ../bfd/.libs/libbfd.so ../libiberty/libiberty.a
/opt/egcs1.0.2/lib/gcc-lib/mipsel-linux/egcs-2.90.27/libgcc.a -lc

lt-ld-new: cannot open /lib/crt0.o: No such file or directory
FAIL: bootstrap

The problem seems to be that configure.host doesn't have an entry for
mips*linux. I'm appending a patch to fix this.

Andreas

1999-10-21  Andreas Jaeger  <aj@suse.de>

	* ld/configure.host: Added HOSTING_CRT0, HOSTING_LIBS for 
	target "mips*-linux*"



--- ld/configure.host.~1~	Mon Sep  6 16:27:30 1999
+++ ld/configure.host	Thu Oct 21 12:06:07 1999
@@ -130,6 +130,11 @@
   HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -L/usr/lib32 -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o ; else ${CC} -print-file-name=crtend.o; fi` /usr/lib32/crtn.o -init __do_global_ctors -fini __do_global_dtors'
   ;;
 
+mips*linux*)
+  HOSTING_CRT0='-p -dynamic-linker `fgrep ld-linux.so \`${CC} --print-file-name=specs\` | sed -e "s,.*-dynamic-linker[ 	][ 	]*\(.*/ld-linux.so..\).*,\1,"` `${CC} --print-file-name=crt1.o` `${CC} --print-file-name=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` -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`'
+
+
 m68*-*-linux*aout*)
   HOSTING_CRT0=/usr/lib/crt0.o
   ;;

-- 
 Andreas Jaeger   
  SuSE Labs aj@suse.de	
   private aj@arthur.rhein-neckar.de

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