Build of FreeBSD-10 fails on 9 with unknown target CPU
Warren Block
wblock at wonkity.com
Fri Jun 13 22:52:56 UTC 2014
On Fri, 13 Jun 2014, Rolf Nielsen wrote:
> On 2014-06-13 20:18, Yuri wrote:
>> On 06/13/2014 10:20, Warren Block wrote:
>>> I use
>>>
>>> CPUTYPE?=corei7
>>>
>>> and it works fine. Do you set some variables on the commandline
>>> as well, that might confuse the compiler? And by llvm build, do
>>> you mean when building llvm or do you mean that you use
>>> llvm/clang to perform the build?
>>
>>
>> For some reason, corei7 and core2 don't work for me as well.
>>
>> Additionally, /usr/share/examples/etc/make.conf doesn't even
>> mention corei7 as an option.
>>
>> Yuri
>
> As I stated in my previous reply, to Warren Block's question, I don't
> remember where I found it. However, on my 10.0-STABLE r265900 I found
> these lines in /usr/share/examples/etc/make.conf
>
> # Additionally the following CPU types are recognized by clang:
> # Intel x86 architecture (for both amd64 and i386):
> # (AMD CPUs) bdver3, bdver2, bdver1, btver2, btver1
> # (Intel CPUs) slm, core-avx2, core-avx-i, corei7-avx,
> corei7, atom
Whoops, I see that now, had not been scrolling down past the traditional
GCC settings. It appears that my i5-2500K could use corei7-avx.
More information about the freebsd-questions
mailing list