Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jun 2011 00:26:56 -0500
From:      Joshua Isom <jrisom@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Problems compiling 8-STABLE/amd64 system on Intel Core2 4300
Message-ID:  <4DFD88A0.6060600@gmail.com>
In-Reply-To: <20110619043839.b11b2559.freebsd@edvax.de>
References:  <20110619003230.07fe7f64.freebsd@edvax.de>	<BANLkTikiW2u=zzhoGw6G0t2AGboWPNoPdg@mail.gmail.com>	<20110619030510.f5e8f6b2.freebsd@edvax.de>	<BANLkTimTwbL70EhjmRBizZcQfU3yje20Ag@mail.gmail.com> <20110619043839.b11b2559.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DFD88A0.6060600>