Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2014 20:55:47 +0200
From:      Rolf Nielsen <rmg1970swe@gmail.com>
To:        Warren Block <wblock@wonkity.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:  <539B4933.6050206@gmail.com>
In-Reply-To: <alpine.BSF.2.00.1406131118180.46469@wonkity.com>
References:  <539AC3A7.4040309@rawbw.com> <539B2041.7000202@gmail.com> <alpine.BSF.2.00.1406131118180.46469@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2014-06-13 19:20, Warren Block wrote:
> 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.

I don't remember where I found it. I've used it since I got my i7 960
back in 2011. Before I upgraded to 10, the build system just replaced
it with something that gcc understood, but now it's passed untouched
to clang.

Rolf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQIcBAEBAgAGBQJTm0kzAAoJEB1OKfQ0M8Tgw0sP/3JOF3gAngOFhMfh1ojXjTpr
+vchkaUkcHNa/mK6dYYhQ1KAcYJDPBiRA0FGCt5D8LF8ZcDOiLAFQ4PH9nNGcDDB
TiZ9oTIau+2fBQ/1/18ARtEP8/vH/vz92/A61qTyizp3AUsYbUvLmkp2zuh/kdU5
JG/okwnVW8XTsbmSh8VjWUMnjoIB8qFZskQnjd7Dy1YOCTJEjSDMOhDjIQ0AEQye
c00OJJGl2kNHIyrwHxdZKJzvYJQ0KS/wsV7Q4nz/KNsk9nNAGffLqUJZsJ1Txg3x
mMV/mfWecGNl7APn2yvfkZ5hFOk/9qwgR4wQ2WTMlB1pPde+3SOIbMDE/B/Uk4pD
QTPrQ7d6hWErU4tq68U3CiquIyQd445imrROOCGgVF8VEONzHMra4egDHHw577F3
s7MEoC4c+w+Y9kjnQ1OmnyK2kAPhoUir+Tw3dne00eseHx9IEf6ZRMCtZTVJO7gb
uqnGrtgn/rvZzXU59sQJfP8RtpnyWiiQS5hhbf1gutRkaX1ltqV1yXC0cBxWDdUw
9Wc96xM+uosasgSwwtv7BbHPUjGuERfPYp34Ho4MoTU2z4OBcvf80N6i+pTGxL5b
o3xPCf8Xr6A77bDjp28k953RLsDKVsJ2IZVZOdOxxy87Acc3lMj4F51Zhi6E7OiY
S+gz4yhVnPgbGoDLHSx9
=kx4F
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?539B4933.6050206>