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
GraalVM version or commit id if built from source: latest commit 84daad0 (HEAD -> master, origin/master, origin/HEAD)
JDK version: Open JDK 21
OS and OS Version: Ubuntu
Architecture: x64
The output of java -Xinternalversion:
**OpenJDK 64-Bit Server VM (21+35-2513) for linux-amd64 JRE (21+35-2513), built on 2023-08-09T20:25:10Z by "mach5one" with gcc 11.2.0**
Have you verified this issue still happens when using the latest snapshot?
This is the build problem with the compiler.
Describe the issue
/home/tibor17/Idea/graalvm-builder/graal/compiler/src/jdk.graal.compiler/src/jdk/graal/compiler/bytecode/BytecodeDisassembler.java:356: error: method lookupConstant in interface ConstantPool cannot be applied to given types;
Object constant = cp.lookupConstant(cpi, false);
^
required: int
found: int,boolean
reason: actual and formal argument lists differ in length
/home/tibor17/Idea/graalvm-builder/graal/compiler/src/jdk.graal.compiler/src/jdk/graal/compiler/java/BytecodeParser.java:4719: error: method lookupConstant in interface ConstantPool cannot be applied to given types;
Object result = constantPool.lookupConstant(cpi, allowBootstrapMethodInvocation);
^
required: int
found: int,boolean
reason: actual and formal argument lists differ in length
...
Building Java module org.graalvm.shadowed.icu4j (truffle-icu4j.jar) from TRUFFLE_ICU4J
2 errors
Compiling jdk.graal.compiler with javac-daemon(JDK 21): Failed due to error: 1
Steps to reproduce the issue
export JAVA_HOME=/path/to/jdk-21
$ cd compiler
$ mx build
The text was updated successfully, but these errors were encountered:
Tibor17
changed the title
The build failed with compilation error with $ mx build on Open JDK 21 LTS JDK
The build failed with compilation error and $ mx build on Open JDK 21 LTS JDK
Sep 11, 2024
I get you. Thank you for reporting this. I managed to reproduce the issue you're facing and I confirm the error that you encountered. Unfortunately I wasn't able to understand where the issue comes from. Could you please contact mx team directly? you can open an issue using this link: https://github.com/graalvm/mx/issues
Hi @selhagani, this looks like a compatibility issue with graal master and upstream OpenJDK 21 LTS. It doesn't look like an mx issue.
AFAIK the GraalVM team keeps graal master compatible with labsjdk 21, but not with upstream OpenJDK builds. Even if you fix or work around this issue the build will probably fail at a later stage due to graalvm#598
Describe GraalVM and your environment :
java -Xinternalversion
:Have you verified this issue still happens when using the latest snapshot?
This is the build problem with the compiler.
Describe the issue
Steps to reproduce the issue
The text was updated successfully, but these errors were encountered: