[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI patch: was [Re: libtool 1.4.2: pass_all for mips-linux, mipsel-linu
From: |
Robert Boehne |
Subject: |
FYI patch: was [Re: libtool 1.4.2: pass_all for mips-linux, mipsel-linux] |
Date: |
Mon, 14 Jan 2002 08:24:49 -0600 |
FYI:
Add mips-linux support on the 1.4 branch.
2002-01-14 Robert Boehne <address@hidden>
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Add mips/mipsel to list of
architectures for linux.
"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
Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/libtool.m4,v
retrieving revision 1.166.2.32
diff -u -r1.166.2.32 libtool.m4
--- libtool.m4 15 Nov 2001 01:22:58 -0000 1.166.2.32
+++ libtool.m4 14 Jan 2002 14:18:47 -0000
@@ -3376,7 +3376,7 @@
# 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI patch: was [Re: libtool 1.4.2: pass_all for mips-linux, mipsel-linux],
Robert Boehne <=