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 <gentoo-dev+bounces-41997-garchives=archives.gentoo.org@lists.gentoo.org>) id 1OdVrb-0001au-9m for garchives@archives.gentoo.org; Mon, 26 Jul 2010 22:09:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D3EF5E0AF1; Mon, 26 Jul 2010 22:09:31 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id BE7CCE0ADC for <gentoo-dev@lists.gentoo.org>; Mon, 26 Jul 2010 22:09:17 +0000 (UTC) Received: by wyb36 with SMTP id 36so3386651wyb.40 for <gentoo-dev@lists.gentoo.org>; Mon, 26 Jul 2010 15:09:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=NWo5OM3gLmNMrbdWITXAbjK3xAL3KVuEPJGaAYvX09s=; b=qTTAbLZEIKWU4Aez2PryEGAgKNjiyYZtqGz9ffgjhqvD5/W4ULfPDImstbA7rVAdUS veMg+I4zfOHsvdGKNlVPq92wGFQNSTUT3AkumDo4e4ZD25iNAVfoRuly1XS1BAmvD8Me nU53vwZFxuDVa1cjDcwZ52YW5w3KjsCCbR+Zw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=uD4B3sfnEf5wf3w3FKY7HDQgXVWUuxm0YbvjM8BN/xX40kEZ6J4KF/isTwUsxUnsWH qO7Z9GoNzujMcqvWyRD++QfDl+nJrpv5u6dIEhCzgLX0UTYOUnVWuNvfLV0hXEzj2QF/ ZaAR8/vi3+T1DMf97GZ+9Ey8D0YiVz0PKPerU= Received: by 10.216.79.69 with SMTP id h47mr8062631wee.68.1280182157197; Mon, 26 Jul 2010 15:09:17 -0700 (PDT) Received: from linuxized.com (linuxized.net [109.74.194.171]) by mx.google.com with ESMTPS id w46sm2289374weq.19.2010.07.26.15.09.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 26 Jul 2010 15:09:16 -0700 (PDT) Sender: Alex Alexander <alex.alexander@gmail.com> Date: Tue, 27 Jul 2010 01:09:32 +0300 From: Alex Alexander <wired@gentoo.org> To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] News item announcing as-needed (glep 42 stuff) Message-ID: <20100726220932.GA17801@linuxized.com> References: <4C4DF012.80209@gentoo.org> Precedence: bulk List-Post: <mailto:gentoo-dev@lists.gentoo.org> List-Help: <mailto:gentoo-dev+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org> X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline In-Reply-To: <4C4DF012.80209@gentoo.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Archives-Salt: da52cb30-5be0-4218-bad6-bd781776a74a X-Archives-Hash: 479a66d09576a6bcdd2d09de6299d2c7 --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 26, 2010 at 10:29:06PM +0200, Tom=C3=A1=C5=A1 Chv=C3=A1tal wrot= e: > Hi guys, > See the attachment for the draft. >=20 > Please improve it to be an actual English :P How about: -Wl,--as-needed has been added to the default profile's LDFLAGS. This option optimizes the linking process, only linking binaries to libraries that are trully needed. This way, fewer libraries are loaded at runtime and fewer packages need to be rebuilt on library updates. Setting LDFLAGS in your make.conf will override the default. In that case, if you want the new setting you have to either remove LDFLAGS,=20 or append " -Wl,--as-needed" to it (sans the quotes) yourself. To take advantage of the new default you can either rebuild world or allow the system to migrate slowly through updates. To disable the new default (not recommended) you can define your own LDFLAGS in make.conf. LDFLAGS=3D"-Wl,-O1" will suffice. For more information on --as-needed, read [1]. =20 [1] http://www.gentoo.org/proj/en/qa/asneeded.xml --=20 Alex Alexander -=3D- wired Gentoo Linux Developer -=3D- Council / Qt / KDE / more www.linuxized.com --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) iQIcBAEBCAAGBQJMTgecAAoJEDZF8K7rm0r6SPEP/24pzR5XMJy25X0IRxySlTi/ J/naO1hAtXJvLw/KBGcOUmWf6payNGuolgQ9iToQPM23pNiUWcVlB0dg1d/iCDyY Vl7yZqmloSk+fUjBdoGUE960Br99+r2l/ABVUiYYJyXhptHuOtclIb6IefGZhbJ5 gL0af978kB8zPzQP9Vs1qFTN29ek9Y/gVnZ7ZN3Xxc5pXX2Xg8mywvdJGLPxNaBY 3Deeadh4AGrctUdtIPaVVCMCiNPeqWJdyt8aV64eM+o+GVdBZMpBbINcG0J2k8rR KD/+C98uH+l8jWphCV7qrvno1Bk5ilsZVyeuwl+2ph0Al0zfhvA55Foh8STFoqip ZjfIK8UsOESkr6R9h6PXsJoZDO2NWH6HSfOc5mtSAC4nFlCkF/mjMS2TVDO68nq+ sE8dzRz8dzuvH5gwwV6kMKnzydjx+s2LgZ1HRrcMwmPN1Q0RWMWfgzhjUrHs95+o Hf8VcTyHuaHpmweQnzpwehMAQg5q+OcK2LYwWfjo1Jmirzzoi9iQfEjLvajjhWtG ZdG4WVsqxQHUQ4yUoR81CRZLfzI7OkUcpzjLrI9qAw8K18T8rIz06fgzr8GDcvVH wqHId+t+grbWebJkF3OBNP/+ZWv6Bkk91/csPCbNLivUssjflcUPYWogxBS1Gwmu POUGZCOX10FjpAiswv8N =WX8e -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS--