[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool 1.4.2: pass_all for mips-linux, mipsel-linux
From: |
Robert Boehne |
Subject: |
Re: libtool 1.4.2: pass_all for mips-linux, mipsel-linux |
Date: |
Mon, 14 Jan 2002 07:52:46 -0600 |
Maciej:
H. J. Lu submitted a patch for Linux-mips that has been checked
into the main branch.
2001-10-24 H.J. Lu <address@hidden>
* ltmain.sh: Allow link against an archive when building a
shared library.
* libtool.m4 (lt_cv_deplibs_check_method): Always use
file_magic for Linux ELF.
If you like, I could port it to the 1.4 branch as I'm currently
not sure we won't release a 1.4.3.
Robert
"Maciej W. Rozycki" wrote:
>
> Hello,
>
> I think I've already submitted an equivalent patch for 1.4, but I got no
> response, so here is a resend...
>
> Mips-linux and mipsel-linux are not different from other ports using
> glibc and ELF, so there is no need to check if a library is shared. And
> unnecessary problems arise due to differences in `file' revisions:
>
> $ file /lib/libc-2.2.4.so
> /lib/libc-2.2.4.so: ELF 32-bit LSB mips-1 shared object, MIPS R3000_LE
> [bfd bug], version 1 (SYSV), stripped
> $ file -v
> file-3.37
> magic file from /usr/share/magic
>
> The above string doesn't match the 'ELF [[0-9]][[0-9]]*-bit [[LM]]SB
> (shared object|dynamic lib )' pattern used for broken *-linux platforms.
>
> Please apply the following patch.
>
> 2002-01-11 Maciej W. Rozycki <address@hidden>
>
> * libtool.m4 (lt_cv_deplibs_check_method): pass_all for
> mips-linux, mipsel-linux.
>
> Maciej
>
> --
> + Maciej W. Rozycki, Technical University of Gdansk, Poland +
> +--------------------------------------------------------------+
> + e-mail: address@hidden, PGP key available +
>
> libtool-1.4.1-mips-deplibs.patch
> diff -up --recursive --new-file libtool-1.4.1.macro/libtool.m4
> libtool-1.4.1/libtool.m4
> --- libtool-1.4.1.macro/libtool.m4 Sun Sep 2 23:32:02 2001
> +++ libtool-1.4.1/libtool.m4 Sat Sep 8 23:30:44 2001
> @@ -3323,7 +3323,7 @@ irix5* | irix6*)
> # This must be Linux ELF.
> linux-gnu*)
> case $host_cpu in
> - alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
> + alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* )
> lt_cv_deplibs_check_method=pass_all ;;
> *)
> # glibc up to 2.1.1 does not perform some relocations on ARM
>
> _______________________________________________
> Bug-libtool mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-libtool
--
Robert Boehne Software Engineer
Ricardo Software Chicago Technical Center
TEL: (630)789-0003 x. 238
FAX: (630)789-0127
email: address@hidden