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 1OdUX2-0000fV-Dp for garchives@archives.gentoo.org; Mon, 26 Jul 2010 20:44:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20F79E0AD9; Mon, 26 Jul 2010 20:44:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 9CBCDE0AB9 for ; Mon, 26 Jul 2010 20:44:05 +0000 (UTC) Received: from [192.168.148.241] (unknown [216.239.45.19]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPSA id 37E1B1B420E for ; Mon, 26 Jul 2010 20:44:05 +0000 (UTC) Message-ID: <4C4DF3B4.1030408@gentoo.org> Date: Mon, 26 Jul 2010 13:44:36 -0700 From: =?UTF-8?B?IlBhd2XFgiBIYWpkYW4sIEpyLiI=?= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 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 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] News item announcing as-needed (glep 42 stuff) References: <4C4DF012.80209@gentoo.org> In-Reply-To: <4C4DF012.80209@gentoo.org> X-Enigmail-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig442704BB39E82A690DEF3702" X-Archives-Salt: 1ce34e1e-5f2c-4581-8ff9-bc8c9874c98f X-Archives-Hash: 1730d6a7caa85915eea3c1eedf8d4d91 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig442704BB39E82A690DEF3702 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 7/26/10 1:29 PM, Tom=C3=A1=C5=A1 Chv=C3=A1tal wrote: > Title: --as-needed enabled in default profiles > Author: Tom=C3=83=C2=A1=C3=85=C2=A1 Chv=C3=83=C2=A1tal > Content-type: text/plain > Posted: 2010-07-26 > Revision: 1 > News-Item-Format: 1.0 >=20 > Starting today all applications emerged on your system are linked > together with additional LDFLAGS=3D"-Wl,--as-needed". This option > allows us to avoid linking extra libraries into the final binary > improving startup times and more importantly making binaries more > resistant to a library SONAME changes [1]. How about making it less technical? Just say that you'll need to rebuild less packages on average after a library upgrade than before. > To gain the benefits of the change you should doublecheck your > value of LDFLAGS in make.conf because the variable does not fold and > your make.conf value is final. So after checking it and potentially > removing we suggest rebuilding whole system to benefit from it. This might be a bit unclear to less savvy users. How about just make sure your LDFLAGS in /etc/make.conf contains "-Wl,--as-needed" or is unse= t? > Overriding the in-profiles value is quite simple as described by > previous paragraph. Just put simply LDFLAGS=3D"-Wl,01" in make.conf. Instead of saying "overriding", I'd say something more similar to "disabling --as-needed" and add that it is not recommended. > [1] http://www.gentoo.org/proj/en/qa/asneeded.xml Pawe=C5=82 P.S. It's nice to see this happening, thanks! --------------enig442704BB39E82A690DEF3702 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) iEYEARECAAYFAkxN87gACgkQuUQtlDBCeQLKkACfWEv5wNxxO6zQebAI7tOrmnZ3 G3MAn1I3HT88OevIXRRUILGv78yOfRN9 =xe/j -----END PGP SIGNATURE----- --------------enig442704BB39E82A690DEF3702--