Received: (at submit) by debbugs.gnu.org; 31 Aug 2012 16:25:28 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 31 12:25:28 2012 Received: from localhost ([127.0.0.1]:59725 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1T7U2B-0005N9-GM for submit <at> debbugs.gnu.org; Fri, 31 Aug 2012 12:25:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52758) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <ossman@HIDDEN>) id 1T7PSf-0007FI-JL for submit <at> debbugs.gnu.org; Fri, 31 Aug 2012 07:32:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <ossman@HIDDEN>) id 1T7PRO-0004Tb-J0 for submit <at> debbugs.gnu.org; Fri, 31 Aug 2012 07:31:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:51530) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ossman@HIDDEN>) id 1T7PRO-0004TX-Fj for submit <at> debbugs.gnu.org; Fri, 31 Aug 2012 07:31:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <ossman@HIDDEN>) id 1T7PRI-0001xa-BK for bug-libtool@HIDDEN; Fri, 31 Aug 2012 07:31:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <ossman@HIDDEN>) id 1T7PR8-0004Lk-Mt for bug-libtool@HIDDEN; Fri, 31 Aug 2012 07:31:04 -0400 Received: from saehrimnir.ossman.eu ([193.12.253.10]:52291 helo=smtp-relay.ossman.eu) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ossman@HIDDEN>) id 1T7PR8-0004LS-Fx for bug-libtool@HIDDEN; Fri, 31 Aug 2012 07:30:54 -0400 Received: from smtp.ossman.eu (c-89-233-204-98.cust.bredband2.com [::ffff:89.233.204.98]) (AUTH: PLAIN smtpproxy, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by smtp-relay.ossman.eu with esmtp; Fri, 31 Aug 2012 13:30:51 +0200 id 0039E022.5040A06B.000019DF Received: from mjolnir.ossman.eu ([2001:16d8:ff07:2:21d:e0ff:fe88:be11]) (AUTH: LOGIN drzeus, TLS: TLS1.1,128bits,RSA_AES_128_CBC_SHA1) by smtp.ossman.eu with ESMTPSA; Fri, 31 Aug 2012 13:30:50 +0200 id 00000000000000B8.000000005040A06A.00001799 Date: Fri, 31 Aug 2012 13:30:46 +0200 From: Pierre Ossman <ossman@HIDDEN> To: bug-libtool@HIDDEN Subject: libltdl does not skip bad libs Message-ID: <20120831133046.67b8464f@HIDDEN> Organization: Cendio AB X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.8; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA256; protocol="application/pgp-signature"; boundary="=_freyr.ossman.eu-6041-1346412650-0001-2" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 31 Aug 2012 12:25:25 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -6.9 (------) This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages. --=_freyr.ossman.eu-6041-1346412650-0001-2 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable I've unfortunately stumbled upon a key difference in behaviour between dlopen() and lt_dlopen(). When dlopen() encounters a bad library (e.g. wrong arch), it will just continue on and find another library. lt_dlopen() however, will stop on the first library which it can read. This breaks libltdl applications horribly in multi-arch environments. As LD_LIBRARY_PATH is not arch specific, having a universal one means having one like: LD_LIBRARY_PATH=3D/usr/foo/lib32:/usr/foo/lib64 This works fine with dlopen(), but not with lt_dlopen(). The fix seems simple enough. In find_handle_callback(), change: *phandle =3D 0; to: return 0; Rgds --=20 Pierre Ossman OpenSource-based Thin Client Technology System Developer Telephone: +46-13-21 46 00 Cendio AB Web: http://www.cendio.com --=_freyr.ossman.eu-6041-1346412650-0001-2 Content-Type: application/pgp-signature; name="signature.asc" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iF4EAREIAAYFAlBAoGkACgkQopDLsoqlmELZWQD/YMMqn4WdFuuHOCiWyuJEPlqs M41TMntwrfNWdzmrQq8A/R1mUfqMGskCWYCMkTcvwpRQE18pG+jUuZR9vEF7PV69 =DRtB -----END PGP SIGNATURE----- --=_freyr.ossman.eu-6041-1346412650-0001-2--
Pierre Ossman <ossman@HIDDEN>
:bug-libtool@HIDDEN
.
Full text available.bug-libtool@HIDDEN
:bug#12319
; Package libtool
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.