From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OJxPX-0007Zc-3U for garchives@archives.gentoo.org; Wed, 02 Jun 2010 23:31:47 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1F622E09DF; Wed, 2 Jun 2010 23:31:43 +0000 (UTC) Received: from ohnopublishing.net (d14-69-165-90.try.wideopenwest.com [69.14.90.165]) by pigeon.gentoo.org (Postfix) with ESMTP id 914AFE092F for ; Wed, 2 Jun 2010 23:31:02 +0000 (UTC) Received: by ohnopublishing.net (Postfix, from userid 1000) id CCFB77627E; Wed, 2 Jun 2010 19:32:09 -0400 (EDT) X-DKIM: Sendmail DKIM Filter v2.8.3 ohnopublishing.net CCFB77627E DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ohnopublishing.net; s=ohnopublishing.net; t=1275521529; bh=4NqGaAb2WUbVEtYOJOuEijtFLkN4bYT8KdnR+fUrCYM=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=Dc7Hayp6W8fQr3TMlWG0vRx5i0ee6LtOZOW52RqotUyez0RCKmUPJlNl9yUK9XvEt J00hJMwlJWQjYFoQTjAjCu/m/1C8LHCPU/9OhAwjYyNEVEIfMNbivamwd7mXPzxkk4 18blZFrHOOvSLNBUUl1GWRtyhr2g8/SHMlQWqdls= Date: Wed, 2 Jun 2010 19:32:09 -0400 From: Nathan Phillip Brink To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: [Survey || RFC] autotools-utils.eclass Message-ID: <20100602233209.GZ27745@ohnopublishing.net> References: <201005251302.56615.reavertm@gmail.com> <201005261138.01207.reavertm@gmail.com> <201005261327.44442.vapier@gentoo.org> <201005311529.02461.reavertm@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; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="r/pqLSvc7KEXGYeU" Content-Disposition: inline In-Reply-To: <201005311529.02461.reavertm@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Archives-Salt: d9398c0c-1099-429b-99e9-fca8ebf59e53 X-Archives-Hash: 1e7d6764c00868522bdff32f9fffe12a --r/pqLSvc7KEXGYeU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 31, 2010 at 03:29:01PM +0200, Maciej Mrozowski wrote: > On Wednesday 26 of May 2010 19:27:43 Mike Frysinger wrote: > > On Wednesday 26 May 2010 05:38:00 Maciej Mrozowski wrote: > > > I've updated documentation, added example usage and option to keep > > > libtool files (ltdl.so supposedly needs those as I was told, no idea > > > what for). IMO, ltdl.so is probably just being silly. Perhaps these files contain information that is useful on non-Linux systems for dlopen()ing plugins. > > more applicable to us w/Linux is that static linking with libtool needs > > them. the AUTOTOOLS_KEEP_LA_FILES seems kind of spurious considering > > current tree behavior and assumption of gnu-capable linking systems. >=20 > It is spurious when we forget about run-time dynamic linking (plugins) in= some=20 > apps. > libtool loader (ltdl.so) needs .la files unfortunately. One example -=20 > imagemagick - removing .la files for coders makes 'convert' unable to loc= ate=20 > them (silly, but hey...). This case can be caught by checking if the .la file has the following in it: `` # Should we warn about portability when linking against -modules? shouldnotlink=3Dyes '' If shouldnotlink=3Dno _and_ the .la file in question is not libltdl.la itself, it is generally safe to remove. This is the current policy of the portage-multilib branch of the multilib overlay. libtool archive files which are safe to remove are removed by portage-multilib after the install phase. It seems to work well enough. Removing .la files which are useless on a given system would be very nice. It would be even more useful if unused .a files could be swept away at the same time :-). --=20 ohnobinki Look out for missing apostrophes! --r/pqLSvc7KEXGYeU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAkwG6fkACgkQni8M22OVw8BDaACffVV1yVaRdIMIwHcypvX4APC6 34YAnRT0+6jOQ8w3jzjX8qHk3Lb/Ejsh =AKY0 -----END PGP SIGNATURE----- --r/pqLSvc7KEXGYeU--