Building device-mapper-multipath against glibc 2.34 results in the following build failure: util.c: In function 'setup_thread_attr': util.c:226:23: error: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Werror=sign-compare] 226 | if (stacksize < PTHREAD_STACK_MIN) | ^ cc1: all warnings being treated as errors make[1]: *** [../Makefile.inc:154: util.o] Error 1 The reason for the warning is that PTHREAD_STACK_MIN is now non-constant and has type long int. Previously its type was int, but it was a constant, so the compiler was able to suppress the warning.
*** Bug 1987420 has been marked as a duplicate of this bug. ***
Thanks for the heads-up. Fixed by patch 0023-libmultipath-deal-with-dynamic-PTHREAD_STACK_MIN.patch in device-mapper-multipath-0.8.6-5.fc35