List Info

Thread: Re: Re: error configuring sys-devel/gcc-apple-4.0.1_p5363-r1




Re: Re: error configuring sys-devel/gcc-apple-4.0.1_p5363-r1
country flaguser name
Netherlands
2007-05-16 08:01:32
On 16-05-2007 21:35:27 +0900, MATSUI Fe2+ Tetsushi wrote:
> > Is there something like a rule that this nococo or
which one you
> > mentioned is always wrong, and the other should be
used?  I think we
> > inject either of the two in the profiles for the
moment, but maybe we
> > need a x86_64 profile as well then?
> 
> My information source about CPU types was:
>   http://
gentoo-wiki.com/HARDWARE_Apple_MacBook
> which tells that Core 2 Duo is nocona while Core Duo is
prescott.
> I'm not sure there could be an automagical way to set
proper CFLAGS.
> I guess a note on the bootstrapping guide may help new
comers.

Ok, well the problem at hand is the following:

from
profiles/default-prefix/darwin/macos/10.4/x86/make.defaults:

# set arch to prescott for all MacTel users, as this enables
SSE and MMX
# support in GCC
CFLAGS="-march=prescott"

That's just an incorrect default if you want to build x86_64
code, and
should be nocona for a successful build.  I remember this
was added to
the profile just because it was necessary to build certain
applications
correctly.

I'm not sure what is the best/correct action to take here.

Thanks for the information though!


-- 
Fabian Groffen
Gentoo on a different level
-- 
gentoo-altgentoo.org mailing list


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )