On Thu, 6 Mar 2025 15:47:58 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:
>> What is the intended way of using this? Do you run make with >> `LIBPTHREAD=-pthread` or do you apply a patch on `libraries.m4` for the >> specific way of linking to pthread? > >> What is the intended way of using this? Do you run make with >> LIBPTHREAD=-pthread or do you apply a patch on libraries.m4 for the specific >> way of linking to pthread? > > This is in preparation of the upcoming BSD port, which uses `-pthread` > instead of `-pthread`. It was me who suggested that this is done separately > with the existing code, to minimize the patch of the BSD port. @magicus why can't we just use `-pthread` everywhere? My recollection is that `-pthread` both sets compiler directives needed for pthread programming and links to libpthread, so it seems to be what we should be using. ?? ------------- PR Comment: https://git.openjdk.org/jdk/pull/23930#issuecomment-2705227213