Skip to content

Instantly share code, notes, and snippets.

@qwwdfsad

qwwdfsad/graal20.txt

Created Mar 25, 2020
Embed
What would you like to do?
qwwdfsad@qwwdfsad bin % ./native-image -cp /Users/qwwdfsad/Desktop/kotlin-native-macos-1.3.70/konan/lib/kotlin-native.jar org.jetbrains.kotlin.cli.utilities.MainKt
Build on Server(pid: 20577, port: 61514)
[org.jetbrains.kotlin.cli.utilities.mainkt:20577] classlist: 10,109.01 ms, 1.69 GB
[org.jetbrains.kotlin.cli.utilities.mainkt:20577] (cap): 1,580.42 ms, 1.69 GB
[org.jetbrains.kotlin.cli.utilities.mainkt:20577] setup: 2,168.81 ms, 1.69 GB
[org.jetbrains.kotlin.cli.utilities.mainkt:20577] analysis: 202.72 ms, 1.69 GB
3 fatal errors detected:
Fatal error:com.oracle.graal.pointsto.util.AnalysisError$ParsingError: Error encountered while parsing org.jetbrains.kotlin.native.interop.indexer.UtilsKt.parseTranslationUnit(kotlinx.cinterop.CPointer, java.io.File, java.util.List, int)
Parsing context:
parsing org.jetbrains.kotlin.native.interop.indexer.UtilsKt.parse(Utils.kt:117)
parsing org.jetbrains.kotlin.native.interop.indexer.UtilsKt.getHeaderPaths(Utils.kt:645)
parsing org.jetbrains.kotlin.native.interop.gen.DefFileDependenciesKt.makeDependencyAssignerForTarget(defFileDependencies.kt:50)
parsing org.jetbrains.kotlin.native.interop.gen.DefFileDependenciesKt.makeDependencyAssigner(defFileDependencies.kt:38)
parsing org.jetbrains.kotlin.native.interop.gen.DefFileDependenciesKt.defFileDependencies(defFileDependencies.kt:34)
parsing org.jetbrains.kotlin.cli.utilities.MainKt.mainImpl(main.kt:29)
parsing org.jetbrains.kotlin.cli.utilities.MainKt.main(main.kt:37)
parsing com.oracle.svm.core.JavaMainWrapper.runCore(JavaMainWrapper.java:149)
parsing com.oracle.svm.core.JavaMainWrapper.run(JavaMainWrapper.java:184)
parsing com.oracle.svm.core.code.IsolateEnterStub.JavaMainWrapper_run_5087f5482cc9a6abc971913ece43acb471d2631b(generated:0)
at com.oracle.graal.pointsto.util.AnalysisError.parsingError(AnalysisError.java:138)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.doParse(MethodTypeFlow.java:327)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.ensureParsed(MethodTypeFlow.java:300)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.addContext(MethodTypeFlow.java:107)
at com.oracle.graal.pointsto.flow.StaticInvokeTypeFlow.update(InvokeTypeFlow.java:346)
at com.oracle.graal.pointsto.BigBang$2.run(BigBang.java:523)
at com.oracle.graal.pointsto.util.CompletionExecutor.lambda$execute$0(CompletionExecutor.java:175)
at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1426)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
Caused by: jdk.vm.ci.common.JVMCIError: failed guarantee: DynamicNewInstanceNode.instanceType is constant, should have been canonicalized to NewInstanceNode.
at jdk.internal.vm.ci/jdk.vm.ci.common.JVMCIError.guarantee(JVMCIError.java:68)
at com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder$NodeIterator.node(MethodTypeFlowBuilder.java:809)
at jdk.internal.vm.compiler/org.graalvm.compiler.phases.graph.PostOrderNodeIterator.apply(PostOrderNodeIterator.java:106)
at com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.apply(MethodTypeFlowBuilder.java:421)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.doParse(MethodTypeFlow.java:310)
... 11 more
Fatal error:com.oracle.graal.pointsto.util.AnalysisError$ParsingError: Error encountered while parsing org.jetbrains.kotlin.native.interop.indexer.UtilsKt.indexTranslationUnit(kotlinx.cinterop.CPointer, kotlinx.cinterop.CPointer, int, org.jetbrains.kotlin.native.interop.indexer.Indexer)
Parsing context:
parsing org.jetbrains.kotlin.native.interop.indexer.UtilsKt.filterHeadersByPredefined(Utils.kt:631)
parsing org.jetbrains.kotlin.native.interop.indexer.UtilsKt.getHeaders(Utils.kt:538)
parsing org.jetbrains.kotlin.native.interop.indexer.UtilsKt.getHeaderPaths(Utils.kt:650)
parsing org.jetbrains.kotlin.native.interop.gen.DefFileDependenciesKt.makeDependencyAssignerForTarget(defFileDependencies.kt:50)
parsing org.jetbrains.kotlin.native.interop.gen.DefFileDependenciesKt.makeDependencyAssigner(defFileDependencies.kt:38)
parsing org.jetbrains.kotlin.native.interop.gen.DefFileDependenciesKt.defFileDependencies(defFileDependencies.kt:34)
parsing org.jetbrains.kotlin.cli.utilities.MainKt.mainImpl(main.kt:29)
parsing org.jetbrains.kotlin.cli.utilities.MainKt.main(main.kt:37)
parsing com.oracle.svm.core.JavaMainWrapper.runCore(JavaMainWrapper.java:149)
parsing com.oracle.svm.core.JavaMainWrapper.run(JavaMainWrapper.java:184)
parsing com.oracle.svm.core.code.IsolateEnterStub.JavaMainWrapper_run_5087f5482cc9a6abc971913ece43acb471d2631b(generated:0)
at com.oracle.graal.pointsto.util.AnalysisError.parsingError(AnalysisError.java:138)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.doParse(MethodTypeFlow.java:327)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.ensureParsed(MethodTypeFlow.java:300)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.addContext(MethodTypeFlow.java:107)
at com.oracle.graal.pointsto.flow.StaticInvokeTypeFlow.update(InvokeTypeFlow.java:346)
at com.oracle.graal.pointsto.BigBang$2.run(BigBang.java:523)
at com.oracle.graal.pointsto.util.CompletionExecutor.lambda$execute$0(CompletionExecutor.java:175)
at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1426)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
Caused by: jdk.vm.ci.common.JVMCIError: failed guarantee: DynamicNewInstanceNode.instanceType is constant, should have been canonicalized to NewInstanceNode.
at jdk.internal.vm.ci/jdk.vm.ci.common.JVMCIError.guarantee(JVMCIError.java:68)
at com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder$NodeIterator.node(MethodTypeFlowBuilder.java:809)
at jdk.internal.vm.compiler/org.graalvm.compiler.phases.graph.PostOrderNodeIterator.apply(PostOrderNodeIterator.java:106)
at com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.apply(MethodTypeFlowBuilder.java:421)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.doParse(MethodTypeFlow.java:310)
... 11 more
Fatal error:com.oracle.graal.pointsto.util.AnalysisError$ParsingError: Error encountered while parsing org.jetbrains.kotlin.native.interop.indexer.UtilsKt.indexTranslationUnit(kotlinx.cinterop.CPointer, kotlinx.cinterop.CPointer, int, org.jetbrains.kotlin.native.interop.indexer.Indexer)
Parsing context:
parsing org.jetbrains.kotlin.native.interop.indexer.UtilsKt.filterHeadersByName(Utils.kt:557)
parsing org.jetbrains.kotlin.native.interop.indexer.UtilsKt.getHeaders(Utils.kt:535)
parsing org.jetbrains.kotlin.native.interop.indexer.UtilsKt.getHeaderPaths(Utils.kt:650)
parsing org.jetbrains.kotlin.native.interop.gen.DefFileDependenciesKt.makeDependencyAssignerForTarget(defFileDependencies.kt:50)
parsing org.jetbrains.kotlin.native.interop.gen.DefFileDependenciesKt.makeDependencyAssigner(defFileDependencies.kt:38)
parsing org.jetbrains.kotlin.native.interop.gen.DefFileDependenciesKt.defFileDependencies(defFileDependencies.kt:34)
parsing org.jetbrains.kotlin.cli.utilities.MainKt.mainImpl(main.kt:29)
parsing org.jetbrains.kotlin.cli.utilities.MainKt.main(main.kt:37)
parsing com.oracle.svm.core.JavaMainWrapper.runCore(JavaMainWrapper.java:149)
parsing com.oracle.svm.core.JavaMainWrapper.run(JavaMainWrapper.java:184)
parsing com.oracle.svm.core.code.IsolateEnterStub.JavaMainWrapper_run_5087f5482cc9a6abc971913ece43acb471d2631b(generated:0)
at com.oracle.graal.pointsto.util.AnalysisError.parsingError(AnalysisError.java:138)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.doParse(MethodTypeFlow.java:327)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.ensureParsed(MethodTypeFlow.java:300)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.addContext(MethodTypeFlow.java:107)
at com.oracle.graal.pointsto.flow.StaticInvokeTypeFlow.update(InvokeTypeFlow.java:346)
at com.oracle.graal.pointsto.BigBang$2.run(BigBang.java:523)
at com.oracle.graal.pointsto.util.CompletionExecutor.lambda$execute$0(CompletionExecutor.java:175)
at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1426)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
Caused by: jdk.vm.ci.common.JVMCIError: failed guarantee: DynamicNewInstanceNode.instanceType is constant, should have been canonicalized to NewInstanceNode.
at jdk.internal.vm.ci/jdk.vm.ci.common.JVMCIError.guarantee(JVMCIError.java:68)
at com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder$NodeIterator.node(MethodTypeFlowBuilder.java:809)
at jdk.internal.vm.compiler/org.graalvm.compiler.phases.graph.PostOrderNodeIterator.apply(PostOrderNodeIterator.java:106)
at com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.apply(MethodTypeFlowBuilder.java:421)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.doParse(MethodTypeFlow.java:310)
... 11 more
Error: Image build request failed with exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment