From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@bluestop.org header.s=mail header.b=D2buUwLu; spf=pass (domain: bluestop.org, ip: 65.103.231.193, mailfrom: rebecca@bluestop.org) Received: from muon.bluestop.org (muon.bluestop.org [65.103.231.193]) by groups.io with SMTP; Thu, 11 Apr 2019 12:38:57 -0700 Received: from muon.bluestop.org (localhost [127.0.0.1]) by muon.bluestop.org (Postfix) with ESMTP id DD4827922E; Thu, 11 Apr 2019 13:40:54 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bluestop.org; s=mail; t=1555011655; bh=EyPNymJEPugKFbd+Wd0yS2CMNY5eo9cPYjLuw7NuaA8=; h=Subject:To:References:From:Date:In-Reply-To:From; b=D2buUwLuLX+ZQkhLnE4iPDB4DB/DOTU0tSpPEJQdH9WKieza1FyGHcDsbGei8CPlr EgODbvObaDfyEL0Iu9kXKyLwOnbRaCPGl8QLl8rQ70/vTwPhvU5k9nUcajcpQyUDZI TjvU8HSQVCIMILYh6fQA3io3c/Y0l+xP/xrysxe0= Received: from muon.bluestop.org ([127.0.0.1]) by muon.bluestop.org (muon.bluestop.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id GNSuvL8VWXtJ; Thu, 11 Apr 2019 13:40:54 -0600 (MDT) Received: from photon.int.bluestop.org (unknown [65.103.231.197]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by muon.bluestop.org (Postfix) with ESMTPSA; Thu, 11 Apr 2019 13:40:54 -0600 (MDT) Subject: Re: [edk2-devel] [PATCH] BaseTools: support arm64 as a platform name in addition to aarch64 To: Laszlo Ersek , devel@edk2.groups.io, philmd@redhat.com, Liming Gao , Yonghong Zhu References: <20190411031653.38092-1-rebecca@bluestop.org> <19000479-83f6-49fb-7a68-e09b31cd0a0e@redhat.com> From: "Rebecca Cran" Message-ID: <9f91a70c-bb96-fdcc-1e08-09e3f3f2d511@bluestop.org> Date: Thu, 11 Apr 2019 13:38:55 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <19000479-83f6-49fb-7a68-e09b31cd0a0e@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2019-04-11 11:52, Laszlo Ersek wrote: > On 04/11/19 16:23, Philippe Mathieu-Daud=C3=A9 wrote: >> On 4/11/19 5:16 AM, Rebecca Cran via Groups.Io wrote: >>> Some systems such as FreeBSD identify the platform as 'arm64' >>> and not 'aarch64' as Linux does. >> Per https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220297 >> this seems to be a FreeBSD bug. > You are correct, but that issue was filed on 2017-06-26. I don't think > we should hold our breaths, as long as the workaround is simple. And, i= t > does look simple. (We've worked around worse.) > > I do suggest an addition to the patch, however: Rebecca, please add the > link discovered by Phil near the "arm64" matches, in a comment. > Something like: > > # work around Thanks, I'll do that. I don't think there's anything to fix, because=20 "uname -m" returns "arm64" and "uname -p" "aarch64". The EDK2 Makefiles=20 use "uname -m" which I don't think anybody has complained about, but=20 which return different values on Linux and FreeBSD. --=20 Rebecca Cran