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: Duncan <1i5t5.duncan@...>
Subject: Re: RFC: --as-needed to default LDFLAGS
Date: Sat, 31 May 2008 23:57:46 +0000 (UTC)
Mike Auty <ikelos@g.o> posted 4841A7DA.7060605@g.o,
excerpted below, on  Sat, 31 May 2008 20:32:42 +0100:

> I think you're looking for the wrong things.  I'm not an expert, but I
> think --as-needed means that if there are 20 libraries on your system
> that use libexpat.so.0 and 400 programs that use those 20 libraries,
> when libexpat is updated to libexpat.so.1, you only need to rebuild the
> 20 libraries, not all 420 packages (as you would do otherwise).  I
> believe that's the main reason for using as-needed...

That has certainly been my experience.  I've had way less rebuilds to 
worry about since I added that to my LDFLAGS and rebuilt the system.  
revdep-rebuild -p, which I run regularly after major world upgrades, 
returns far fewer packages to rebuild, now.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

-- 
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
Re: Re: RFC: --as-needed to default LDFLAGS
-- Mike Auty
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: RFC: --as-needed to default LDFLAGS
Next by thread:
Re: Re: RFC: --as-needed to default LDFLAGS
Previous by date:
Re: profile shift for arm/s390/sh from "stable" to "dev"
Next by date:
Re: VCS repository overview for Gentoo


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.