<!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=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>
<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<p class="details" style="font-style: italic; color: #777777;">
Project:Branches: ffontaine/gnutls:master → gnutls/gnutls:master
</p>
<div>
<p dir="auto">gnutls source code uses the C++11 atomic functionality since
<a href="https://github.com/gnutls/gnutls/commit/7978a733460f92b31033affd0e487c86d66c643d" rel="nofollow noreferrer noopener" target="_blank">https://github.com/gnutls/gnutls/commit/7978a733460f92b31033affd0e487c86d66c643d</a>,
which internally is implemented using the _<em>atomic</em>*() gcc built-ins</p>
<p dir="auto">On certain architectures, the <code>__atomic_*()</code> built-ins are implemented in
the libatomic library that comes with the rest of the gcc runtime. Due
to this, code using might need to link against libatomic,
otherwise one hits build issues such as:</p>
<p dir="auto">../lib/.libs/libgnutls.so: undefined reference to `__atomic_fetch_sub_4'</p>
<p dir="auto">on an architecture like SPARC.</p>
<p dir="auto">To solve this, a configure.ac check is added to know if we need to
link against libatomic or not. The library is also added to gnutls.pc.</p>
<p dir="auto">Fixes:</p>
<ul dir="auto">
<li><a href="http://autobuild.buildroot.org/results/6c749bd592ceffeacadd2ab570d127936cce64b2" rel="nofollow noreferrer noopener" target="_blank">http://autobuild.buildroot.org/results/6c749bd592ceffeacadd2ab570d127936cce64b2</a></li>
<li><a href="http://autobuild.buildroot.org/results/30aa83d3cf3482af8a59250c196c85f4a278d343" rel="nofollow noreferrer noopener" target="_blank">http://autobuild.buildroot.org/results/30aa83d3cf3482af8a59250c196c85f4a278d343</a></li>
</ul>
</div>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777777;">
—
<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/merge_requests/878">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/2e19def7de6997808589c8be0c00c5ee/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 Merge request","url":"https://gitlab.com/gnutls/gnutls/merge_requests/878"}}</script>
</p>
</div>
</body>
</html>