From owner-svn-src-all@FreeBSD.ORG Mon May 23 14:32:21 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80D36106566B; Mon, 23 May 2011 14:32:21 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 56EED8FC0C; Mon, 23 May 2011 14:32:21 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id E4E0F46CDB; Mon, 23 May 2011 10:32:20 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 878D18A04F; Mon, 23 May 2011 10:32:20 -0400 (EDT) From: John Baldwin To: "Bjoern A. Zeeb" Date: Mon, 23 May 2011 09:56:56 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110325; KDE/4.5.5; amd64; ; ) References: <201105221632.p4MGWjUb081825@svn.freebsd.org> <22621AEF-6EF3-4E07-8CBD-57D5037A7DEA@bsdimp.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201105230956.56703.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Mon, 23 May 2011 10:32:20 -0400 (EDT) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Warner Losh Subject: Re: svn commit: r222183 - head/lib/clang X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2011 14:32:21 -0000 On Monday, May 23, 2011 8:05:12 am Bjoern A. Zeeb wrote: > On May 22, 2011, at 10:01 PM, Warner Losh wrote: > > > > > On May 22, 2011, at 3:30 PM, Mark Linimon wrote: > > > >> On Sun, May 22, 2011 at 10:22:56PM +0200, Roman Divacky wrote: > >>> The problem here is deeper in my opinion. What FreeBSD calls > >>> amd64 the rest of the world (ie. linux) calls x86_64, I think > >>> that instead of this we should teach llvm/clang about "amd64". > >>> Maybe as a FreeBSD-only diff. > >> > >> If we move away from "amd64", we are going to need a _substantial_ amount > >> of work on ports. > > > > Yea. That's why I think, although I'd like to move away from it, we're stuck with amd64 for both MACHINE and MACHINE_ARCH for quite some time. In that case, we'll just have to configure clang the same way we configure gcc with the x86_64 monicker. > > Is there an authoritative source for these names? I am not quite sure > what led to the confusion in first place but I guess it's the "oh Intel > is doing EMT64 let's not call this amd" kind of thing. > > I seem to remember that apart from the linux kernel and OSX most others > incl. windows, java and sun used to call it amd64 as well when it came to > technical things. So I am not exactly sure why this regularly comes up > but I'd assume it's because of "what linux calls it must be right"? > > I admit that it's confusing to got to x86-64.org and see it called the > amd64 architecture. I am sure Peter and David know a lot more about this. > > Despite remembering Dragonfly having done the change I cannot see FreeBSD > doing the same in a short timeframe, and yet I have no idea why we wanted to? AMD changed the name. It used to be 'amd64' and we used that name as result. Later they changed it to x86-64, possibly because Linux and the GNU folks had adopted that instead of 'amd64'. Renaming it now would be a PITA. -- John Baldwin