From owner-freebsd-arm@FreeBSD.ORG Wed Feb 11 19:27:32 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4791D10C; Wed, 11 Feb 2015 19:27:32 +0000 (UTC) Received: from mail-ie0-f172.google.com (mail-ie0-f172.google.com [209.85.223.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 15544E4A; Wed, 11 Feb 2015 19:27:31 +0000 (UTC) Received: by iecrp18 with SMTP id rp18so6486777iec.7; Wed, 11 Feb 2015 11:27:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=dpz9Um3vgtICbponTE/wXD8YXKd0rQNQ0GCZQv5RhdA=; b=Ueot0CPH4438dJXPvxRYHAhTaKZSQNGCIOdKUP5BAs/wSR4kQSY/tmJjfi1ZaDrTDc ngkON+P9FPbzqgIEFAbMeL9OBMONhZ/LixW2x5h2rkPfwHXIoWx1jaqZ75H7oFv2RAl+ EXz9hJKXTCEEhJ/TBM93HROaU27rwlnpPC9QIA6EG1KR6n5BHaEpf0o4A+MDjTY9FaGm UoniQiEkp7oxeVXO9Vj8allniSrMgrTZ/LcYG9w9FLhF89lHvVx0uiew9nhnzBonvnwl T439+xsP1HRie/t90T78mDu68yDlCLweXwDAbuZq+Wu3aKi2sGhfZjfv4e27t8r0Xfgr JzxA== MIME-Version: 1.0 X-Received: by 10.107.31.16 with SMTP id f16mr222415iof.88.1423682844765; Wed, 11 Feb 2015 11:27:24 -0800 (PST) Received: by 10.107.28.148 with HTTP; Wed, 11 Feb 2015 11:27:24 -0800 (PST) In-Reply-To: <54DB9D93.6070702@freebsd.org> References: <54DB9D93.6070702@freebsd.org> Date: Wed, 11 Feb 2015 11:27:24 -0800 Message-ID: Subject: Re: FreeBSD/arm64 MACHINE/MACHINE_ARCH identification From: Michael Mitchell To: Nathan Whitehorn Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2015 19:27:32 -0000 why swim upstream on a naming convention that is established? when you say arm64 how many people are going to read that as amd64? other than cosmetic, is there a technical rationale for picking a different naming convention other than what the industry uses? On Wed, Feb 11, 2015 at 10:21 AM, Nathan Whitehorn wrote: > > On 02/11/15 09:41, Ed Maste wrote: > >> The FreeBSD/arm64 work in progress currently reports "arm64" for the >> machine and processor type - i.e., uname -m and uname -p. >> > > It would probably also be good if we had MACHINE = arm here. > -Nathan > > > It seems that the official, awkward name aarch64 is broadly used >> elsewhere - for example, in toolchain triples and autoconf tests. To >> save us grief in the future I think it is worth following suit: >> >> diff --git a/sys/arm64/include/param.h b/sys/arm64/include/param.h >> index 5cd0445..525a0e7 100644 >> --- a/sys/arm64/include/param.h >> +++ b/sys/arm64/include/param.h >> @@ -43,10 +43,10 @@ >> #define STACKALIGN(p) ((uint64_t)(p) & ~STACKALIGNBYTES) >> >> #ifndef MACHINE >> -#define MACHINE "arm64" >> +#define MACHINE "aarch64" >> #endif >> #ifndef MACHINE_ARCH >> -#define MACHINE_ARCH "arm64" >> +#define MACHINE_ARCH "aarch64" >> #endif >> >> I'm not proposing that we rename any of the source files. I believe >> this approach is consistent with the Debian project - they call it the >> "arm64" port, but report aarch64 from uname. >> >> I believe it will be much easier for us to carry around any >> special-case s/aarch64/arm64/ in the base system (if necessary) than >> trying to teach third-party software that the FreeBSD 64-bit ARM >> architecture is called arm64 instead of aarch64. >> >> Any objections or concerns? >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >> >> > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >