Build of FreeBSD-10 fails on 9 with unknown target CPU

Warren Block wblock at
Fri Jun 13 17:20:18 UTC 2014

On Fri, 13 Jun 2014, Rolf Nielsen wrote:

> On 2014-06-13 11:25, Yuri wrote:
>> 'make buildworld' fails in llvm build with the message: error:
>> unknown target CPU 'amd64' /etc/make.conf has the line:
>> CPUTYPE?=core And CPU is: Intel(R) Core(TM) i7 CPU         920  @
>> 2.67GHz
>> /usr/src/UPDATING only says that CPUTYPE should be set with ?=, but
>> the build fails with and without CPUTYPE.
>> What causes the build to fail?
> 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?

How did you find that?  /usr/share/examples/etc/make.conf does not list 
it.  "corei5" does not work here, but "corei7" does.

More information about the freebsd-questions mailing list