Created attachment 112394 [details] [review] Proposed patch The non-portable version of PTHREAD_MUTEX_RECURSIVE is used since older glibc didn't have the POSIX version. The attached patch makes the code only fall back to PTHREAD_MUTEX_RECURSIVE_NP if PTHREAD_MUTEX_RECURSIVE is not defined. This fixes compilation with other libcs such as musl, which don't have the nonstandard version.
Patch now sent instead to mesa-dev.
Thanks for the patch. Pushed to master commit aead7fe2e2b6c89258f80a25299f4ec0fece2d95 Author: Felix Janda <felix.janda@posteo.de> Date: Mon Feb 2 20:04:16 2015 +0100 c11/threads: Use PTHREAD_MUTEX_RECURSIVE by default
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.