-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Unable to run application with kafka-stream on aarch64 built using native builder image #43319
Comments
/cc @Karm (mandrel), @alesj (kafka,kafka-streams), @cescoffier (kafka), @galderz (mandrel), @gunnarmorling (kafka-streams), @ozangunalp (kafka,kafka-streams), @rquinio (kafka-streams), @zakkak (mandrel,native-image) |
It looks like this is due to assuming linux AMD64 when using container builds, see Line 181 in 2b814d3
@rsvoboda if I am right |
Yes that's a very old assumption. We never revisited it. |
Yes, build with local Mandrel/GraalVM installation works fine. I mentioned that in the description below the |
Always registers the correct native library as the logic runs on the same architecture we are targeting (even when using containers). Closes quarkusio#43319
Always registers the correct native library as the logic runs on the same architecture we are targeting (even when using containers). Closes quarkusio#43319 (cherry picked from commit 53d2635)
Describe the bug
Unable to run application with kafka-stream on aarch64 in native, application built using builder image (use-case of RHBQ)
application startup fails with
The binary contains strings with mixture of
librocksdbjni-linux-aarch64.so
andlibrocksdbjni-linux64.so
If the application is built using locally installed Mandrel, the app works well and strings command returns just librocksdbjni-linux-aarch64.so in 2 occurrences.
docker inspect quay.io/quarkus/ubi-quarkus-mandrel-builder-image:jdk-21
reports architecture asarm64
This was detected when working on investigation of Quarkus Quickstarts failures investigation on aarch64 platform.
CC @cescoffier @zakkak @galderz
FYI @mjurc
Expected behavior
Native application built using native builder image can start on RHEL 8 aarch64
Actual behavior
Native application built using native builder image can't start on RHEL 8 aarch64
How to Reproduce?
Using code.quarkus:
Using https://github.com/quarkusio/quarkus-quickstarts:
Output of
uname -a
orver
RHEL 8 aarch64
Output of
java -version
Java 21
Mandrel or GraalVM version (if different from Java)
quay.io/quarkus/ubi-quarkus-mandrel-builder-image:jdk-21
Quarkus version or git rev
Quarkus main / Quarkus 3.14
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: