Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(platforms): Adds ppc64le and s390x archs for JDK21. #498

Merged
merged 2 commits into from
Sep 13, 2023

Conversation

gounthar
Copy link
Contributor

@gounthar gounthar commented Sep 13, 2023

After discussing with @ksalerno99 yesterday during the Platform SIG meeting, I considered that adding support for a few platforms for JDK21 would be beneficial.

I then propose to add "linux/ppc64le", "linux/armv/v7" and "linux/s390x" as new target platforms for our JDK21 preview images.

Testing done

docker buildx bake --file docker-bake.hcl debian_jdk21

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

@gounthar gounthar requested a review from a team as a code owner September 13, 2023 07:14
Comment on lines +29 to +30
# It is acceptable to have a larger image in arm/v7 (arm 32 bits) environment.
# Because jlink fails with the error "jmods: Value too large for defined data type" error.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you test and see if this is still needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I tested that this morning, and it's still the case.
Thanks.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, this error you were having with jlink is caused by running a 32-bit arm qemu emulator on a 64-bit host. When jlink tries to open a large (>2GB) file mmap fails.

https://bugs.launchpad.net/qemu/+bug/1805913

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you Kenneth. 🙏
It looks like this bug will never be fixed. 🤷

@timja timja merged commit b81e9e0 into jenkinsci:master Sep 13, 2023
@gounthar gounthar deleted the exotic-architectures branch September 13, 2023 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants