-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
quarkus is not compatible with graalvm 21 #36055
Comments
The warn in X86 native-image build, I found the reason is that Oracle removed the org.graalvm.sdk and splitted into some individual package in GraalVM 21. although the build can goes to the end , the native image runner goes well in my common test case(likely) |
Can you try Quarkus 3.4.1 (just released)? I think #35377 could handle the trouble on x86_64. |
yes, I believe Quarkus 3.4.1 has fixed the warn on x86. I'll give it a try tomorrow. |
I switched quarkus 3.4.1 and compile finished smoothly,the warns has been cleaned . the fails on arm ubuntu1804 are still there, I issued that error to graalvm too. |
the link fail problem on ubuntu 1804 was solved, a guy there gived a right solution this issue should be closed. |
Describe the bug
Oracle released Java 21 and also GraalVM 21 on 2023-09-19, and I switch my app jdk to Oracle GraalVM 21 to do some native-image test.
before I turned to GraalVM 21, I'm with GraalVM 17.0.8+9.1 (build 17.0.8+9-LTS-jvmci-23.0-b14) and everything is right in X86 (ubuntu 2210) and arm (ubuntu 1804 in Qemu) both.
after switched, JVM version package goes well.
the Native image in X86,compiler complaint the following message:
but it do not fail the compile process, and the native-image runner goes well (likely)
When I try to make the native image in ARM, compiler failed at the last step "creating image" with message"
Expected behavior
compitable with graalvm 21
finish the build of native-image runner in x86 and arm, peaceful and quietly,just like GraalVM 17.
Actual behavior
graalvm 21
native image in x86 successed with warn, and goes well(likely)
native image in arm failed at last step "creating image".
Output of
uname -a
orver
x86
6.2.0-33-generic #33~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 7 10:33:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
arm by qemu
Linux ubuntu 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:29:44 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
Output of
java -version
x86
Java(TM) SE Runtime Environment Oracle GraalVM 21+35.1 (build 21+35-jvmci-23.1-b15)
arm by qemu
Java(TM) SE Runtime Environment Oracle GraalVM 21+35.1 (build 21+35-jvmci-23.1-b15)
Quarkus version or git rev
Powered by Quarkus 3.3.3
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.7
The text was updated successfully, but these errors were encountered: