From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OYhwD-0005B7-96 for garchives@archives.gentoo.org; Tue, 13 Jul 2010 16:02:29 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8B4BDE0C3F for ; Tue, 13 Jul 2010 16:02:28 +0000 (UTC) Received: from mail-gw0-f53.google.com (mail-gw0-f53.google.com [74.125.83.53]) by pigeon.gentoo.org (Postfix) with ESMTP id DC398E0BAB for ; Tue, 13 Jul 2010 15:30:41 +0000 (UTC) Received: by gwb10 with SMTP id 10so3046187gwb.40 for ; Tue, 13 Jul 2010 08:30:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=PnAFPMyMVV6aaUi+grlm39pFxLYKGceY5+c8J9hEZm4=; b=hZ/Y7cP1eDLUxHv3rvUa4Y//zAPRrVOU6frcJdKf6fSFBmWRFk9DShn/C4bG6LjbtG XBv2y0kfug5rhc96hqRjHrP6tAoiBnw+Gt3N2oE2G5pb6SbgxQgnqXnagrap/pHNff5a 52Mnd8t3bFw1wokRA7kV7t82XR6oyU6JB0SYc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=TVuKjZIeoA55n3IgM4J+br8MtxM1rhvQNK34I7E1gBSXNTEiqg32jHTlynY0ZvDoaR xtXa8GsMlt/Xhw5tRMY7Q7HkxXcl2NWlmp5AzIGS7ofQTG69Ky5GOa1xGxpp/sJpyW8m 1cnMnOvvnh56rwFyx4SKoQoWWQC1+AZRR70YM= Received: by 10.224.122.11 with SMTP id j11mr1174581qar.247.1279035041369; Tue, 13 Jul 2010 08:30:41 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org MIME-Version: 1.0 Received: by 10.229.25.13 with HTTP; Tue, 13 Jul 2010 08:30:21 -0700 (PDT) In-Reply-To: <20100713145402.GA16977@thinkpadr51e.hsd1.or.comcast.net> References: <20100713145402.GA16977@thinkpadr51e.hsd1.or.comcast.net> From: Matt Turner Date: Tue, 13 Jul 2010 11:30:21 -0400 Message-ID: Subject: Re: [gentoo-catalyst] Re: How to enable/disable FEATURES in spec files? To: gentoo-catalyst@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 8bf32afb-de6b-4cfd-ab80-cd87d7cbb16e X-Archives-Hash: 909b6b5b079c8b2de06ec5bda84d5634 On Tue, Jul 13, 2010 at 10:54 AM, Tom Stellard wrote: > On Tue, Jul 13, 2010 at 09:30:43AM -0400, Matt Turner wrote: >> On Fri, Jul 9, 2010 at 8:54 PM, Matt Turner wrote: >> > I'm trying to build some new MIPS stages, and need to disable sandbox >> > from FEATURES due to bug 45814. >> > >> > I've searched google and the catalyst source but don't see any way to >> > disable an arbitrary FEATURE flag. I just hacked in a -sandbox and it >> > works, but I'd like to think there's a better way. >> > >> > Also, since there are no recent MIPS-N32 stages, I just tar.bz2'd my >> > installation and put it in the builds/ directory for use as the seed >> > stage. It uses -march=3Dsb1 in the make.conf, and the packages built b= y >> > `catalyst -f file.spec` seem to be using this CFLAG (as shown by the >> > file command, which reports that the binaries produced are MIPS64, >> > instead of MIPS IV, as I've requested), even though I've specified >> > CFLAGS in the spec file, and given it a proper subarch. Spec file is >> > as follows >> > >> > --- >> > subarch: mips4_n32 >> > version_stamp: 20100709 >> > target: stage3 >> > rel_type: default >> > profile: default/linux/mips/10.0/n32 >> > snapshot: 20100907 >> > source_subpath: stage4-mips4_n32-sb1-20100907 >> > cflags: -O2 -march=3Dmips4 -mabi=3Dn32 -mplt -pipe >> > cxxflags: -O2 -march=3Dmips4 -mabi=3Dn32 -mplt -pipe >> > ldflags: -Wl,--as-needed >> > >> > makeopts: -j2 >> > --- >> > >> > What gives? I'm looking at mips.py, and it looks like it should be >> > assigning CFLAGS given subarch =3D mips4_n32. >> > >> > Thanks, >> > Matt >> >> Ping? >> > > I think you can do this in your catalystrc file. =A0Try something like: > export FEATURES=3D"-sandbox" > > -Tom This works. Thanks Tom!