Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2014 11:20:15 -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.1406131118180.46469@wonkity.com>
In-Reply-To: <539B2041.7000202@gmail.com>
References:  <539AC3A7.4040309@rawbw.com> <539B2041.7000202@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 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.



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