Skip to content

Instantly share code, notes, and snippets.

@borkdude
Created September 3, 2022 11:32
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save borkdude/2a9b0aeee6fb462ea133b623d93c4875 to your computer and use it in GitHub Desktop.
bb compile failure linker
borkdude@m1 ~/dev/babashka (master*) $ script/compile
Apply jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/http-kit/http-kit/native-image.properties
Apply jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/native-image.properties
Warning: Ignoring server-mode native-image argument --no-server.
Apply jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/reflect-config.json
Executing [
/Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/bin/java \
-XX:+UseParallelGC \
-XX:+UnlockExperimentalVMOptions \
-XX:+EnableJVMCI \
-Dtruffle.TrustAllTruffleRuntimeProviders=true \
-Dtruffle.TruffleRuntime=com.oracle.truffle.api.impl.DefaultTruffleRuntime \
-Dgraalvm.ForcePolyglotInvalid=true \
-Dgraalvm.locatorDisabled=true \
-Dsubstratevm.IgnoreGraalVersionCheck=true \
--add-exports=java.base/com.sun.crypto.provider=org.graalvm.nativeimage.builder \
--add-exports=java.base/jdk.internal.event=org.graalvm.nativeimage.builder \
--add-exports=java.base/jdk.internal.loader=org.graalvm.nativeimage.builder,org.graalvm.truffle \
--add-exports=java.base/jdk.internal.logger=org.graalvm.nativeimage.builder \
--add-exports=java.base/jdk.internal.misc=org.graalvm.nativeimage.builder,org.graalvm.nativeimage.objectfile \
--add-exports=java.base/jdk.internal.module=jdk.internal.vm.compiler,org.graalvm.nativeimage.base,org.graalvm.nativeimage.builder \
--add-exports=java.base/jdk.internal.org.objectweb.asm=org.graalvm.nativeimage.builder \
--add-exports=java.base/jdk.internal.perf=org.graalvm.nativeimage.builder \
--add-exports=java.base/jdk.internal.ref=org.graalvm.nativeimage.builder,org.graalvm.nativeimage.objectfile \
--add-exports=java.base/jdk.internal.reflect=org.graalvm.nativeimage.builder \
--add-exports=java.base/jdk.internal.vm.annotation=org.graalvm.nativeimage.builder \
--add-exports=java.base/sun.invoke.util=org.graalvm.nativeimage.builder \
--add-exports=java.base/sun.net=org.graalvm.nativeimage.builder \
--add-exports=java.base/sun.nio.ch=org.graalvm.nativeimage.builder,org.graalvm.nativeimage.objectfile \
--add-exports=java.base/sun.reflect.annotation=org.graalvm.nativeimage.builder \
--add-exports=java.base/sun.reflect.generics.factory=org.graalvm.nativeimage.builder \
--add-exports=java.base/sun.reflect.generics.reflectiveObjects=org.graalvm.nativeimage.builder \
--add-exports=java.base/sun.reflect.generics.repository=org.graalvm.nativeimage.builder \
--add-exports=java.base/sun.reflect.generics.scope=org.graalvm.nativeimage.builder \
--add-exports=java.base/sun.reflect.generics.tree=org.graalvm.nativeimage.builder \
--add-exports=java.base/sun.security.jca=org.graalvm.nativeimage.builder \
--add-exports=java.base/sun.security.provider=org.graalvm.nativeimage.builder \
--add-exports=java.base/sun.security.ssl=org.graalvm.nativeimage.builder \
--add-exports=java.base/sun.security.util=org.graalvm.nativeimage.builder \
--add-exports=java.base/sun.security.x509=org.graalvm.nativeimage.builder \
--add-exports=java.base/sun.text.spi=org.graalvm.nativeimage.builder \
--add-exports=java.base/sun.util.calendar=org.graalvm.nativeimage.builder \
--add-exports=java.base/sun.util.cldr=org.graalvm.nativeimage.builder \
--add-exports=java.base/sun.util.locale.provider=org.graalvm.nativeimage.builder \
--add-exports=java.base/sun.util.locale=org.graalvm.nativeimage.builder \
--add-exports=java.base/sun.util.resources=org.graalvm.nativeimage.builder \
--add-exports=java.base/sun.util=org.graalvm.nativeimage.builder \
--add-exports=java.desktop/sun.java2d.pipe=org.graalvm.nativeimage.builder \
--add-exports=java.desktop/sun.java2d=org.graalvm.nativeimage.builder \
--add-exports=java.management/com.sun.jmx.mbeanserver=org.graalvm.nativeimage.builder \
--add-exports=java.management/sun.management=org.graalvm.nativeimage.builder,org.graalvm.nativeimage.pointsto \
--add-exports=java.xml.crypto/org.jcp.xml.dsig.internal.dom=org.graalvm.nativeimage.builder \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.aarch64=jdk.internal.vm.compiler,org.graalvm.nativeimage.builder,org.graalvm.nativeimage.objectfile \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.amd64=jdk.internal.vm.compiler,org.graalvm.nativeimage.builder,org.graalvm.nativeimage.objectfile \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.code.site=jdk.internal.vm.compiler,org.graalvm.nativeimage.builder \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.code.stack=jdk.internal.vm.compiler,org.graalvm.nativeimage.builder \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.code=jdk.internal.vm.compiler,org.graalvm.nativeimage.builder,org.graalvm.nativeimage.objectfile,org.graalvm.nativeimage.pointsto \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.common=jdk.internal.vm.compiler,org.graalvm.nativeimage.builder,org.graalvm.nativeimage.pointsto \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot.aarch64=jdk.internal.vm.compiler \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot.amd64=jdk.internal.vm.compiler \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot.sparc=jdk.internal.vm.compiler \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot=jdk.internal.vm.compiler,org.graalvm.nativeimage.builder \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.meta=jdk.internal.vm.compiler,org.graalvm.nativeimage.builder,org.graalvm.nativeimage.objectfile,org.graalvm.nativeimage.pointsto \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.runtime=jdk.internal.vm.compiler,org.graalvm.nativeimage.builder,org.graalvm.nativeimage.pointsto \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.services=jdk.internal.vm.compiler,org.graalvm.nativeimage.builder \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.sparc=jdk.internal.vm.compiler \
--add-exports=jdk.jfr/jdk.jfr.events=org.graalvm.nativeimage.builder \
--add-exports=jdk.jfr/jdk.jfr.internal.handlers=org.graalvm.nativeimage.builder \
--add-exports=jdk.jfr/jdk.jfr.internal.jfc=org.graalvm.nativeimage.builder \
--add-exports=jdk.jfr/jdk.jfr.internal=org.graalvm.nativeimage.builder \
--add-exports=jdk.management/com.sun.management.internal=org.graalvm.nativeimage.builder \
-XX:+UseJVMCINativeLibrary \
-Xss10m \
-Xms1g \
-Xmx13743895344 \
-Djava.awt.headless=true \
-Dorg.graalvm.version=22.2.0 \
-Dcom.oracle.graalvm.isaot=true \
-Djava.system.class.loader=com.oracle.svm.hosted.NativeImageSystemClassLoader \
-Xshare:off \
-Djdk.internal.lambda.disableEagerInitialization=true \
-Djdk.internal.lambda.eagerlyInitialize=false \
-Djava.lang.invoke.InnerClassLambdaMetafactory.initializeLambdas=false \
-Dborkdude.dynaload.aot=true \
-Xmx8g \
-javaagent:/Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/svm/builder/svm.jar \
--module-path \
/Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/truffle/truffle-api.jar:/Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/svm/builder/svm.jar:/Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/svm/builder/native-image-base.jar:/Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/svm/builder/objectfile.jar:/Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/svm/builder/pointsto.jar \
--module \
org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner \
-imagecp \
/Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar \
-imagemp \
/Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/svm/library-support.jar \
-H:CLibraryPath=/Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/svm/clibraries/darwin-aarch64 \
-H:Path=/Users/borkdude/dev/babashka \
'-H:Class@manifest from file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar=babashka.main' \
'-H:Name@manifest from file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar=babashka-0.9.162-SNAPSHOT-standalone' \
'-H:ClassInitialization@jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/http-kit/http-kit/native-image.properties=org.httpkit.client.ClientSslEngineFactory$SSLHolder:run_time' \
'-H:Name@jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/native-image.properties=bb' \
'-H:+ReportExceptionStackTraces@jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/native-image.properties' \
'-H:IncludeResources@jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/native-image.properties=BABASHKA_VERSION' \
'-H:IncludeResources@jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/native-image.properties=META-INF/babashka/.*' \
'-H:IncludeResources@jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/native-image.properties=SCI_VERSION' \
'-H:Log@jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/native-image.properties=registerResource:' \
'-H:EnableURLProtocols@jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/native-image.properties=http,https,jar' \
'-H:+EnableAllSecurityServices@jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/native-image.properties' \
'-H:+JNI@jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/native-image.properties' \
'-H:+ReportUnsupportedElementsAtRuntime@jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/native-image.properties' \
'-H:ClassInitialization@jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/native-image.properties=com.fasterxml.jackson:build_time' \
'-H:ClassInitialization@jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/native-image.properties=java.sql.SQLException:build_time' \
'-H:ClassInitialization@jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/native-image.properties=org.yaml.snakeyaml:build_time' \
'-H:ClassInitialization@jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/native-image.properties=org.postgresql.sspi.SSPIClient:run_time' \
'-H:ClassInitialization@jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/native-image.properties=org.httpkit.client.ClientSslEngineFactory$SSLHolder:run_time' \
'-H:ServiceLoaderFeatureExcludeServices@jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/native-image.properties=javax.sound.sampled.spi.AudioFileReader' \
'-H:ServiceLoaderFeatureExcludeServices@jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/native-image.properties=javax.sound.midi.spi.MidiFileReader' \
'-H:ServiceLoaderFeatureExcludeServices@jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/native-image.properties=javax.sound.sampled.spi.MixerProvider' \
'-H:ServiceLoaderFeatureExcludeServices@jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/native-image.properties=javax.sound.sampled.spi.FormatConversionProvider' \
'-H:ServiceLoaderFeatureExcludeServices@jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/native-image.properties=javax.sound.sampled.spi.AudioFileWriter' \
'-H:ServiceLoaderFeatureExcludeServices@jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/native-image.properties=javax.sound.midi.spi.MidiDeviceProvider' \
'-H:ServiceLoaderFeatureExcludeServices@jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/native-image.properties=javax.sound.midi.spi.SoundbankReader' \
'-H:ServiceLoaderFeatureExcludeServices@jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/native-image.properties=javax.sound.midi.spi.MidiFileWriter' \
'-H:ServiceLoaderFeatureExcludeServices@jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/native-image.properties=java.net.ContentHandlerFactory' \
'-H:ServiceLoaderFeatureExcludeServices@jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/native-image.properties=java.nio.charset.spi.CharsetProvider' \
'-H:ReflectionConfigurationResources@jar:file:///Users/borkdude/dev/babashka/target/babashka-0.9.162-SNAPSHOT-standalone.jar!/META-INF/native-image/babashka/babashka/reflect-config.json=META-INF/native-image/babashka/babashka/reflect-config.json' \
-H:Name=bb \
-H:+ReportExceptionStackTraces \
-H:ReportAnalysisForbiddenType=java.awt.Toolkit:InHeap,Allocated \
-H:FallbackThreshold=0 \
-H:+DumpTargetInfo
]
Warning: Option 'EnableAllSecurityServices' is deprecated and might be removed from future versions
========================================================================================================================
GraalVM Native Image: Generating 'bb' (executable)...
========================================================================================================================
The URL protocol jar is not tested and might not work as expected.
Supported URL protocols enabled by default: file,resource. Supported URL protocols available on demand: http,https.
Registering packages for build time initialization: clojure, cognitect, bencode, borkdude, selmer, sci, aaaa_this_has_to_be_first, io.aviso, hf.depstar, org.httpkit, cheshire, clj_yaml, babashka, hiccup, edamame, taoensso, clj_easy, flatland.ordered, rewrite_clj
[1/7] Initializing... (5,1s @ 0,21GB)
Version info: 'GraalVM 22.2.0 Java 11 CE'
Java version info: '11.0.16+8-jvmci-22.2-b06'
C compiler: cc (apple, arm64, 13.1.6)
Garbage collector: Serial GC
1 user-specific feature(s)
- InitAtBuildTimeFeature
# Printing compilation-target information to: /Users/borkdude/dev/babashka/reports/target_info_20220903_133008.txt
[Use -Dgraal.LogFile=<path> to redirect Graal log output to a file.]
[thread:1] scope: main
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/java.nio.file.spi.FileSystemProvider
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/jdk.internal.logger.DefaultLoggerFinder
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/sun.util.resources.LocaleData$CommonResourceBundleProvider
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/sun.util.resources.LocaleData$SupplementaryResourceBundleProvider
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/com.fasterxml.jackson.core.JsonFactory
[thread:1] scope: main.registerResource
Resources have been added by ServiceLoaderFeature. Automatic registration can be disabled with -H:-UseServiceLoaderFeature
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/javax.naming.spi.InitialContextFactory
[thread:1] scope: main.registerResource
Resources have been added by ServiceLoaderFeature. Automatic registration can be disabled with -H:-UseServiceLoaderFeature
# Printing native-library information to: /Users/borkdude/dev/babashka/reports/native_library_info_20220903_133036.txt
[2/7] Performing analysis... [***********] (28,4s @ 1,59GB)
15.936 (93,43%) of 17.057 classes reachable
26.364 (56,82%) of 46.401 fields reachable
70.041 (66,55%) of 105.248 methods reachable
703 classes, 1.098 fields, and 6.558 methods registered for reflection
71 classes, 97 fields, and 56 methods registered for JNI access
6 native libraries: -framework CoreServices, -framework Foundation, dl, pthread, stdc++, z
[3/7] Building universe... (4,7s @ 1,84GB)
[4/7] Parsing methods... [**] (3,7s @ 2,89GB)
[5/7] Inlining methods... [***] (1,6s @ 3,38GB)
[6/7] Compiling methods... [*****] (23,1s @ 3,42GB)
[7/7] Creating image... (0,0s @ 2,72GB)
Fatal error: java.lang.RuntimeException: There was an error linking the native image: Linker command exited with 1
Linker command executed:
/usr/bin/cc -Wl,-U,___darwin_check_fd_set_overflow -Wl,-no_compact_unwind -Wl,-exported_symbols_list -Wl,/var/folders/j9/xmjlcym958b1fr0npsp9msvh0000gn/T/SVM-7674513716765518174/exported_symbols.list -Wl,-x -arch arm64 -o /Users/borkdude/dev/babashka/bb bb.o /Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/svm/clibraries/darwin-aarch64/liblibchelper.a /Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/static/darwin-aarch64/libnet.a /Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/svm/clibraries/darwin-aarch64/libdarwin.a /Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/static/darwin-aarch64/libnio.a /Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/static/darwin-aarch64/libjava.a /Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/static/darwin-aarch64/libfdlibm.a /Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/static/darwin-aarch64/libsunec.a /Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/static/darwin-aarch64/libzip.a /Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/svm/clibraries/darwin-aarch64/libjvm.a -v -L/var/folders/j9/xmjlcym958b1fr0npsp9msvh0000gn/T/SVM-7674513716765518174 -L/Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/static/darwin-aarch64 -L/Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/svm/clibraries/darwin-aarch64 -Wl,-framework,CoreServices -lstdc++ -ldl -lpthread -Wl,-framework,Foundation -lz
Linker command output:
Apple clang version 13.1.6 (clang-1316.0.21.2.5)
Target: arm64-apple-darwin21.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
"/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -arch arm64 -platform_version macos 12.0.0 12.3 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -o /Users/borkdude/dev/babashka/bb -L/var/folders/j9/xmjlcym958b1fr0npsp9msvh0000gn/T/SVM-7674513716765518174 -L/Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/static/darwin-aarch64 -L/Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/svm/clibraries/darwin-aarch64 -L/usr/local/lib -U ___darwin_check_fd_set_overflow -no_compact_unwind -exported_symbols_list /var/folders/j9/xmjlcym958b1fr0npsp9msvh0000gn/T/SVM-7674513716765518174/exported_symbols.list -x bb.o /Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/svm/clibraries/darwin-aarch64/liblibchelper.a /Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/static/darwin-aarch64/libnet.a /Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/svm/clibraries/darwin-aarch64/libdarwin.a /Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/static/darwin-aarch64/libnio.a /Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/static/darwin-aarch64/libjava.a /Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/static/darwin-aarch64/libfdlibm.a /Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/static/darwin-aarch64/libsunec.a /Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/static/darwin-aarch64/libzip.a /Users/borkdude/Downloads/graalvm-ce-java11-22.2.0/Contents/Home/lib/svm/clibraries/darwin-aarch64/libjvm.a -framework CoreServices -lc++ -ldl -lpthread -framework Foundation -lz -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/13.1.6/lib/darwin/libclang_rt.osx.a
ld: can't write output file: /Users/borkdude/dev/babashka/bb for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.image.NativeImageViaCC.handleLinkerFailure(NativeImageViaCC.java:191)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.image.NativeImageViaCC.write(NativeImageViaCC.java:135)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:704)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:521)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:407)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:585)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:128)
------------------------------------------------------------------------------------------------------------------------
5,7s (7,5% of total time) in 61 GCs | Peak RSS: 4,29GB | CPU load: 5,09
========================================================================================================================
Failed generating 'bb' after 1m 16s.
Error: Image build request failed with exit status 1
com.oracle.svm.driver.NativeImage$NativeImageError: Image build request failed with exit status 1
at com.oracle.svm.driver.NativeImage.showError(NativeImage.java:1716)
at com.oracle.svm.driver.NativeImage.build(NativeImage.java:1413)
at com.oracle.svm.driver.NativeImage.performBuild(NativeImage.java:1374)
at com.oracle.svm.driver.NativeImage.main(NativeImage.java:1361)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment