Build of FreeBSD-10 fails on 9 with unknown target CPU
rmg1970swe at gmail.com
Fri Jun 13 18:55:53 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
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
>> 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)
-----END PGP SIGNATURE-----
More information about the freebsd-questions