This question belongs on build-dev. I've cc:ed that list, please keep
future discussions there and not in jdk-dev. I'll repsond to your
question in build-dev.
/Magnus
On 2025-03-07 16:28, Harald Eilertsen wrote:
Hi,
I've made a small patch to parameterize how support for pthreads is
enables in the makefiles. This should not make any difference to
existing builds, but running make with COMPARE_BUILD like this:
make jdk-image test-image COMPARE_BUILD=PATCH=pthread-diff.patch
I get the following results indicating that there are differences in
libjvm.so:
https://cryptpad.fr/code/#/2/code/view/t1NVNd5bPzuxVBfEgDKSrt2rLazJaFcFFRimYq6h1-0/
I could use some help analyzing this output.
The full patch is here:
https://cryptpad.fr/code/#/2/code/view/2bB0IOCAyG+RZTUSiUQE3g5skfYr2TE7Vx+XYO5a8wY/
The only difference I can see in the generated configure and makefiles
is the added `LIBPTHREAD` variable in spec.gmk.
Thanks in adcance,
Harald