Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Rémi Cardona <remi@g.o>
Subject: Re: Re: RFC: --as-needed to default LDFLAGS
Date: Sun, 01 Jun 2008 18:44:38 +0200
Ulrich Mueller a écrit :
> Speaking about statistics: Either I have missed it, or so far nobody
> has presented any solid numbers showing what the benefit of
> --as-needed in terms of memory usage or program startup time is.

The reduction in startup time may not be noticeable.

The real win is when low level libs change ABI, like expat. On a 
standard Gnome system, without --as-needed, I had over 280 packages to 
rebuild (that was a very slow Duron 700Mhz, I ended up moving to 
--as-needed and did emerge -e world).

On my other box which had had --as-needed for a while (so some useless 
rebuild could have been further avoided), I only had around 45 packages.

And for the sake of the thread, had libtool been smarter, I'm sure that 
the final number could have gone down to 20 or so packages.

My opinion:
  - we need --as-needed because it's useful (maybe ld could echo the 
libs that's it's dropping and then we could have a QA warning?)
  - we *do* need to fix libtool too
  - we need to make sure upstream packages provide correct .pc files

Just a thought :)

Rémi
-- 
gentoo-dev@g.o mailing list


References:
Re: RFC: --as-needed to default LDFLAGS (Was: RFC: Should preserve-libs be enabled by default?)
-- Donnie Berkholz
Re: RFC: --as-needed to default LDFLAGS (Was: RFC: Should preserve-libs be enabled by default?)
-- Ciaran McCreesh
Re: RFC: --as-needed to default LDFLAGS (Was: RFC: Should preserve-libs be enabled by default?)
-- Luca Barbato
Re: RFC: --as-needed to default LDFLAGS (Was: RFC: Should preserve-libs be enabled by default?)
-- Ciaran McCreesh
Re: RFC: --as-needed to default LDFLAGS (Was: RFC: Should preserve-libs be enabled by default?)
-- Luca Barbato
Re: RFC: --as-needed to default LDFLAGS (Was: RFC: Should preserve-libs be enabled by default?)
-- Ciaran McCreesh
Re: RFC: --as-needed to default LDFLAGS (Was: RFC: Should preserve-libs be enabled by default?)
-- Luca Barbato
Re: RFC: --as-needed to default LDFLAGS (Was: RFC: Should preserve-libs be enabled by default?)
-- Ciaran McCreesh
Re: RFC: --as-needed to default LDFLAGS (Was: RFC: Should preserve-libs be enabled by default?)
-- Luca Barbato
Re: RFC: --as-needed to default LDFLAGS (Was: RFC: Should preserve-libs be enabled by default?)
-- Ciaran McCreesh
Re: RFC: --as-needed to default LDFLAGS (Was: RFC: Should preserve-libs be enabled by default?)
-- Brian Harring
Re: RFC: --as-needed to default LDFLAGS
-- Ulrich Mueller
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: RFC: --as-needed to default LDFLAGS
Next by thread:
Re: RFC: --as-needed to default LDFLAGS (Was: RFC: Should preserve-libs be enabled by default?)
Previous by date:
Re: Monthly Gentoo Council Reminder for June
Next by date:
Re: Monthly Gentoo Council Reminder for June


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.