make check on mipsel-linux
Koundinya.K
kk@ddeorg.soft.net
Fri Oct 22 05:06:00 GMT 1999
Hi all,
I have seen on some mails on this list that the linux-mips people are still
using older versions of binutils i.e 2.8.1 and above.
Once Ralf Beachle was mentioning < ralf@uni-koblenz.de >.
I don't know if the newer binutils snapshots have been compiled before for
mipsel-linux ??. Has there been any transition from older binutils to newer
one at all ??. One person ( I can't get his name ) too had many problems. If
not, since the elf32 and elf46 related mips sources in BFD have undergone
major re-writes for IRIX and the n32 and n64 abi , you will have to ask
someone about the latest state of development of binutils on linux-mips as
to if they are in sync with the latest happenings.
This is what I feel and can tell about your problem . Don't know how correct
I am :-). Perhaps Ralf ( Are you there !!! ?? ) can throw some light on
this.
Cheers,
koundinya
-> On 21 Oct 1999, Andreas Jaeger wrote:
->
-> > 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).
-> [...]
-> > --- 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
-> > ;;
->
-> Hmm, the patch seems to be incorrect -- mipsel-linux uses ld.so.1 per ABI
-> specification and not ld-linux.so* as the dynamic linker (at least on
-> glibc systems). I'd replace `fgrep ld-linux.so' with `grep "ld.*\.so"'
-> (hopefully the quotation is understandable) above, to be on the safe side.
-> The same applies to the sed script.
->
-> Does anything use ld-linux.so* on mipsel-linux, BTW? Hopefully nothing
-> is going to introduce this mess here, too. We do not need libc.so.4
-> compatibility for mips*-linux.
->
-> --
-> + Maciej W. Rozycki, Technical University of Gdansk, Poland +
-> +--------------------------------------------------------------+
-> + e-mail: macro@ds2.pg.gda.pl, PGP key available +
->
More information about the Binutils
mailing list