-
Notifications
You must be signed in to change notification settings - Fork 77
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
Cannot build native executable with Epsilon GC (graalvmce-s2i, 22.3.0) #216
Comments
@turbolocust can you please provide more info? Is this reproducible with a simple HelloWorld? Thanks |
Something's probably not right with the builder image itself. I've been able to replicate it with (full console log here):
|
Hmm, the issue is not specific to the container image. It also happens when building native executable (at least Quakus) bare metal:
Once I figured the exact circumstances I'll close this and open a new issue in either quarkus or oracle/graal, depending who's the culprit. |
@turbolocust Can you try with the latest Quarkus 2.14.0? I cannot reproduce the issue any more with that version. I was able to reproduce it with 2.13.3. |
I can confirm that the issue is gone with 2.14.0.Final. |
Now I am curious... (but I also have a hint to why I might have not been able to reproduce :) ) |
So let's close this issue @turbolocust @cescoffier? |
Please leave this open as it affects 2.13. The issue is actually caused because 2.13 unconditionally passes In 2.13 it is "fixed" by quarkusio/quarkus#28295. |
On second thought, I am moving this to the Quarkus repository: quarkusio/quarkus#29275 @cescoffier @turbolocust feel free to close this. |
@zakkak Thank you for the update. I'll close the issue. |
Nice dig @zakkak. Quarkus had been using space/time for quite a while. Strange that we've only discovered this now. I had not tried epsilon GC previously but I know others that had done and had no issues. So maybe there's an extra rationale why this has popped up now. |
Yes, the check that causes the crash (see oracle/graal#5432) is pretty recent (see oracle/graal@5c4daf5#diff-e651863ba7c44a01ff26ffb9cf23c04c08d9f68f21a6c3bcc0d5e026fa74a77d) |
An exception is thrown and the build aborts, when building a native executable using the latest version of the ubi-quarkus-graalvmce-s2i image for the amd64 architecture, which currently is 22.3.0. Using version 22.2.0 of the image, the build succeeds.
The exact error message is:
Error: ImageSingletons do not contain key com.oracle.svm.core.heap.Heap
I specify the following parameter when building the executable via Gradle:
-Dquarkus.native.additional-build-args="--gc=epsilon"
And here is the stack trace:
The text was updated successfully, but these errors were encountered: