JDK-8303973 : Library detection in runtime/ErrorHandling/TestDwarf.java fails on ppc64le RHEL8.5 for libpthread-2.28.so
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: generic
  • Submitted: 2023-03-10
  • Updated: 2023-03-21
  • Resolved: 2023-03-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 21
21 b14Fixed
Description
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 .
Comments
Changeset: b6d70f2c Author: Matthias Baesken <mbaesken@openjdk.org> Date: 2023-03-14 08:08:28 +0000 URL: https://git.openjdk.org/jdk/commit/b6d70f2c49da6f99e3a0a84b1df6e3d48c7e2e58
14-03-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/12998 Date: 2023-03-13 11:37:27 +0000
13-03-2023