Gentoo Archives: gentoo-dev

From: Peter Hjalmarsson <xake@×××××××××.net>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: RFC: LD_AS_NEEDED="1" in profiles/targets/developer/make.defaults?
Date: Mon, 05 Oct 2009 02:04:07
Message-Id: 1254708208.6650.18.camel@lillen.dodi
In Reply to: [gentoo-dev] Re: RFC: LD_AS_NEEDED="1" in profiles/targets/developer/make.defaults? by Ryan Hill
1 lör 2009-10-03 klockan 14:21 -0600 skrev Ryan Hill:
2 > On Sat, 03 Oct 2009 22:13:59 +0300
3 > Samuli Suominen <ssuominen@g.o> wrote:
4 >
5 > > Since new binutils will support LD_AS_NEEDED="1" to force ld behave
6 > > asneeded we could use this for the developer -target in profiles?
7 > >
8 > > Speak up if you think it's a terrible idea.
9 > >
10 > > Thanks, Samuli
11 > >
12 > >
13 >
14 > I think it's a not terrible idea.
15 >
16 >
17 > Only barely related: can we enable FEATURES=test too?
18 >
19
20 For FEATURES="test" a policy for how to handle stuff like:
21
22 if use test; then
23 elog
24 ewarn "You have unit tests enabled, this results in an insecure library"
25 ewarn "It is recommended that you reinstall *without* FEATURES=test"
26 fi
27 [1]
28
29
30 needs to be formed before enabling it anywhere by default. Should this test really be run by default, or should it be shielded by USE="unsafetests" or something of just restricted?
31
32 My 2 cents.
33
34 [1] http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/dbus/dbus-1.3.0.ebuild?rev=1.5&view=markup and scroll to the bottom.
35
36 //Peter Hjalmarsson

Replies