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

[Question] How to build release JDK #516

Open
RaymondLam1 opened this issue Dec 6, 2024 · 1 comment
Open

[Question] How to build release JDK #516

RaymondLam1 opened this issue Dec 6, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@RaymondLam1
Copy link

Background

I use dragonwell8 latest version 8.432.06.1 (linux x64). It's OK. However, I try to build myself amazon-corretto-8.432.06.1-linux-x64.tar.gz by Github Actions, and I get j2sdk-image. I tried running the same code, I got error:

Error: dl failure on line 894
Error: failed /tmp/j2sdk-image/jre/lib/amd64/server/libjvm.so, because /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/j2sdk-image/jre/lib/amd64/server/libjvm.so)

Describe a solution you would like

How do you build your release version with github action? In particular, how to handle glibc compatibility?

Looking forward to your reply~

@RaymondLam1 RaymondLam1 added the enhancement New feature or request label Dec 6, 2024
@benty-amzn
Copy link
Contributor

You can check how corretto-8 is built through Actions for pre-submit testing on linux x64 here.

Can you provide more information about what steps led to the error above? It seems like your build image in Actions may be using a newer glibc than the target system where you received the failure. This can be resolved in a number of ways - building on a system with an older glibc, cross-compiling against your chosen version of glibc, updating the target system to a newer glibc, for example,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants