intel i5 - core? or core2?

Anonymous swell.k at gmail.com
Sat Aug 21 01:04:59 UTC 2010


Atom Smasher <atom at 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"...?


More information about the freebsd-hackers mailing list