From owner-freebsd-questions@FreeBSD.ORG Fri Jun 13 22:52:56 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9042D758 for ; Fri, 13 Jun 2014 22:52:56 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3CD502EEC for ; Fri, 13 Jun 2014 22:52:56 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id s5DMqrdw032353 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 13 Jun 2014 16:52:53 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id s5DMqrEM032350; Fri, 13 Jun 2014 16:52:53 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 13 Jun 2014 16:52:53 -0600 (MDT) From: Warren Block To: Rolf Nielsen Subject: Re: Build of FreeBSD-10 fails on 9 with unknown target CPU In-Reply-To: <539B4B04.904@gmail.com> Message-ID: References: <539AC3A7.4040309@rawbw.com> <539B2041.7000202@gmail.com> <539B4064.1010108@rawbw.com> <539B4B04.904@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 13 Jun 2014 16:52:53 -0600 (MDT) 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 22:52:56 -0000 On Fri, 13 Jun 2014, Rolf Nielsen wrote: > On 2014-06-13 20:18, Yuri wrote: >> On 06/13/2014 10:20, Warren Block wrote: >>> 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? >> >> >> For some reason, corei7 and core2 don't work for me as well. >> >> Additionally, /usr/share/examples/etc/make.conf doesn't even >> mention corei7 as an option. >> >> Yuri > > As I stated in my previous reply, to Warren Block's question, I don't > remember where I found it. However, on my 10.0-STABLE r265900 I found > these lines in /usr/share/examples/etc/make.conf > > # Additionally the following CPU types are recognized by clang: > # Intel x86 architecture (for both amd64 and i386): > # (AMD CPUs) bdver3, bdver2, bdver1, btver2, btver1 > # (Intel CPUs) slm, core-avx2, core-avx-i, corei7-avx, > corei7, atom Whoops, I see that now, had not been scrolling down past the traditional GCC settings. It appears that my i5-2500K could use corei7-avx.