New comment by leahneukirchen on void-packages repository https://github.com/void-linux/void-packages/pull/45056#issuecomment-1664267568 Comment: You need to patch /mandrel-mandrel-23.0.0.0-Final/substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/c/libc/HostedMuslLibC.java `getAdditionalLinkerOptions` which hard-codes `-no-pie`.