From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1G5Ljg-0003IK-Kp for garchives@archives.gentoo.org; Tue, 25 Jul 2006 12:10:05 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6PC95Ds025501; Tue, 25 Jul 2006 12:09:05 GMT Received: from forum.psychotherapie.org (s15216962.onlinehome-server.info [217.160.22.205]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6PC6NYn013116 for ; Tue, 25 Jul 2006 12:06:23 GMT Received: (from uucp@localhost) by forum.psychotherapie.org (8.13.3/8.13.3/SuSE Linux 0.7) with UUCP id k6PC6NGI004922 for gentoo-dev@lists.gentoo.org; Tue, 25 Jul 2006 14:06:23 +0200 Received: (from weigelt@localhost) by metux.de (8.12.10/8.12.10) id k6PC5woi030157 for gentoo-dev@lists.gentoo.org; Tue, 25 Jul 2006 14:05:58 +0200 Date: Tue, 25 Jul 2006 14:05:58 +0200 From: Enrico Weigelt To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Replacing cpu-feature USE flags Message-ID: <20060725120558.GB3488@nibiru.local> References: <200607061252.33028@enterprise.flameeyes.is-a-geek.org> <200607061323.33083@enterprise.flameeyes.is-a-geek.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <200607061323.33083@enterprise.flameeyes.is-a-geek.org> User-Agent: Mutt/1.4.1i X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k6PC6NYn013116 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k6PC95Fe025501 X-Archives-Salt: 8ef821ea-2337-4970-b7a7-53fe3cc53f30 X-Archives-Hash: c87b31b6f2b814067b6bd8481ed41b72 * Diego 'Flameeyes' Petten=F2 schrieb: > On Thursday 06 July 2006 13:00, Stuart Herbert wrote: > > The one advantage of using USE flags for this is that the support can > > be controlled very easily on a per-package basis. CFLAGS is much mor= e > > of a system-wide setting. > There is always the bashrc to set CFLAGS on a per-package basis. hmm, quite inconsitent.=20 Would be better if we had something similar to package.use, but for things like CFLAGS. (btw: evrything that can be controlled by environment should be also available through such per-package tables in /etc/portage/= ) > > Are there examples where we'd want to have these CPU feature flags > > enabled for one package, but disabled for another (for performance or > > stability reasons)? > I think the main issue would be with hardened, where mmx is already a p= roblem=20 > on some packages, but I think this can be solved. IMHO there was some "hardened" useflag. Is it the place where such=20 things should go ? > For any package where enabling mmx create stability problem, it's likel= y the=20 > support should be removed altogether anyway, as the flag is enabled for= the=20 > majority of users already (the same goes for the other flags). hmm, for most users this should be okay. But what's w/ people who want to play around w/ this ? BTW: is there a way for masking an useflag of some package ? Lets say, we've got some package which has special mmx support.=20 The package itself (w/o mmx) has been proven as stable, but the mmx stuff hasn't. Is it then possible to mask only the MMX stuff ? cu --=20 --------------------------------------------------------------------- Enrico Weigelt =3D=3D metux IT service - http://www.metux.de/ --------------------------------------------------------------------- Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ --------------------------------------------------------------------- --=20 gentoo-dev@gentoo.org mailing list