1 |
On Tue, Jul 13, 2010 at 10:54 AM, Tom Stellard <tstellar@×××××.com> wrote: |
2 |
> On Tue, Jul 13, 2010 at 09:30:43AM -0400, Matt Turner wrote: |
3 |
>> On Fri, Jul 9, 2010 at 8:54 PM, Matt Turner <mattst88@×××××.com> wrote: |
4 |
>> > I'm trying to build some new MIPS stages, and need to disable sandbox |
5 |
>> > from FEATURES due to bug 45814. |
6 |
>> > |
7 |
>> > I've searched google and the catalyst source but don't see any way to |
8 |
>> > disable an arbitrary FEATURE flag. I just hacked in a -sandbox and it |
9 |
>> > works, but I'd like to think there's a better way. |
10 |
>> > |
11 |
>> > Also, since there are no recent MIPS-N32 stages, I just tar.bz2'd my |
12 |
>> > installation and put it in the builds/ directory for use as the seed |
13 |
>> > stage. It uses -march=sb1 in the make.conf, and the packages built by |
14 |
>> > `catalyst -f file.spec` seem to be using this CFLAG (as shown by the |
15 |
>> > file command, which reports that the binaries produced are MIPS64, |
16 |
>> > instead of MIPS IV, as I've requested), even though I've specified |
17 |
>> > CFLAGS in the spec file, and given it a proper subarch. Spec file is |
18 |
>> > as follows |
19 |
>> > |
20 |
>> > --- |
21 |
>> > subarch: mips4_n32 |
22 |
>> > version_stamp: 20100709 |
23 |
>> > target: stage3 |
24 |
>> > rel_type: default |
25 |
>> > profile: default/linux/mips/10.0/n32 |
26 |
>> > snapshot: 20100907 |
27 |
>> > source_subpath: stage4-mips4_n32-sb1-20100907 |
28 |
>> > cflags: -O2 -march=mips4 -mabi=n32 -mplt -pipe |
29 |
>> > cxxflags: -O2 -march=mips4 -mabi=n32 -mplt -pipe |
30 |
>> > ldflags: -Wl,--as-needed |
31 |
>> > |
32 |
>> > makeopts: -j2 |
33 |
>> > --- |
34 |
>> > |
35 |
>> > What gives? I'm looking at mips.py, and it looks like it should be |
36 |
>> > assigning CFLAGS given subarch = mips4_n32. |
37 |
>> > |
38 |
>> > Thanks, |
39 |
>> > Matt |
40 |
>> |
41 |
>> Ping? |
42 |
>> |
43 |
> |
44 |
> I think you can do this in your catalystrc file. Try something like: |
45 |
> export FEATURES="-sandbox" |
46 |
> |
47 |
> -Tom |
48 |
|
49 |
This works. Thanks Tom! |