Gentoo Archives: gentoo-dev

From: Enrico Weigelt <weigelt@×××××.de>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Replacing cpu-feature USE flags
Date: Tue, 25 Jul 2006 12:10:05
Message-Id: 20060725120558.GB3488@nibiru.local
In Reply to: Re: [gentoo-dev] Replacing cpu-feature USE flags by "Diego 'Flameeyes' Pettenò"
1 * Diego 'Flameeyes' Pettenò <flameeyes@g.o> schrieb:
2 > On Thursday 06 July 2006 13:00, Stuart Herbert wrote:
3 > > The one advantage of using USE flags for this is that the support can
4 > > be controlled very easily on a per-package basis. CFLAGS is much more
5 > > of a system-wide setting.
6 > There is always the bashrc to set CFLAGS on a per-package basis.
7
8 hmm, quite inconsitent.
9 Would be better if we had something similar to package.use, but for
10 things like CFLAGS. (btw: evrything that can be controlled by environment
11 should be also available through such per-package tables in /etc/portage/)
12
13 > > Are there examples where we'd want to have these CPU feature flags
14 > > enabled for one package, but disabled for another (for performance or
15 > > stability reasons)?
16 > I think the main issue would be with hardened, where mmx is already a problem
17 > on some packages, but I think this can be solved.
18
19 IMHO there was some "hardened" useflag. Is it the place where such
20 things should go ?
21
22 > For any package where enabling mmx create stability problem, it's likely the
23 > support should be removed altogether anyway, as the flag is enabled for the
24 > majority of users already (the same goes for the other flags).
25
26 hmm, for most users this should be okay.
27 But what's w/ people who want to play around w/ this ?
28
29 BTW: is there a way for masking an useflag of some package ?
30 Lets say, we've got some package which has special mmx support.
31 The package itself (w/o mmx) has been proven as stable, but the mmx
32 stuff hasn't. Is it then possible to mask only the MMX stuff ?
33
34
35 cu
36 --
37 ---------------------------------------------------------------------
38 Enrico Weigelt == metux IT service - http://www.metux.de/
39 ---------------------------------------------------------------------
40 Please visit the OpenSource QM Taskforce:
41 http://wiki.metux.de/public/OpenSource_QM_Taskforce
42 Patches / Fixes for a lot dozens of packages in dozens of versions:
43 http://patches.metux.de/
44 ---------------------------------------------------------------------
45
46 --
47 gentoo-dev@g.o mailing list