config-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Please support NetBSD/aarch64eb in config.guess


From: Rin Okuyama
Subject: Re: Please support NetBSD/aarch64eb in config.guess
Date: Wed, 21 Oct 2020 08:18:08 +0900
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.7.0

Hi Ben,

Thank you very much for your quick response!

On 2020/10/21 7:55, Ben Elliston wrote:
Hi Rin

On Tue, Oct 20, 2020 at 10:13:50PM +0000, Rin Okuyama wrote:

Recently, NetBSD added working kernel and userland for aarch64 in
big-endian mode, aarch64eb in our naming convention.

+           aarch64eb) machine=aarch64_be-unknown ;;

In no other GNU triplet is an underscore used before "be". There are
two digits preceding the "be", so it's quite readable without an
underscore. An underscore is also not used in your uname -p output. I
propose to instead make the change:

   +         aarch64eb) machine=aarch64be-unknown ;;

OK?

We chose aarch64_be, since Linux already uses it:

---
% cat -n config.guess
...
   922      aarch64_be:Linux:*:*)
   923          UNAME_MACHINE=aarch64_be
   924          echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
   925          exit ;;
...
---

You can see aarch64_be in gcc/config.gcc in GCC's master branch:

https://github.com/gcc-mirror/gcc/blob/master/gcc/config.gcc#L1096

Therefore, it will break at least GCC if underscore is removed.

Thanks,
rin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]