public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Andreas Jaeger <aj@suse.de>
To: binutils@sourceware.cygnus.com
Subject: make check on mipsel-linux
Date: Thu, 21 Oct 1999 03:28:00 -0000	[thread overview]
Message-ID: <u8k8ohyqfa.fsf@gromit.rhein-neckar.de> (raw)

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

             reply	other threads:[~1999-10-21  3:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-21  3:28 Andreas Jaeger [this message]
1999-10-22  3:52 ` Maciej W. Rozycki
1999-10-22  5:06   ` Koundinya.K
1999-10-22  6:59     ` Maciej W. Rozycki
1999-10-22  8:53       ` H.J. Lu
1999-10-22 15:12         ` Ralf Baechle
1999-10-22 10:17       ` Ian Lance Taylor
1999-10-22 15:29     ` Ralf Baechle
1999-10-22 10:01   ` Andreas Jaeger
1999-10-22 10:50   ` Andreas Jaeger
1999-10-22 15:08   ` Ralf Baechle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=u8k8ohyqfa.fsf@gromit.rhein-neckar.de \
    --to=aj@suse.de \
    --cc=binutils@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).