Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Alex Alexander <wired@g.o>
Subject: Re: News item announcing as-needed (glep 42 stuff)
Date: Tue, 27 Jul 2010 01:09:32 +0300
On Mon, Jul 26, 2010 at 10:29:06PM +0200, Tomáš Chvátal wrote:
> Hi guys,
> See the attachment for the draft.
> 
> 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, 
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="-Wl,-O1" will suffice.

For more information on --as-needed, read [1].
 
[1] http://www.gentoo.org/proj/en/qa/asneeded.xml

-- 
Alex Alexander -=- wired
Gentoo Linux Developer -=- Council / Qt / KDE / more
www.linuxized.com
Attachment:
pgpXadjduZveD.pgp (PGP signature)
References:
News item announcing as-needed (glep 42 stuff)
-- Tomáš Chvátal
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: News item announcing as-needed (glep 42 stuff)
Next by thread:
Re: News item announcing as-needed (glep 42 stuff)
Previous by date:
Lastrite: app-office/mozilla-sunbird{,-bin}
Next by date:
Re: Git Commit Procedures


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.