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
I'm facing this error when building native image on macOS 13.6 (Apple Silicon)
[Thu Oct 05 23:35:25 ICT 2023][FINE] Start process link...
[Thu Oct 05 23:35:25 ICT 2023][INFO] [SUB] ld: warning: no platform load command found in '<redacted>/target/gluonfx/aarch64-darwin/gvm/tmp/SVM-1696523641365/com.cavoirom.quick_api.quickapi.o', assuming: macOS
[Thu Oct 05 23:35:25 ICT 2023][INFO] [SUB] ld: warning: object file (<redacted>/graalvm-svm-java17-darwin-m1-gluon-22.1.0.1-Final/Contents/Home/lib/svm/clibraries/darwin-aarch64/libjvm.a[2](JvmFuncs.o)) was built for newer 'macOS' version (12.0) than being linked (11.0)
[Thu Oct 05 23:35:25 ICT 2023][INFO] [SUB] ld: warning: object file (<redacted>/graalvm-svm-java17-darwin-m1-gluon-22.1.0.1-Final/Contents/Home/lib/svm/clibraries/darwin-aarch64/libjvm.a[3](JvmFuncsFallbacks.o)) was built for newer 'macOS' version (12.0) than being linked (11.0)
[Thu Oct 05 23:35:25 ICT 2023][INFO] [SUB] ld: warning: object file (<redacted>/graalvm-svm-java17-darwin-m1-gluon-22.1.0.1-Final/Contents/Home/lib/svm/clibraries/darwin-aarch64/liblibchelper.a[4](cpuid.o)) was built for newer 'macOS' version (12.0) than being linked (11.0)
[Thu Oct 05 23:35:25 ICT 2023][INFO] [SUB] ld: warning: object file (<redacted>/graalvm-svm-java17-darwin-m1-gluon-22.1.0.1-Final/Contents/Home/lib/svm/clibraries/darwin-aarch64/liblibchelper.a[5](timeZone.o)) was built for newer 'macOS' version (12.0) than being linked (11.0)
[Thu Oct 05 23:35:25 ICT 2023][INFO] [SUB] ld: warning: object file (<redacted>/graalvm-svm-java17-darwin-m1-gluon-22.1.0.1-Final/Contents/Home/lib/svm/clibraries/darwin-aarch64/libdarwin.a[2](foundation.o)) was built for newer 'macOS' version (12.0) than being linked (11.0)
[Thu Oct 05 23:35:25 ICT 2023][INFO] [SUB] ld: Undefined symbols:
[Thu Oct 05 23:35:25 ICT 2023][INFO] [SUB] _LMGetKbdType, referenced from:
[Thu Oct 05 23:35:25 ICT 2023][INFO] [SUB] _getJavaCodeForMacKeyAndModifiers in libglass.a[14](GlassKey.obj)
[Thu Oct 05 23:35:25 ICT 2023][INFO] [SUB] _TISCopyCurrentKeyboardLayoutInputSource, referenced from:
[Thu Oct 05 23:35:25 ICT 2023][INFO] [SUB] _getJavaCodeForMacKey in libglass.a[14](GlassKey.obj)
[Thu Oct 05 23:35:25 ICT 2023][INFO] [SUB] _TISGetInputSourceProperty, referenced from:
[Thu Oct 05 23:35:25 ICT 2023][INFO] [SUB] _getJavaCodeForMacKeyAndModifiers in libglass.a[14](GlassKey.obj)
[Thu Oct 05 23:35:25 ICT 2023][INFO] [SUB] _kTISPropertyUnicodeKeyLayoutData, referenced from:
[Thu Oct 05 23:35:25 ICT 2023][INFO] [SUB] _getJavaCodeForMacKeyAndModifiers in libglass.a[14](GlassKey.obj)
[Thu Oct 05 23:35:25 ICT 2023][INFO] [SUB] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[Thu Oct 05 23:35:25 ICT 2023][FINE] Result for link: 1
[Thu Oct 05 23:35:25 ICT 2023][SEVERE] Process link failed with result: 1
I'm facing this error when building native image on macOS 13.6 (Apple Silicon)
My settings
Build with GraalVM on: https://github.com/gluonhq/graal/releases
If I change the
javafxStaticSdkVersion
to21-ea+9.1
, the build will success.Expected behavior: native image will be build successfully.
The text was updated successfully, but these errors were encountered: