8331541: [i386] linking with libjvm.so fails after JDK-8283326
authorVladimir Petko <vladimir.petko@canonical.com>
Thu, 27 Mar 2025 11:19:44 +0000 (12:19 +0100)
committerMatthias Klose <doko@ubuntu.com>
Thu, 27 Mar 2025 11:19:44 +0000 (12:19 +0100)
commit5d4ea4d994ada561874f3680392ffdb3fb4feb79
tree8d7e00c0bbada1e944a8ff4a20654e7a8d95e53f
parentbc909b6873037567d6b5d9f560aa813208c9363e
8331541: [i386] linking with libjvm.so fails after JDK-8283326

Origin: https://github.com/openjdk/jdk/pull/19048
Bug: https://bugs.openjdk.org/browse/JDK-8331541
Applied-Upstream: commit:2d622152b07bba0aba8fd5b1e24293e28d6e69f5
Last-Update: 2024-05-02

i386 declaration of _SafeFetch32_impl contains an underscore
that causes an undefined symbol in libjvm.so.
Disable -Wl,--allow-shlib-undefined link flag that allowed the
build to succeed.

Gbp-Pq: Name jdk-8331541.patch
make/autoconf/flags-ldflags.m4
src/hotspot/os_cpu/linux_x86/safefetch_linux_x86_32.S