RFR: 8345810: Custom launchers must be linked with pthread to avoid dynamic linker issues
Aleksey Shipilev
shade at openjdk.org
Thu Aug 28 14:35:42 UTC 2025
On Thu, 28 Aug 2025 12:45:47 GMT, David Holmes <dholmes at openjdk.org> wrote:
> Looks okay, though don't hotspot tests need the same fix in JtregNativeHotspot.gmk?
Hm. I have not seen any hotspot test failures, and I only did the changes that fix the broken tests. If I understand the build files correctly, Hotspot's jtreg executables link with `pthread` already: https://github.com/openjdk/jdk/blob/master/make/test/JtregNativeHotspot.gmk#L143
Maybe the `BUILD_JDK_JTREG_EXECUTABLES` should just do the same? Let me try...
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26978#issuecomment-3233749977
More information about the core-libs-dev
mailing list