From owner-freebsd-arm@FreeBSD.ORG Mon Feb 16 17:40:36 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3AE04443 for ; Mon, 16 Feb 2015 17:40:36 +0000 (UTC) Received: from mail-ig0-x22f.google.com (mail-ig0-x22f.google.com [IPv6:2607:f8b0:4001:c05::22f]) (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 F0AA384A for ; Mon, 16 Feb 2015 17:40:35 +0000 (UTC) Received: by mail-ig0-f175.google.com with SMTP id hn18so24845169igb.2 for ; Mon, 16 Feb 2015 09:40:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=SrlOU45SE660dWYyKco+KD86EEvOuNWOnn5lrUcdnRQ=; b=h9GO0lGQYnIXMLaiZ7td3h2ctx8cgA1QVmCWtBXPVN0/ulIw3jqH0VoJoL21iNoAm4 yC5YyZ7yUZYt5nckZMYgCyEapnQHlgZPsYydQMLHQnCWYzV1R+WI/tsLJODSTN99hfvm 8omFZmB5n33gO/oDg2h1gjjlfidmWLESufnYnmHDWhVsfnzoDZzKP056eYoFwa2Vc42K 9xCBF9AoG+YKDO7i0iyo+NKfYZVE2gf7N5c+dpFO3YeiRdbGMkfYZaJgGFL7Ku4vFe67 UNXW5dYfCCI4AwJ1tmScKPQgXVhmTVnUFWnZN5HrA78ZXu40gh33sr1aSe6NBOy89JxB 9dFA== X-Received: by 10.42.77.9 with SMTP id g9mr30901434ick.78.1424108048563; Mon, 16 Feb 2015 09:34:08 -0800 (PST) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.158.19 with HTTP; Mon, 16 Feb 2015 09:33:48 -0800 (PST) In-Reply-To: <228428CC-4042-4902-90A4-E7040F4BFFF5@bsdimp.com> References: <607BF592-A09B-4DB4-9872-C9E63066AB57@bsdimp.com> <71E9C1B9-F819-420B-90A5-A36D58E71817@bsdimp.com> <228428CC-4042-4902-90A4-E7040F4BFFF5@bsdimp.com> From: Ed Maste Date: Mon, 16 Feb 2015 12:33:48 -0500 X-Google-Sender-Auth: V1ZgXEN21OCxRHmcPr6tKuEHJA0 Message-ID: Subject: Re: FreeBSD/arm64 MACHINE/MACHINE_ARCH identification To: Warner Losh Content-Type: text/plain; charset=UTF-8 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: Mon, 16 Feb 2015 17:40:36 -0000 On 12 February 2015 at 11:29, Warner Losh wrote: > > Traditionally in Linux, they have been a matched set. It looks like it's not so straightforward in the GNU/Linux world either. Excerpts from Debian's cputable file: # amd64 x86_64 x86_64 64 little arm64 aarch64 aarch64 64 little Debian and .deb derivatives use arm64 for the 64-bit ARM port name, and I'm told Fedora and .rpm derivatives use aarch64. But in all cases the CPU architecture reported by uname is aarch64. Debian uses "amd64" for the 64-bit x86 port name, like us, but uname reports x86_64.