From owner-freebsd-questions@FreeBSD.ORG Fri Jun 13 18:55:52 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CE684631 for ; Fri, 13 Jun 2014 18:55:52 +0000 (UTC) Received: from mail-lb0-x236.google.com (mail-lb0-x236.google.com [IPv6:2a00:1450:4010:c04::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 52F7C2AD1 for ; Fri, 13 Jun 2014 18:55:52 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id z11so1754863lbi.41 for ; Fri, 13 Jun 2014 11:55:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=eEi4ijTrmuNP3wjAxXatny55ekNIZXUlxyDvtO6N41w=; b=x2isn6E6z3QruLCE+erSAkN5cLHgeVHsbrhu6Onp1EikzIu6oDHajMJvNuIqsA/FdB zlD06fSZUmiJEUTR5kghZe4LFqt0FTgUasgEHs+UyWmGSn+OO+P+ge8hJQeEQ98m4+qO 7a++QYyc+tX12xN/ZD5zvOP8YJZ4hDnfL4jPZ2WGfoTBegHDHUJo28uKZXcjqvVrH8// TxTk6ipiHKRLIValxgCzWxrSe8qRnGLmHJoH9XJ67gTeV3i192Om6dwxwsLhQ5i1fYdF xDf3EZv33QO0FAkki7yqnOQ5x3+D5YYA4nwXQv6ulYCKMYPoR08ZvKifxn6Vo7VQVGof exVg== X-Received: by 10.152.198.129 with SMTP id jc1mr2541964lac.63.1402685748896; Fri, 13 Jun 2014 11:55:48 -0700 (PDT) Received: from lazlar.no-ip.biz (109.58.145.172.bredband.tre.se. [109.58.145.172]) by mx.google.com with ESMTPSA id l8sm2123403lbh.26.2014.06.13.11.55.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Jun 2014 11:55:48 -0700 (PDT) Message-ID: <539B4933.6050206@gmail.com> Date: Fri, 13 Jun 2014 20:55:47 +0200 From: Rolf Nielsen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Warren Block Subject: Re: Build of FreeBSD-10 fails on 9 with unknown target CPU References: <539AC3A7.4040309@rawbw.com> <539B2041.7000202@gmail.com> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Yuri , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2014 18:55:53 -0000 -----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-----