Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Re: error configuring sys-devel/gcc-apple-4.0.1_p5363-r1
Date: Wed, 16 May 2007 13:01:52
Message-Id: 20070516130132.GI28129@gentoo.org
In Reply to: Re: [gentoo-alt] Re: error configuring sys-devel/gcc-apple-4.0.1_p5363-r1 by MATSUI Fe2+ Tetsushi
1 On 16-05-2007 21:35:27 +0900, MATSUI Fe2+ Tetsushi wrote:
2 > > Is there something like a rule that this nococo or which one you
3 > > mentioned is always wrong, and the other should be used? I think we
4 > > inject either of the two in the profiles for the moment, but maybe we
5 > > need a x86_64 profile as well then?
6 >
7 > My information source about CPU types was:
8 > http://gentoo-wiki.com/HARDWARE_Apple_MacBook
9 > which tells that Core 2 Duo is nocona while Core Duo is prescott.
10 > I'm not sure there could be an automagical way to set proper CFLAGS.
11 > I guess a note on the bootstrapping guide may help new comers.
12
13 Ok, well the problem at hand is the following:
14
15 from profiles/default-prefix/darwin/macos/10.4/x86/make.defaults:
16 # set arch to prescott for all MacTel users, as this enables SSE and MMX
17 # support in GCC
18 CFLAGS="-march=prescott"
19
20 That's just an incorrect default if you want to build x86_64 code, and
21 should be nocona for a successful build. I remember this was added to
22 the profile just because it was necessary to build certain applications
23 correctly.
24
25 I'm not sure what is the best/correct action to take here.
26
27 Thanks for the information though!
28
29
30 --
31 Fabian Groffen
32 Gentoo on a different level
33 --
34 gentoo-alt@g.o mailing list