RFR: 8365579: ml64.exe is not the right assembler for Windows aarch64

Saint Wesonga duke at openjdk.org
Fri Aug 15 00:06:28 UTC 2025


[ml64](https://learn.microsoft.com/en-us/cpp/assembler/masm/ml-and-ml64-command-line-reference?view=msvc-170) is set as the assembler for the Windows platform but is specific to the x64 platform. The [armasm64](https://learn.microsoft.com/en-us/cpp/assembler/arm/arm-assembler-command-line-reference?view=msvc-170) assembler should be used for Windows AArch64.

The -c and -Ta options are only valid for ml64 and -Ta can be removed from CompileFile.gmk (assembling for x64 works without it).

-------------

Commit messages:
 - Remove -Ta flag
 - Use armasm64.exe as the assembler for Windows aarch64

Changes: https://git.openjdk.org/jdk/pull/26791/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26791&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8365579
  Stats: 16 lines in 3 files changed: 9 ins; 0 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/26791.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26791/head:pull/26791

PR: https://git.openjdk.org/jdk/pull/26791


More information about the build-dev mailing list