Skip to content

Instantly share code, notes, and snippets.

@DarkDimius
Created August 3, 2017 10:03
Show Gist options
  • Save DarkDimius/7658a35cf31333533e35432f15bc5642 to your computer and use it in GitHub Desktop.
Save DarkDimius/7658a35cf31333533e35432f15bc5642 to your computer and use it in GitHub Desktop.
$native-image -cp /Users/dark/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.11.11.jar:/Users/dark/workspace/dotty/bin/../library/target/scala-2.11/dotty-library_2.11-0.3.0-bin-SNAPSHOT-nonbootstrapped.jar:/Users/dark/.ivy2/cache/org.scala-lang.modules/scala-asm/bundles/scala-asm-5.1.0-scala-2.jar:/Users/dark/.ivy2/cache/org.scala-sbt/interface/jars/interface-0.13.15.jar:/Users/dark/workspace/dotty/bin/../interfaces/target/dotty-interfaces-0.3.0-bin-SNAPSHOT.jar:/Users/dark/workspace/dotty/bin/../compiler/target/scala-2.11/dotty-compiler_2.11-0.3.0-bin-SNAPSHOT-nonbootstrapped.jar:/Users/dark/workspace/dotty/bin/../library/target/scala-2.11/dotty-library_2.11-0.3.0-bin-SNAPSHOT-nonbootstrapped.jar -classpath /Users/dark/workspace/dotty/bin/../interfaces/target/dotty-interfaces-0.3.0-bin-SNAPSHOT.jar:/Users/dark/workspace/dotty/bin/../compiler/target/scala-2.11/dotty-compiler_2.11-0.3.0-bin-SNAPSHOT-nonbootstrapped.jar:/Users/dark/workspace/dotty/bin/../library/target/scala-2.11/dotty-library_2.11-0.3.0-bin-SNAPSHOT-nonbootstrapped.jar:/Users/dark/workspace/dotty/doc-tool/target/scala-2.11/dotty-doc_2.11-0.3.0-bin-SNAPSHOT-nonbootstrapped-tests.jar dotty.tools.dotc.Main -verbose
Executing [
/Users/dark/Downloads/graalvm-0.26-macosx-amd64-jdk8/graalvm-0.26/jre/bin/java \
-server \
-XX:+UnlockExperimentalVMOptions \
-XX:+EnableJVMCI \
-XX:-UseJVMCIClassLoader \
-XX:-UseJVMCICompiler \
-d64 \
-noverify \
-Xbootclasspath/a:/Users/dark/Downloads/graalvm-0.26-macosx-amd64-jdk8/graalvm-0.26/jre/lib/boot/graal-sdk.jar:/Users/dark/Downloads/graalvm-0.26-macosx-amd64-jdk8/graalvm-0.26/jre/lib/truffle/truffle-api.jar:/Users/dark/Downloads/graalvm-0.26-macosx-amd64-jdk8/graalvm-0.26/jre/lib/truffle/truffle-om.jar \
-cp \
/Users/dark/Downloads/graalvm-0.26-macosx-amd64-jdk8/graalvm-0.26/jre/lib/svm/svm.jar:/Users/dark/Downloads/graalvm-0.26-macosx-amd64-jdk8/graalvm-0.26/jre/lib/svm/objectfile.jar:/Users/dark/Downloads/graalvm-0.26-macosx-amd64-jdk8/graalvm-0.26/jre/lib/svm/lib/gson-2.2.4.jar:/Users/dark/Downloads/graalvm-0.26-macosx-amd64-jdk8/graalvm-0.26/jre/lib/jvmci/enterprise-graal.jar:/Users/dark/Downloads/graalvm-0.26-macosx-amd64-jdk8/graalvm-0.26/jre/lib/jvmci/graal.jar:/Users/dark/Downloads/graalvm-0.26-macosx-amd64-jdk8/graalvm-0.26/jre/lib/jvmci/jvmci-api.jar:/Users/dark/Downloads/graalvm-0.26-macosx-amd64-jdk8/graalvm-0.26/jre/lib/jvmci/jvmci-hotspot.jar \
-Duser.country=US \
-Duser.language=en \
-Dgraal.EagerSnippets=true \
-Dsubstratevm.version=9f96308321a28453d05779fc12015d1c6b078481 \
-Xms1G \
-Xss10m \
-Dcom.oracle.graalvm.isaot=true \
com.oracle.svm.hosted.NativeImageGeneratorRunner \
-imagecp \
/Users/dark/Downloads/graalvm-0.26-macosx-amd64-jdk8/graalvm-0.26/jre/lib/svm/svm.jar:/Users/dark/Downloads/graalvm-0.26-macosx-amd64-jdk8/graalvm-0.26/jre/lib/svm/objectfile.jar:/Users/dark/Downloads/graalvm-0.26-macosx-amd64-jdk8/graalvm-0.26/jre/lib/svm/lib/gson-2.2.4.jar:/Users/dark/Downloads/graalvm-0.26-macosx-amd64-jdk8/graalvm-0.26/jre/lib/jvmci/enterprise-graal.jar:/Users/dark/Downloads/graalvm-0.26-macosx-amd64-jdk8/graalvm-0.26/jre/lib/jvmci/graal.jar:/Users/dark/Downloads/graalvm-0.26-macosx-amd64-jdk8/graalvm-0.26/jre/lib/jvmci/jvmci-api.jar:/Users/dark/Downloads/graalvm-0.26-macosx-amd64-jdk8/graalvm-0.26/jre/lib/jvmci/jvmci-hotspot.jar:/Users/dark/Downloads/graalvm-0.26-macosx-amd64-jdk8/graalvm-0.26/jre/lib/svm/library-support.jar:/Users/dark/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.11.11.jar:/Users/dark/workspace/dotty/library/target/scala-2.11/dotty-library_2.11-0.3.0-bin-SNAPSHOT-nonbootstrapped.jar:/Users/dark/.ivy2/cache/org.scala-lang.modules/scala-asm/bundles/scala-asm-5.1.0-scala-2.jar:/Users/dark/.ivy2/cache/org.scala-sbt/interface/jars/interface-0.13.15.jar:/Users/dark/workspace/dotty/interfaces/target/dotty-interfaces-0.3.0-bin-SNAPSHOT.jar:/Users/dark/workspace/dotty/compiler/target/scala-2.11/dotty-compiler_2.11-0.3.0-bin-SNAPSHOT-nonbootstrapped.jar:/Users/dark/workspace/dotty/doc-tool/target/scala-2.11/dotty-doc_2.11-0.3.0-bin-SNAPSHOT-nonbootstrapped-tests.jar \
-H:SourceSearchPath=/Users/dark/Downloads/graalvm-0.26-macosx-amd64-jdk8/graalvm-0.26/jre/lib/jvmci/graal.src.zip:/Users/dark/Downloads/graalvm-0.26-macosx-amd64-jdk8/graalvm-0.26/jre/lib/jvmci/jvmci-api.src.zip:/Users/dark/Downloads/graalvm-0.26-macosx-amd64-jdk8/graalvm-0.26/jre/lib/jvmci/jvmci-hotspot.src.zip \
-H:Path=. \
-H:InspectServerContentPath=/Users/dark/Downloads/graalvm-0.26-macosx-amd64-jdk8/graalvm-0.26/jre/lib/svm/inspect \
-H:CLibraryPath=/Users/dark/Downloads/graalvm-0.26-macosx-amd64-jdk8/graalvm-0.26/jre/lib/svm/clibraries/darwin-amd64 \
-H:Class=dotty.tools.dotc.Main \
-H:Name=dotty.tools.dotc.main
]
classlist: 3,611.88 ms
(cap): 704.26 ms
setup: 1,237.26 ms
analysis: 622.14 ms
fatal error: java.lang.ArrayIndexOutOfBoundsException: 1536
at com.oracle.svm.A.d.a(stripped:410)
at com.oracle.svm.A.d.I(stripped:379)
at com.oracle.svm.m.d.bz(stripped:561)
at com.oracle.svm.m.d.by(stripped:541)
at com.oracle.svm.hosted.f.a(stripped:621)
at com.oracle.svm.hosted.f.a(stripped:377)
at com.oracle.svm.hosted.f.a(stripped:351)
at com.oracle.svm.hosted.NativeImageGeneratorRunner.b(stripped:187)
at com.oracle.svm.hosted.NativeImageGeneratorRunner.a(stripped:252)
at com.oracle.svm.hosted.NativeImageGeneratorRunner.main(stripped:53)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment