Gentoo Archives: gentoo-dev

From: Michal Kurgan <moloh@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: --as-needed to default LDFLAGS (Was: RFC: Should preserve-libs be enabled by default?)
Date: Sat, 31 May 2008 06:09:17
Message-Id: 20080531000908.095603a9@gentoo.org
In Reply to: Re: [gentoo-dev] RFC: --as-needed to default LDFLAGS (Was: RFC: Should preserve-libs be enabled by default?) by Ciaran McCreesh
1 On Sat, 31 May 2008 02:17:48 +0100
2 Ciaran McCreesh <ciaran.mccreesh@××××××××××.com> wrote:
3
4 > On Sat, 31 May 2008 03:03:42 +0200
5 > Luca Barbato <lu_zero@g.o> wrote:
6 > > Ciaran McCreesh wrote:
7 > > > Which is where the design flaw is -- as-needed incorrectly assumes
8 > > > that the only type of dependency between shared objects is a name
9 > > > dependency. This isn't true with C++ static initialisers.
10 > >
11 > > I don't see why should be different than abusing .init in any other
12 > > language that let you do (ok, C, C++, asm mostly).
13 >
14 > In C++ it's not abuse. It's using the language as specified and
15 > designed.
16 >
17
18 Would that be possible for you (or anyone else) to point or provide
19 example of code that breaks after use of as-needed?
20
21 --
22 Michal Kurgan
23 http://dev.gentoo.org/~moloh
24
25
26 --
27 gentoo-dev@l.g.o mailing list