On Mon, 22 Sep 2025 12:38:45 GMT, Matthias Baesken <[email protected]> wrote:
> A couple of JDK native libs link to $(LIBPTHREAD) but the dependency is not > needed. > > libsctp has no `pthread*` calls so most likely we can omit $(LIBPTHREAD). > libawt_xawt only uses `pthread_self()` ; so on Linux it links without adding > $(LIBPTHREAD) because it then uses `pthread_self() `from glibc; however it > might still be better to link $(LIBPTHREAD) in this special case. This pull request has now been integrated. Changeset: 0a64358a Author: Matthias Baesken <[email protected]> URL: https://git.openjdk.org/jdk/commit/0a64358aa82930e2bd323fcec2c1cb269ee200e0 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod 8368273: LIBPTHREAD dependency is not needed for some jdk libs Reviewed-by: ihse ------------- PR: https://git.openjdk.org/jdk/pull/27426
