JDK-8253947: JEP 388 Windows/AArch64 backport to jdk11u

Bernhard Urban-Forster beurba at microsoft.com
Tue May 4 08:59:55 UTC 2021


Build deps are listed in the following link. Also you'll require to build a devkit and use that, and a build system hack for "fixpath.exe" is needed:
https://github.com/microsoft/openjdk-aarch64/blob/2f8fc04a24086f2b9bd46405061e8a7b3e307c62/README.md#building-from-githubcomopenjdkjdkgit

Configure line looks something like this:

BOOTJDK="/cygdrive/c/work/bootjdk-x64/jdk-11.0.10+9/"
DEVKIT="/cygdrive/c/work/VS2019-16.6.1-devkit"

$ bash configure \
  --openjdk-target=aarch64-unknown-cygwin \
  --with-devkit="$DEVKIT" \
  --with-build-devkit="$DEVKIT" \
  --with-build-jdk=$BOOTJDK \
  --with-boot-jdk=$BOOTJDK


FWIW, tip is much easier because the situation was improved significantly with the WINENV patch by Magnus:
https://github.com/microsoft/openjdk-aarch64/#building-from-githubcomopenjdkjdkgit

________________________________________
From: Andrew Haley <aph at redhat.com>
Sent: Tuesday, May 4, 2021 10:15
To: Bernhard Urban-Forster; Vladimir Kempik
Cc: Anton Kozlov; aarch64-port-dev at openjdk.java.net; Monica Beckwith; jdk-updates-dev at openjdk.java.net; Magnus Ihse Bursie; openjdk-aarch64
Subject: Re: JDK-8253947: JEP 388 Windows/AArch64 backport to jdk11u

On 5/3/21 11:15 AM, Bernhard Urban-Forster wrote:
> Yes, Windows 10 Arm64 works very well via virtualization on the M1. Even faster than on a Surface Pro X. However, keep in mind that you'll still need a Windows x86_64 machine for cross compiling OpenJDK.

Is there a documentation page with "How to build this stuff" somewhere?

--
Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.redhat.com%2F&data=04%7C01%7Cbeurba%40microsoft.com%7C7f8df6fc49724b7aefcf08d90ed4bfd0%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637557129182484016%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=lvdLhi8j9P03yxRJSGNGZudz8UpfXDe040ytQqVGByE%3D&reserved=0>
https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fkeybase.io%2Fandrewhaley&data=04%7C01%7Cbeurba%40microsoft.com%7C7f8df6fc49724b7aefcf08d90ed4bfd0%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637557129182484016%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=hO%2F7Y8t%2FsJzdDykMjiYSIOCt5GUpqVAhTGuMM3Vpl1c%3D&reserved=0
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



More information about the jdk-updates-dev mailing list