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, pr@g.o
From: Tomáš Chvátal <scarabeus@g.o>
Subject: News item announcing as-needed (glep 42 stuff)
Date: Mon, 26 Jul 2010 22:29:06 +0200
Hi guys,
See the attachment for the draft.

Please improve it to be an actual English :P

Cheers

Tom
Title: --as-needed enabled in default profiles
Author: Tomáš Chvátal <scarabeus@g.o>
Content-type: text/plain
Posted: 2010-07-26
Revision: 1
News-Item-Format: 1.0

Starting today all applications emerged on your system are linked
together with additional LDFLAGS="-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].

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.

Overriding the in-profiles value is quite simple as described by
previous paragraph. Just put simply LDFLAGS="-Wl,01" in make.conf.

[1] http://www.gentoo.org/proj/en/qa/asneeded.xml
Attachment:
signature.asc (OpenPGP digital signature)
Replies:
Re: News item announcing as-needed (glep 42 stuff)
-- Jeroen Roovers
Re: News item announcing as-needed (glep 42 stuff)
-- Alex Alexander
Re: News item announcing as-needed (glep 42 stuff)
-- Paweł Hajdan, Jr.
Re: News item announcing as-needed (glep 42 stuff)
-- Fabian Groffen
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Lastrite: net-misc/amazonmp3
Next by thread:
Re: News item announcing as-needed (glep 42 stuff)
Previous by date:
Lastrite: net-misc/amazonmp3
Next by date:
Re: News item announcing as-needed (glep 42 stuff)


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.