GNU logs - #12319, boring messages


Message sent to bug-libtool@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#12319: libltdl does not skip bad libs
Resent-From: Pierre Ossman <ossman@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-libtool@HIDDEN
Resent-Date: Fri, 31 Aug 2012 16:26:03 +0000
Resent-Message-ID: <handler.12319.B.134643032820659 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 12319
X-GNU-PR-Package: libtool
X-GNU-PR-Keywords: 
To: 12319 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-libtool@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.134643032820659
          (code B ref -1); Fri, 31 Aug 2012 16:26:03 +0000
Received: (at submit) by debbugs.gnu.org; 31 Aug 2012 16:25:28 +0000
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>
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-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--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.428 (Entity 5.428)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Pierre Ossman <ossman@HIDDEN>
Subject: bug#12319: Acknowledgement (libltdl does not skip bad libs)
Message-ID: <handler.12319.B.134643032820659.ack <at> debbugs.gnu.org>
References: <20120831133046.67b8464f@HIDDEN>
X-Gnu-PR-Message: ack 12319
X-Gnu-PR-Package: libtool
Reply-To: 12319 <at> debbugs.gnu.org
Date: Fri, 31 Aug 2012 16:26:03 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-libtool@HIDDEN

If you wish to submit further information on this problem, please
send it to 12319 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
12319: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D12319
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems



Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.