From owner-freebsd-toolchain@FreeBSD.ORG Tue Feb 1 17:10:18 2011 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63EDA10656A8 for ; Tue, 1 Feb 2011 17:10:18 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 22D9F8FC22 for ; Tue, 1 Feb 2011 17:10:17 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id p11H7F4N050453 for ; Tue, 1 Feb 2011 10:07:15 -0700 (MST) (envelope-from imp@bsdimp.com) Message-ID: <4D483DC3.9000506@bsdimp.com> Date: Tue, 01 Feb 2011 10:07:15 -0700 From: Warner Losh User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101211 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-toolchain@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [toolchain] ${CC} in share/mk/bsd.cpu.mk X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Feb 2011 17:10:18 -0000 On 02/01/2011 04:27, b. f. wrote: > Gerald Pfeifer wrote: >> On Sun, 30 Jan 2011, Alexander Best wrote: >>> i might have described things a bit too complicated. basically i want to >>> have CPUTYPE ?= core2 in my make.conf. clang is capable of producing >>> core2 specific code, however core2 always gets downgraded by >>> share/mk/bsd.cpu.mk to nocona in order not to confuse gcc. >>> >>> any chance of fixing this? >> I guess one of those extern compilers Robert has in mind should >> be lang/gcc46 from the Ports Collection which is perfectly happy >> to generate core2 code. I agree we need good infrastructure to >> support such cases. > > Related: > > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=conf/84800 > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=conf/112997 > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=conf/30399 > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=i386/122623 > > The longevity of some of these is remarkable. Wow! I think the fortran one takes the cake for ancientness :) When applying it, keep in mind that we do things a little differently... Maybe I'll take a look at it/them :) Warner