By the way: buildNative will try to build two executables, using musl (statically linked) and glibc (dynamically linked), which we call alpine-linux and linux, respectively (if it finds the musl toolchain on the machine).
Do you intend to build both? You can also choose to only build the dynamically linked executable with ./gradlew linuxExecutableAmd64.
@bioball commented on GitHub (Mar 7, 2025):
This looks related: https://github.com/oracle/graal/issues/4076. See remediation here: https://github.com/oracle/graal/issues/4076#issuecomment-1304037035
By the way: `buildNative` will try to build two executables, using musl (statically linked) and glibc (dynamically linked), which we call alpine-linux and linux, respectively (if it finds the musl toolchain on the machine).
Do you intend to build both? You can also choose to only build the dynamically linked executable with `./gradlew linuxExecutableAmd64`.
Thanks for the tip re: variant; I think building the glibc version should be fine for now. Should this be kept open as a tracking issue or should it be closed?
@sin-ack commented on GitHub (Mar 8, 2025):
Thanks for the tip re: variant; I think building the glibc version should be fine for now. Should this be kept open as a tracking issue or should it be closed?
I don't think this one is on us to fix; it's something to do with native-image. I'll close this issue. Thanks!
@bioball commented on GitHub (Mar 8, 2025):
I don't think this one is on us to fix; it's something to do with native-image. I'll close this issue. Thanks!
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @sin-ack on GitHub (Mar 7, 2025).
System information
OS: Gentoo Linux 2.17 amd64
Compiler version: gcc version 14.2.1 20241221 (Gentoo Hardened 14.2.1_p20241221 p7)
Java version: openjdk 21.0.6 2025-01-21
Pkl commit:
18e7a7e87eDetails
I get the following error when running
./gradlew buildNative:Full build log
@bioball commented on GitHub (Mar 7, 2025):
This looks related: https://github.com/oracle/graal/issues/4076. See remediation here: https://github.com/oracle/graal/issues/4076#issuecomment-1304037035
By the way:
buildNativewill try to build two executables, using musl (statically linked) and glibc (dynamically linked), which we call alpine-linux and linux, respectively (if it finds the musl toolchain on the machine).Do you intend to build both? You can also choose to only build the dynamically linked executable with
./gradlew linuxExecutableAmd64.@sin-ack commented on GitHub (Mar 8, 2025):
Thanks for the tip re: variant; I think building the glibc version should be fine for now. Should this be kept open as a tracking issue or should it be closed?
@bioball commented on GitHub (Mar 8, 2025):
I don't think this one is on us to fix; it's something to do with native-image. I'll close this issue. Thanks!