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

Reply via email to