[aarch64-port-dev ] Review Request JDK-8175819: OS name and arch in JMOD files should match the values as in the bundle name
aph at redhat.com
Tue Apr 4 15:22:50 UTC 2017
On 04/04/17 16:12, mark.reinhold at oracle.com wrote:
> The trouble here is that "arm64" and "aarch64" are effectively synonyms
> for the ISA, but in the JDK we've wound up using them as the names of
> two different ports.
> A JMOD file built for the 64-bit ARM architecture will (one hopes) run
> equally well on either port. Which name should we use in JMOD files,
> "arm64" or "aarch64"? My sense is that "arm64" is more immediately
> understood by developers at large even if "aarch64" is more correct
> in the eyes of ARM Holdings plc, but I could be wrong.
I think that you are wrong.
> For what it's worth, the Linux distros aren't consistent: Debian-based
> distros use "arm64", while Red Hat / Fedora seem to prefer "aarch64".
The name of the processor architecture is "AArch64". The name of the
Linux kernel architecture is "arm64"; the name of all of userspace is
"aarch64", on all distros. The kernel is out of step here, for no
better reason than Linus Torvalds didn't like "aarch64".
More information about the jigsaw-dev