You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @amrutprabhu, thanks for reporting the bug. We'll look into it.
I am trying to build a native image that I can run on an Ubuntu machine.
--target will unfortunately not help you with this as Native Image does not support cross-compilation yet. To generate Linux binaries on a macOS machine, please use a containerized environment for now. Or generate binaries for different platforms on CI, for example using GitHub Actions.
Describe the issue
When I use the --target option to build a target architecture image, the
native-image
command fails with an outputI am currently using a
native-maven-plugin
fromorg.graalvm.buildtools
to build my image.My laptop is MacBook pro M2
macos: 13.3.1
graalvm version : GraalVM CE 22.3.0
I installed graalvm jdk using Sdkman.
Now, picked out the command that the plugin ran, and I have reduced the full command and removed the
-cp
option.Even If I run it independently, it fails. ( without the -cp option) it gives me the same error.
I am trying to build a native image that I can run on an Ubuntu machine.
The text was updated successfully, but these errors were encountered: