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

Termurin OpenJDK 20 and 21 require GLIBC_2.14 #918

Closed
rainerjung opened this issue Oct 13, 2023 · 2 comments
Closed

Termurin OpenJDK 20 and 21 require GLIBC_2.14 #918

rainerjung opened this issue Oct 13, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@rainerjung
Copy link

Please provide a brief summary of the bug

Termurin OpenJDK 20 and 21 require GLIBC_2.14. This requirement did not exist until OpenJDK 19. It also does not exists for OpenJDK 20 and 21 builds from other vendors (Oracle, RedHat, Zulu, Amazon, OpenJDK Upstream).

Due to this requirement, Termurin 21 can not be used on the old Linux distributions SLES 11 and RHEL 6.

If this is intended, it should be documented in the release notes.

Please provide steps to reproduce where possible

/path/to/termurin21/bin/java -version

Expected Results

openjdk version "21" 2023-09-19 LTS
OpenJDK Runtime Environment Temurin-21+35 (build 21+35-LTS)
OpenJDK 64-Bit Server VM Temurin-21+35 (build 21+35-LTS, mixed mode, sharing)

Actual Results

/lib64/libc.so.6: version `GLIBC_2.14' not found (required by /path/to/termurin21/bin/../lib/libjli.so)

What Java Version are you using?

openjdk version "21" 2023-09-19 LTS OpenJDK Runtime Environment Temurin-21+35 (build 21+35-LTS) OpenJDK 64-Bit Server VM Temurin-21+35 (build 21+35-LTS, mixed mode, sharing)

What is your operating system and platform?

SuSE Linux Enterprise SLES 11
and
RedHat Enterprise Linux RHEL 6

How did you install Java?

Download and unpack tarball.

Did it work before?

Never for JDK 20 and 21 on these platforms.

Did you test with the latest update version?

yes.

Did you test with other Java versions?

Yes, works until JDK 19 and also with JDK 20+21 from (all) other vendors.

Relevant log output

/lib64/libc.so.6: version `GLIBC_2.14' not found (required by /path/to/termurin21/bin/../lib/libjli.so)
@rainerjung rainerjung added the bug Something isn't working label Oct 13, 2023
@rainerjung
Copy link
Author

The symbol that needs the higher library version is "memcpy@GLIBC_2.14". This seems to be a widely known problem. For reference see e.g. https://www.win.tue.nl/~aeb/linux/misc/gcc-semibug.html

@karianna
Copy link
Contributor

Please see https://adoptium.net/en-GB/supported-platforms/ with the minimum support glibc details at the footer of the table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants