<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">

<p style="color: #777777;">
<a href="https://gitlab.com/dueno">Daiki Ueno</a>
commented:
</p>
<div style="">
<p dir="auto">Thanks for the suggestion; afaik gnutls tried to remove the hard dependency on libpthread in favor of the glibc stubs, though it has never been complete as it's technically not possible to remove libpthread dependency from p11-kit (see <a href="https://github.com/p11-glue/p11-kit/pull/177" rel="nofollow noreferrer noopener" target="_blank">the reasoning</a>).</p>
<p dir="auto">I think the best way to handle this is to rely on the pthread module in gnulib, which adjusts <a href="https://git.savannah.gnu.org/cgit/gnulib.git/tree/m4/threadlib.m4#n558" rel="nofollow noreferrer noopener" target="_blank">compiler / linker flags</a> properly on different platforms.</p>
</div>


</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/issues/1044#note_369437941">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/-/sent_notifications/631f0615cb817140995e44ec72f879ad/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/-/issues/1044#note_369437941"}}</script>


</p>
</div>
</body>
</html>