Gentoo Archives: gentoo-dev

From: Luca Barbato <lu_zero@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 00:20:12
Message-Id: 4840990B.9040909@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 Ciaran McCreesh wrote:
2 > Linking with as-needed is the stage in which the elimination occurs,
3 > and as-needed is the cause of the elimination. So yes, it is related.
4
5 The linker just does bookkeeping, if there aren't symbols used, the
6 library won't be in the list.
7
8 >> Still, PE and ELF are older than the first C++ spec so, IFF your
9 >> reading of this chapter is correct, C++ is broken by design.
10 >
11 > Not at all. Read "The Design and Evolution of C++", and you shall see
12 > that requiring changes to the linker where necessary for sensible
13 > behaviour was considered acceptable, and with good reason.
14
15 As in "we have a square wheels, let's make routes for them"...
16
17 Anyway is the book a standard? Is it available as pdf so you can point
18 me the exact paragraph?
19
20 lu - changing the world so non euclidean aberrations fit isn't sensible
21
22 --
23
24 Luca Barbato
25 Gentoo Council Member
26 Gentoo/linux Gentoo/PPC
27 http://dev.gentoo.org/~lu_zero
28
29 --
30 gentoo-dev@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] RFC: --as-needed to default LDFLAGS (Was: RFC: Should preserve-libs be enabled by default?) Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>