From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1K23d8-0002F0-VR for garchives@archives.gentoo.org; Fri, 30 May 2008 12:22:47 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1148CE02EF; Fri, 30 May 2008 12:22:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D7D83E02EF for ; Fri, 30 May 2008 12:22:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 66A2166152 for ; Fri, 30 May 2008 12:22:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.599 X-Spam-Level: X-Spam-Status: No, score=-3.599 required=5.5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C4YQ8jUWqxih for ; Fri, 30 May 2008 12:22:37 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 7179967462 for ; Fri, 30 May 2008 12:22:35 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1K23cn-0006WD-2B for gentoo-dev@gentoo.org; Fri, 30 May 2008 12:22:25 +0000 Received: from ppp-169-232.21-151.libero.it ([151.21.232.169]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 May 2008 12:22:25 +0000 Received: from flameeyes by ppp-169-232.21-151.libero.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 May 2008 12:22:25 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: flameeyes@gmail.com (Diego 'Flameeyes' =?utf-8?Q?Petten=C3=B2?=) Subject: [gentoo-dev] Re: RFC: Should preserve-libs be enabled by default? Date: Fri, 30 May 2008 14:22:15 +0200 Message-ID: References: <20080529011316.54f0f1f6@sheridan.genone.homeip.net> <20080530070243.dc40e0f7.genone@gentoo.org> <1212130551.29080.118.camel@camobap> <483FA9BE.9040506@gentoo.org> <3c32af40805300509o7a3c042av8f95f422b02ea39b@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ppp-169-232.21-151.libero.it User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:Y+zR1OJifFoZTsBZWCdyNOaUqCY= Sender: news X-Archives-Salt: bd12f825-4a8a-4987-91d7-5a77be4c19ff X-Archives-Hash: 633b2697d57391a27c44b73c66dfa91a --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable "Santiago M. Mola" writes: > --as-needed breaking legitimate code is a problem, though. I wonder if > we have that kind of code in any application in the tree and if we > have some way to detect it. You could be looking for code not supposed to work under Solaris or Windows, as the --as-needed behaviour behaves a lot like the standard Sun linker and the forced behaviour of the PE executable format. The only thing that can be broken by using --as-needed is code that assumes the order in calling the .init sections of a set of shared objects. Such an order is not only changed by --as-needed usage but by any other change in the loading mechanism. It is strictly related to glibc at this point as far as I can tell. =2D-=20 Diego "Flameeyes" Petten=C3=B2 http://blog.flameeyes.eu/ --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkg/8XcACgkQe2h1+2mHVWNYxwCeKftuF+8HH/f194iN7ruXNpSn WksAnRX8ygO4NM4OdFyoW2iAcVqQ99wc =6ZPI -----END PGP SIGNATURE----- --=-=-=-- -- gentoo-dev@lists.gentoo.org mailing list