undefined symbols in libjvm.so
Vladimir Petko
vladimir.petko at canonical.com
Mon May 6 19:57:16 UTC 2024
Hi,
I have recently encountered bugs caused by undefined symbols in
libjvm.so[1][2]. The root cause of those issues is the expression in
make/autoconf/flags-ldflags.m4:
---
if test "x$TOOLCHAIN_TYPE" = xgcc; then
EXECUTABLE_LDFLAGS="$EXECUTABLE_LDFLAGS -Wl,--allow-shlib-undefined"
...
--
OpenJDK master builds fine after fixing[1] on the following
architectures: amd64, i386, armhf, arm64, s390, ppc64el and riscv64.
Would it be possible to consider removing -Wl,--allow-shlib-undefined
from the build flags?
Best Regards,
Vladimir.
[1] https://bugs.openjdk.org/browse/JDK-8331541
[2] https://bugs.openjdk.org/browse/JDK-8329983
More information about the build-dev
mailing list