From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HiMGx-0005Pb-0J for garchives@archives.gentoo.org; Mon, 30 Apr 2007 03:09:55 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l3U391Nk004333; Mon, 30 Apr 2007 03:09:01 GMT Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l3U37DDU002124 for ; Mon, 30 Apr 2007 03:07:13 GMT Received: by ug-out-1314.google.com with SMTP id z38so1076427ugc for ; Sun, 29 Apr 2007 20:07:13 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:message-id; b=NyNJIi3IWTpWxqd0eEWG1aqRGwNcnUr9c/GWBBEDj/9WVh1ukvtnQh+34PoaKBzPhvUw0GhhazSJsB2gCnUERfHMAlhFghvtIJ1ur53aBgwlp+H2CPTVIQYEjyYXQDGY/u2FOrqU7z8tGZPhjoJSYEaQC+hcceKK03mP3cRToTo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:message-id; b=DjjZFFohEBX5q7ISCF0g13ZYWA7UUbg4eGdj4SrybmS1k6XW/ueFZ7q3qSC1Uy3iFg4B92+AjrRcX2u1T0G6LIOkyYYeeHzSv3fN4fezK4n/OZrvriITCg+F3SEc41bLQy5gEE17nNnq6+GWJ4yJFuNWcao5RWG99v64MCHNSNo= Received: by 10.67.96.14 with SMTP id y14mr5095060ugl.1177902433185; Sun, 29 Apr 2007 20:07:13 -0700 (PDT) Received: from pender.zimmermann.local ( [85.124.110.28]) by mx.google.com with ESMTP id b36sm10654952ika.2007.04.29.20.07.12; Sun, 29 Apr 2007 20:07:12 -0700 (PDT) From: Roman Zimmermann To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] gentoo: static/dynamic linking libraries Date: Mon, 30 Apr 2007 05:07:00 +0200 User-Agent: KMail/1.9.5 References: <200704291032.06932.mereandor@gmail.com> <463514A9.2030405@gentoo.org> <20070429231147.488db599@snowflake> In-Reply-To: <20070429231147.488db599@snowflake> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2168564.KVZvUyRPA0"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200704300507.10429.mereandor@gmail.com> X-Archives-Salt: 6ddc4cec-b9cf-4866-87ba-9c4cfd2185d8 X-Archives-Hash: eb38adb9e49a5f300ee4566c6fda3a4e --nextPart2168564.KVZvUyRPA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Montag 30 April 2007 00:11 schrieb Ciaran McCreesh: > On Sun, 29 Apr 2007 14:56:57 -0700 > > Donnie Berkholz wrote: > > Anyone who wants to build a static binary wants the static libs. Given > > the difficulty in universally enabling or disabling their builds > > because of build-system differences, building them and tossing them > > in the trash with INSTALL_MASK, as Marius suggested, seems like the > > best way to go. > > The best way to go or the only viable short term solution? That's the point! Universally disabling static builds can't be a longterm=20 solution. The only sane way to do this is on a per ebuild basis. Since only= =20 the ebuild "knows" whats the right way to disable static libs or whether th= is=20 package supports it at all. As of now most packages use or ignore --disable-static in a proper way, but= =20 since GNU autotools are not that popular anymore the "ignore" part of the= =20 tree is inclined to grow. This method has the advantage that it either fails at compile time or works= =20 fine. Something gives me the feeling that INSTALL_MASK will break things=20 after installation and silently, which is a bad thing. So no solution here. And as it was pointed out before. Static builds are not needed most of the= =20 time. There is only 2 packages that actually need the static libraries. The= =20 rest fails due to upstream bugs in the configure/makefile=20 (recognizing --disable-static but only applying it partially). So --disable-static seems to me like the only=20 half-sane-partial-short-time-solution. cheers --nextPart2168564.KVZvUyRPA0 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBGNV1eIAIA2PPsul0RAr05AJ41BI3dwi60SPILlxJBYQBGw3j4ZQCfVJBZ b7mZj7RVFwGDiaYv3VgXJ7Q= =yzbV -----END PGP SIGNATURE----- --nextPart2168564.KVZvUyRPA0-- -- gentoo-dev@gentoo.org mailing list