<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - libpthread-stubs must NOT provide symbols which depend on actual implementation"
href="https://bugs.freedesktop.org/show_bug.cgi?id=98048#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - libpthread-stubs must NOT provide symbols which depend on actual implementation"
href="https://bugs.freedesktop.org/show_bug.cgi?id=98048">bug 98048</a>
from <span class="vcard"><a class="email" href="mailto:emil.l.velikov@gmail.com" title="Emil Velikov <emil.l.velikov@gmail.com>"> <span class="fn">Emil Velikov</span></a>
</span></b>
<pre>I believe Ian's explanation perfectly reasonable, but let me try from another
angle:
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>