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

Use bundled zlib on all versions, not just 21 #3459

Merged
merged 2 commits into from
Aug 22, 2023
Merged

Conversation

sxa
Copy link
Member

@sxa sxa commented Aug 17, 2023

Fixes #1951

@sxa sxa self-assigned this Aug 17, 2023
Copy link
Contributor

@steelhead31 steelhead31 left a comment

Choose a reason for hiding this comment

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

LGTM!

sbin/build.sh Outdated Show resolved Hide resolved
Co-authored-by: Tim Ellison <[email protected]>
@karianna karianna merged commit d867dbb into adoptium:master Aug 22, 2023
24 checks passed
AdamBrousseau added a commit to AdamBrousseau/openjdk-build that referenced this pull request Sep 6, 2023
@AdamBrousseau
Copy link
Contributor

@sxa could this be wrapped in an if temurin? I added it on my side because OpenJ9/Semeru does not want to bundle zlip currently.

@tellison
Copy link
Contributor

@AdamBrousseau sure. Please send a PR for that (although maybe a !OpenJ9 test rather than =Temurin to preserve the current behaviour for other users)

AdamBrousseau added a commit to AdamBrousseau/openjdk-build that referenced this pull request Sep 13, 2023
Related adoptium#3459 eclipse-openj9#18127

Signed-off-by: Adam Brousseau <[email protected]>
AdamBrousseau added a commit to AdamBrousseau/openjdk-build that referenced this pull request Sep 13, 2023
sxa pushed a commit that referenced this pull request Sep 27, 2023
chadlwilson added a commit to chadlwilson/gocd that referenced this pull request Aug 13, 2024
Previously system zlib was needed for the JVM, however Eclipse Temurin/Adoptium have
changed to use bundled zlib for all runtimes some time in 2023: adoptium/temurin-build#3459

Additionally the version here was built by ArchLinux with https://gitlab.archlinux.org/archlinux/devtools/-/merge_requests/188 which needs glibc 2.36.0+ and thus has broken this
zlib version whenever it is attempted to be used. (e.g if you try to use glibc AWS SDK layered
on top of this image, you will get a crash `/aws/dist/aws: /usr/glibc-compat/lib/libc.so.6: version 'GLIBC_ABI_DT_RELR' not found (required by /usr/glibc-compat/lib/libz.so.1)`)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OpenJDK binaries depend on system zlib
6 participants