Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 2010 05:04:42 +0400
From:      Anonymous <swell.k@gmail.com>
To:        Atom Smasher <atom@smasher.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: intel i5 - core? or core2?
Message-ID:  <8639u822tx.fsf@gmail.com>
In-Reply-To: <1008211213030.2000@smasher> (Atom Smasher's message of "Sat, 21 Aug 2010 12:19:24 %2B1200 (NZST)")
References:  <1008211213030.2000@smasher>

next in thread | previous in thread | raw e-mail | index | archive | help
Atom Smasher <atom@smasher.org> writes:

> hardware:
>   MACH:  x86_64 (LENOVO, 4313CTO, ThinkPad T510)
>   CPU:   x86_64 (Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz)
>
> FreeBSD 8.1-RELEASE #0 (amd64)
>
> in "/etc/make.conf" i tried setting "CPUTYPE=core" but as soon as i
> start building things, lang/perl5.10 fails, complaining about "core"
> not being right.
>
> when i change the setting to "CPUTYPE=core2" it builds fine.

I'd suggest using CPUTYPE?=native and let the compiler decide what's best.
Our pretty old gcc in base supports neither `core' nor `core2'.

The `core2' is just an alias for `nocona'/`prescott' for amd64/i386.
And `core' alias is available only for i386, cf. bsd.cpu.mk.

>
> is something wrong? i thought the i5 was "core", not "core2"...?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8639u822tx.fsf>