-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Fatal error: com.oracle.svm.core.util.VMError$HostedError: com.oracle.svm.core.util.VMError$HostedError: ... has no code address offset set #1613
Comments
This problem is solved when I include the source files of the sci library in the babashka project and then AOT them over there. But I'm still not sure why it worked flawlessly for linux and not for CircleCI+Mac. |
Running into this problem again with another project: https://app.circleci.com/pipelines/github/borkdude/clj-kondo/3169/workflows/f3ad112c-6b45-4a95-993d-3b0aad09bf91/jobs/12157 |
Bumping Xcode in the CircleCI environment seemed to help: 9 -> 12. |
This happens not only for sci. It looks like a random error which vanishes after few attempts.
|
@FieryCod Are you by any chance using leiningen and |
@borkdude Nope. This a report from one of the users of What I can say is after switching to depstar I'm receiving those |
If you are using depstar, there is a similar compilation happening with |
@olpaw @cstancu Minimal reproduction here: https://github.com/FieryCod/graalvm-1613-repro |
@FieryCod If I simplify the compilation to use "just Clojure", like this, it works:
|
Another data point. When I compile using
I get the issue again. Removing |
The way the |
GraalVM issue: oracle/graal#1613 (comment) Repro: https://github.com/FieryCod/graalvm-1613-repro Cause of change: eval is called twice. Once during compilation and once during native-image which seems to trigger incorrect offset error
GraalVM issue: oracle/graal#1613 (comment) Repro: https://github.com/FieryCod/graalvm-1613-repro Cause of change: eval is called twice. Once during compilation and once during native-image which seems to trigger incorrect offset error
It looks like this issue was caused by compiling the same namespace multiple times. Just don't do that and this error should not occur. |
I'm getting this error when compiling a native binary on Mac on CircleCI.
The project branch: https://github.com/borkdude/babashka/blob/10c7d705cd8c33f2db8a26d0499f006c1a029360
and build script:
https://github.com/borkdude/babashka/blob/10c7d705cd8c33f2db8a26d0499f006c1a029360/script/compile#L1
The failing build on CircleCI: https://circleci.com/gh/borkdude/babashka/367
This error is coming from a library which I'm also testing separately on CircleCI with Mac and there it works fine: https://circleci.com/gh/borkdude/sci/114.
However, I don't get this error locally on my Mac. Note that the same project succeeds with Linux on CircleCI.
The text was updated successfully, but these errors were encountered: