Gentoo Archives: gentoo-dev

From: Samuli Suominen <ssuominen@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: LD_AS_NEEDED="1" in profiles/targets/developer/make.defaults?
Date: Sat, 03 Oct 2009 19:35:36
Message-Id: 4AC7A79E.2010302@gentoo.org
In Reply to: Re: [gentoo-dev] RFC: LD_AS_NEEDED="1" in profiles/targets/developer/make.defaults? by Ciaran McCreesh
1 Ciaran McCreesh wrote:
2 > On Sat, 03 Oct 2009 22:13:59 +0300
3 > Samuli Suominen <ssuominen@g.o> wrote:
4 >> Since new binutils will support LD_AS_NEEDED="1" to force ld behave
5 >> asneeded we could use this for the developer -target in profiles?
6 >>
7 >> Speak up if you think it's a terrible idea.
8 >
9 > Well, it does break correct code, so it's about on par with forcing
10 > -ffast-math or -fno-exceptions or -fvisibility-inlines-hidden on
11 > globally...
12 >
13
14 Be reasonable. We can add -Wl,--no-as-needed for those packages with
15 valid code. And I'm certainly not suggesting adding it to base/, _only_
16 for the developer target.

Replies