Problems compiling 8-STABLE/amd64 system on Intel Core2 4300

Joshua Isom jrisom at gmail.com
Sun Jun 19 05:27:32 UTC 2011


On 6/18/2011 9:38 PM, Polytropon wrote:
> On Sat, 18 Jun 2011 20:52:06 -0500, Adam Vande More wrote:
>> On Sat, Jun 18, 2011 at 8:05 PM, Polytropon<freebsd at edvax.de>  wrote:
>>
>>> Seems that neither "core" and "core2" are fully supported. Which
>>> CPUTYPE should be used for Intel Core2 4300 then, or can it be
>>> omitted without problems?
>>>
>>
>> I've used core successfully for years.  Did you clean any potential
>> conflicts?
>
> I'm sure I did. I have a minimal /etc/make.conf and I also
> remove /usr/obj (and "make clean") before any new attempt.
>
>
>
>> What happens if you just comment out CPUTYPE for this run after
>> the clean out?
>
> I'm currently trying that, the build is still running. The
> system as been initially installed as 8.1 from CD #1, then
> upgraded to 8.2-PRERELEASE as of January 1st (from source),
> and that's the system that's currently performing the build
> process.
>
> After I have (hopefully) successfully installed latest 8-STABLE,
> I'll see if CPUTYPE=core or CPUTYPE=core2 will then work.
>
> Are there alternative CPUTYPEs for the CPU in question?
>
>

Just use native.  I build ports with -march=native and -mtune=native.  I 
leave the base alone because I don't know if I'll ever need to downgrade 
from my athlon II(k10) to my sempron(k8) and recompile all my ports.

Of course that should only matter if clang supports sse4 and I build 
with clang.


More information about the freebsd-questions mailing list