Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2014 16:52:53 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Rolf Nielsen <rmg1970swe@gmail.com>
Cc:        Yuri <yuri@rawbw.com>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Build of FreeBSD-10 fails on 9 with unknown target CPU
Message-ID:  <alpine.BSF.2.00.1406131649010.31912@wonkity.com>
In-Reply-To: <539B4B04.904@gmail.com>
References:  <539AC3A7.4040309@rawbw.com> <539B2041.7000202@gmail.com> <alpine.BSF.2.00.1406131118180.46469@wonkity.com> <539B4064.1010108@rawbw.com> <539B4B04.904@gmail.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1406131649010.31912>