jdk11u-dev icon indicating copy to clipboard operation
jdk11u-dev copied to clipboard

8329348: jdk11u build for Windows AArch64 fails

Open swesonga opened this issue 10 months ago • 12 comments

The root cause of the build error 'No rule to make target .../windows/conf/tzmappings' when building jdk11u for Windows AArch64 is that the GENSRC_TARGETS have not been built. This happens because the buildjdk is x86 but the target jdk is aarch64. Reusing artifacts is not correct in this scenario. The fix is to ensure that the required targets are built unconditionally for Windows AArch64.

Note that the existing checks for CREATING_BUILDJDK were also found to be incorrect in https://bugs.openjdk.org/browse/JDK-8217739

Builds on macOS, Linux, and Windows across both x64/AArch64 succeeded with this fix.


Progress

  • [ ] Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • [x] Change must not contain extraneous whitespace
  • [x] Commit message must refer to an issue
  • [ ] JDK-8329348 needs maintainer approval

Issue

  • JDK-8329348: jdk11u build for Windows AArch64 fails (Bug - P1)

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev.git pull/2668/head:pull/2668
$ git checkout pull/2668

Update a local copy of the PR:
$ git checkout pull/2668
$ git pull https://git.openjdk.org/jdk11u-dev.git pull/2668/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 2668

View PR using the GUI difftool:
$ git pr show -t 2668

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/2668.diff

Webrev

Link to Webrev Comment

swesonga avatar Apr 16 '24 22:04 swesonga

:wave: Welcome back swesonga! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

bridgekeeper[bot] avatar Apr 16 '24 22:04 bridgekeeper[bot]

❗ This change is not yet ready to be integrated. See the Progress checklist in the description for automated requirements.

openjdk[bot] avatar Apr 16 '24 22:04 openjdk[bot]

Webrevs

mlbridge[bot] avatar Apr 16 '24 22:04 mlbridge[bot]

@swesonga This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

bridgekeeper[bot] avatar May 15 '24 00:05 bridgekeeper[bot]

@swesonga This pull request has been inactive for more than 8 weeks and will now be automatically closed. If you would like to continue working on this pull request in the future, feel free to reopen it! This can be done using the /open pull request command.

bridgekeeper[bot] avatar Jun 12 '24 00:06 bridgekeeper[bot]

/open

swesonga avatar Jun 12 '24 05:06 swesonga

@swesonga This pull request is now open

openjdk[bot] avatar Jun 12 '24 05:06 openjdk[bot]

Hi @MBaesken, I am searching for a reviewer for this PR and I noticed that you reviewed one of the recent changes to this file. Would you be able to review this change or to suggest other possible reviewers?

swesonga avatar Jul 03 '24 17:07 swesonga

lines 114-116 please check the indentation I think this has to be adjusted by one space. I am wondering how it works/worked for other cross builds then windows cross, the problem you describe sounds like it should be seen for cross builds on other platforms too?

MBaesken avatar Jul 04 '24 07:07 MBaesken

I do not see Windows aarch in the list of supported builds for jdk11 https://wiki.openjdk.org/display/Build/Supported+Build+Platforms so is this really worth the effort for such an old release ?

MBaesken avatar Jul 04 '24 07:07 MBaesken

I do not see Windows aarch in the list of supported builds for jdk11 https://wiki.openjdk.org/display/Build/Supported+Build+Platforms so is this really worth the effort for such an old release ?

Windows AArch64 is a supported platform for jdk11u. Microsoft backported this support in https://github.com/openjdk/jdk11u-dev/pull/301 We are looking into updating the supported build platforms page to reflect this.

swesonga avatar Jul 16 '24 18:07 swesonga

lines 114-116 please check the indentation I think this has to be adjusted by one space. I am wondering how it works/worked for other cross builds then windows cross, the problem you describe sounds like it should be seen for cross builds on other platforms too?

Let me investigate cross builds on other platforms to verify the build behavior.

swesonga avatar Jul 16 '24 21:07 swesonga

@swesonga This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

bridgekeeper[bot] avatar Aug 14 '24 01:08 bridgekeeper[bot]

@swesonga This pull request has been inactive for more than 8 weeks and will now be automatically closed. If you would like to continue working on this pull request in the future, feel free to reopen it! This can be done using the /open pull request command.

bridgekeeper[bot] avatar Sep 11 '24 05:09 bridgekeeper[bot]