Home
last modified time | relevance | path

Searched hist:bbe1f9bf (Results 1 – 1 of 1) sorted by relevance

/aoo42x/main/sal/osl/unx/
H A Dmutex.cdiff bbe1f9bf Tue Mar 07 12:15:56 UTC 2023 20kdc <asdd2808@gmail.com> Auto-disable use of pthread_mutexattr_setkind_np due to compile errors (Revised-Revised)

The code being disabled here causes a compilation issue on Ubuntu Jammy Jellyfish. (undefined reference to `pthread_mutexattr_setkind_np`) The best I can tell, https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2003146 explains this somewhat.

This workaround likely hasn't been necessary for the past 20 years, if glibc "converted to git" repositories are any indication (see for instance https://github.com/lattera/glibc/blob/d82e4c7bb231c9e0f835bd46467563ac3b56cebe/linuxthreads/sysdeps/pthread/pthread.h ).

And indeed, anyone who would be attempting to run OpenOffice on such a system would likely encounter issues with the other varied libraries in use.

Unfortunately other compilation issues prevented me from performing a full test, but osl mutex tests pass at least.

(cherry picked from commit 02cabb04b49373d08a7dec0ed934e6f30ac72dc8)

Completed in 17 milliseconds