-
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
GraalVM-19 fails to build native-images for Clojure-1.10.0 #1266
Comments
After additional tests, it seems that the regression was introduced after |
Here as well running initializers at run time has revealed other issues. So the quick way out is to pass I am investigating what is the correct set of packages that need to be initialized at build time. |
It should be
We will have to investigate why this happens and make proper config for |
Hi,
Here is the cumulative list of packages:
|
I understand this issue, although it manifests itself with a different error it can be resolved with the same considerations of #1265. So I think we can close this one and follow up the investigations for the minimal set of |
For people finding this from Google (like me) for whom
In addition to using For the record, my code does use spec directly, but not spec.gen, which seems indicated as the problem in the error. |
@GradySimon I think you should open a separate issue for this. It is a compilation bug that needs to be fixed. Also, please provide a reproducer. |
GraalVM version:
Fails to build a native image for a simple main function with Clojure-1.10 with the following error:
This works fine with version: OpenJDK GraalVM CE 1.0.0-rc14 (build 25.202-b08-jvmci-0.56, mixed mode)
To reproduce the jars here all the steps:
https://github.com/BrunoBonacci/graalvm-clojure/tree/master/clojure
In attachment the standalone JAR:
simple-clojure-1.10.0-uberjar.tar.gz
The text was updated successfully, but these errors were encountered: