RFR: JDK-8303973: Library detection in runtime/ErrorHandling/TestDwarf.java fails on ppc64le RHEL8.5 for libpthread-2.28.so

Matthias Baesken mbaesken at openjdk.org
Mon Mar 13 11:44:19 UTC 2023


The test fails with

[dwarf] ##### Find filename and line number for offset 0x000096a8 in library /lib64/glibc-hwcaps/power9/libpthread-2.28.so #####
[dwarf] Failed to load DWARF file for library /lib64/glibc-hwcaps/power9/libpthread-2.28.so or find DWARF sections directly inside it.

and in stderr

java.lang.RuntimeException: Must find library in "C [libpthread-2.28.so+0x96a8] start_thread+0xf8": expected true, was false

Looks like the '-' in the lib-name libpthread-2.28.so is currently not allowed in the pattern of the test. This is similar to [JDK-8293201](https://bugs.openjdk.org/browse/JDK-8293201) .

-------------

Commit messages:
 - JDK-8303973

Changes: https://git.openjdk.org/jdk/pull/12998/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12998&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8303973
  Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/12998.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12998/head:pull/12998

PR: https://git.openjdk.org/jdk/pull/12998


More information about the hotspot-runtime-dev mailing list