RFR: 8351322: Parameterize link option for pthreads [v2]
duke
duke at openjdk.org
Mon Mar 10 15:49:55 UTC 2025
On Sat, 8 Mar 2025 13:39:44 GMT, snake66 <duke at openjdk.org> wrote:
>> Replace hardcoded instances of `-lpthread` with `$(LIBPTHREAD)`, so that it's possible to parameterize this for platforms that use different flags for enabling posix threads.
>>
>> This work is a continuation of the work done by Greg Lewis in [1], but generalized for the full JDK, and set at the configure stage.
>>
>> Sponsored by: The FreeBSD Foundation
>> Co-authored-by: Greg Lewis <glewis at eyesbeyond.com>
>>
>> [1]: https://github.com/battleblow/jdk23u/commit/dbd90aa8ab0b7f5e4865864a7c63d975daacabf4
>
> snake66 has updated the pull request incrementally with three additional commits since the last revision:
>
> - Use shell var syntax in libraries.m4
> - Fix typo PTREAD->PTHREAD
> - Revert changes to make/Hsdis.gmk
@snake66
Your change (at version 469997239f26f59cd47df19fb9e836b883687487) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23930#issuecomment-2711042802
More information about the build-dev
mailing list