-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Native build failed after upgrade graalVM jdk 22 on linux but success on macOS #8862
Comments
Hi, can you please share which version was working before? was that version working on iOS and Linux too? Finally, the error is showing this message: did you try that? |
My laptop is macOS, it can build successfully. The build error happened on Linux, the version is latest graalvm here https://github.com/optimism-java/hildr/blob/jdk22/docker/Dockerfile#L3 . I have added all the classes in the trace, however still not works. |
Can you try to add this flag |
Got error when added this flag Yes, only build native image on ubuntu, macOS is OK. |
Describe the issue
After upgrade graalVM jdk 22, native build failed.
Steps to reproduce the issue
Please include both build steps as well as run steps
Describe GraalVM and your environment:
More details
Consider adding the
--native-image-info
and--verbose
flags when building your native image and paste output below.Add any other information about the problem here. Especially important are stack traces or log output. Feel free to link to gists or to screenshots if necessary.
The text was updated successfully, but these errors were encountered: