RFR: 8353009: Document target selection flag for Windows AArch64 builds

Saint Wesonga duke at openjdk.org
Mon Mar 31 14:43:14 UTC 2025


On Mon, 31 Mar 2025 14:27:19 GMT, Erik Joelsson <erikj at openjdk.org> wrote:

> > But is the problem that we just fails to detect the _build_ platform, and thus generates build tools for x64, instead of aarch64, which makes the build fail? (Also, why doesn't the rosetta-equivalent kick in in that case?)
> > Or do we also fail to set the proper target platform, so that building on windows/aarch64 will in effect be a cross compilation to x64?
> 
> If configure thinks it's running on a build platform of windows-x64, why would it try to compile for any other target than windows-x64 by default? I don't think the build fails, it just builds for the wrong platform, but as I said, I never tried this myself, this is second hand information.

Correct, the build does not fail. It just builds for windows-x64, which one would not expect on a Windows AArch64 machine.

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

PR Comment: https://git.openjdk.org/jdk/pull/24267#issuecomment-2766454002


More information about the build-dev mailing list