From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-dev+bounces-30812-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1K2CCl-0003g5-NU
	for garchives@archives.gentoo.org; Fri, 30 May 2008 21:32:07 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 7722EE0406;
	Fri, 30 May 2008 21:32:06 +0000 (UTC)
Received: from smtp-gw1.starman.ee (smtp-out3.starman.ee [85.253.0.5])
	by pigeon.gentoo.org (Postfix) with ESMTP id 4435AE0406
	for <gentoo-dev@lists.gentoo.org>; Fri, 30 May 2008 21:32:06 +0000 (UTC)
Received: from mx1.starman.ee (mx1.starman.ee [62.65.192.16])
	by smtp-gw1.starman.ee (Postfix) with ESMTP id 543AAA215BF
	for <gentoo-dev@lists.gentoo.org>; Sat, 31 May 2008 00:32:04 +0300 (EEST)
X-Virus-Scanned: by Amavisd-New at mx1.starman.ee
Received: from [82.131.30.5] (ip5.cab30.mus.starman.ee [82.131.30.5])
	by mx1.starman.ee (Postfix) with ESMTP id 4751C3F4079
	for <gentoo-dev@lists.gentoo.org>; Sat, 31 May 2008 00:32:01 +0300 (EEST)
Subject: Re: [gentoo-dev]  Re: RFC: Should preserve-libs be enabled by
	default?
From: Mart Raudsepp <leio@gentoo.org>
To: gentoo-dev@lists.gentoo.org
In-Reply-To: <20080530202034.1b147946@snowcone>
References: <20080529011316.54f0f1f6@sheridan.genone.homeip.net>
	 <200805301657.46861.levertond@googlemail.com> <m2zlq7bvr6.fsf@gmail.com>
	 <200805301743.15555.levertond@googlemail.com> <484051DC.6090409@gentoo.org>
	 <20080530202034.1b147946@snowcone>
Content-Type: text/plain
Date: Sat, 31 May 2008 00:31:22 +0300
Message-Id: <1212183082.13925.2.camel@localhost>
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
X-Mailer: Evolution 2.22.0 
Content-Transfer-Encoding: 7bit
X-Archives-Salt: c659b83e-8b16-4bf9-8030-9f0268a81708
X-Archives-Hash: 379c69ae0e0c5e33d6b3925951cc3ebe

On R, 2008-05-30 at 20:20 +0100, Ciaran McCreesh wrote:
> On Fri, 30 May 2008 21:13:32 +0200
> Luca Barbato <lu_zero@gentoo.org> wrote:
> > Talk to the upstream about this, probably getting a satisfying
> > solution isn't that difficult.
> 
> The solution is to use --as-needed in the same way that -ffast-math is
> used: only with applications specifically designed to support it.

You mean everything but paludis?

Doesn't your grand plan include supporting Prefix and Interix with PE
binaries and so on?

I know projects that need to work around static initialization not being
reliable - they only happen to have done that for other reasons (such as
Windows PE format, iirc) years before --as-needed was implemented for
binutils.
Standards is one thing - reality is something quite different.
The reality is that everything designed to work everywhere is just
mighty happy with --as-needed and lots of benefits to gain from it.

-- 
Mart Raudsepp
Gentoo Developer
Mail: leio@gentoo.org
Weblog: http://planet.gentoo.org/developers/leio

-- 
gentoo-dev@lists.gentoo.org mailing list