[Xcb] [Bug 98048] libpthread-stubs must NOT provide symbols which depend on actual implementation

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 6 18:02:19 UTC 2016


--- Comment #5 from Emil Velikov <emil.l.velikov at gmail.com> ---
I believe Ian's explanation perfectly reasonable, but let me try from another

libpthreads-stub must _not_ provide stub implementation for APIs that
absolutely requires locking/other. Would that be pthread_mutexattr_settype or
any other.

IIRC a modern GLIBC/Solaris already cover what can be stubbed. Everything else
simply requires an actual implementation.

In here's example: mesa's dri modules depend on setting up a recursive mutex,
which is something that cannot be ignored/stubbed.

mesa has been 'fixed' before the libpthreads-stub patch landed. If there's an
issue there, do poke me.

You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/xcb/attachments/20161006/4bee360e/attachment.html>

More information about the Xcb mailing list