forked from oracle/graal
-
Notifications
You must be signed in to change notification settings - Fork 16
Closed as not planned
Labels
affects/24.0affects/24.1Mandrel for JDK 23Mandrel for JDK 23affects/JDK21bugSomething isn't workingSomething isn't workingnot-Stale
Description
Description
GraalVM master fails to build with OpenJDK 21 with the Mandrel config after oracle#7650 with:
DEBUG [build] Build native agents...
DEBUG [OperatingSystem] Execute [/disk/graal/upstream-sources/graal/mandrel-build/lib/svm/bin/native-image, --macro:native-image-agent-library] in /disk/graal/upstream-sources/mandrel-packaging with environment variables []
Error occurred during initialization of boot layer
java.lang.module.ResolutionException: Module jdk.graal.compiler does not read a module that exports jdk.vm.ci.services
Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Failed, exit code: 1
at OperatingSystem.exec(build.java:1819)
at build.buildAgents(build.java:310)
at build.main(build.java:253)
Caused by: java.lang.RuntimeException: Failed, exit code: 1
at OperatingSystem.exec(build.java:1808)
at build.buildAgents(build.java:310)
at build.main(build.java:253)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at jdk.compiler/com.sun.tools.javac.launcher.Main.execute(Main.java:484)
at jdk.compiler/com.sun.tools.javac.launcher.Main.run(Main.java:208)
at jdk.compiler/com.sun.tools.javac.launcher.Main.main(Main.java:135)
The corresponding OpenJDK bug is:
https://bugs.openjdk.org/browse/JDK-8318027
OpenJDK 21 would need a patch like this one in order to be able to continue to build GraalVM master with OpenJDK 21. JDK-8318027 fixes this for OpenJDK 22.
zakkak
Metadata
Metadata
Assignees
Labels
affects/24.0affects/24.1Mandrel for JDK 23Mandrel for JDK 23affects/JDK21bugSomething isn't workingSomething isn't workingnot-Stale