<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:andreas.boll.dev@gmail.com" title="Andreas Boll <andreas.boll.dev@gmail.com>"> <span class="fn">Andreas Boll</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - fails to build on armel"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102573">bug 102573</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - fails to build on armel"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102573#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - fails to build on armel"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102573">bug 102573</a>
from <span class="vcard"><a class="email" href="mailto:andreas.boll.dev@gmail.com" title="Andreas Boll <andreas.boll.dev@gmail.com>"> <span class="fn">Andreas Boll</span></a>
</span></b>
<pre>(In reply to Juan A. Suarez from <a href="show_bug.cgi?id=102573#c6">comment #6</a>)
<span class="quote">> Patches landed in master
>
> <a href="https://patchwork.freedesktop.org/series/30551/">https://patchwork.freedesktop.org/series/30551/</a>
>
>
> Is this fixed?</span >
Yeah, it's fixed [1]. Please cherry-pick commit 2ef7f23820a for 17.2.2.
Thanks,
Andreas
[1]
<a href="https://buildd.debian.org/status/fetch.php?pkg=mesa&arch=armel&ver=17.2.1-2&stamp=1506426795&raw=0">https://buildd.debian.org/status/fetch.php?pkg=mesa&arch=armel&ver=17.2.1-2&stamp=1506426795&raw=0</a>
Fixed by:
commit 2ef7f23820a67e958c2252bd81eb0458903ebf33
Author: Grazvydas Ignotas <<a href="mailto:notasas@gmail.com">notasas@gmail.com</a>>
Date: Mon Sep 18 22:11:26 2017 +0300
configure: check if -latomic is needed for __atomic_*
On some platforms, gcc generates library calls when __atomic_* functions
are used, but does not link the required library (libatomic) automatically
(supposedly to allow the app to use some other atomics implementation?).
Detect this at configure time and add the library when needed. Tested
on armel (library was added) and on x86_64 (was not, as expected).
Some documentation on this is provided in GCC wiki:
<a href="https://gcc.gnu.org/wiki/Atomic/GCCMM">https://gcc.gnu.org/wiki/Atomic/GCCMM</a>
Fixes: 8915f0c0 "util: use GCC atomic intrinsics with explicit memory
model"
Bugzilla: <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - fails to build on armel"
href="show_bug.cgi?id=102573">https://bugs.freedesktop.org/show_bug.cgi?id=102573</a>
Signed-off-by: Grazvydas Ignotas <<a href="mailto:notasas@gmail.com">notasas@gmail.com</a>>
Reviewed-by: Matt Turner <<a href="mailto:mattst88@gmail.com">mattst88@gmail.com</a>>
Reviewed-by: Emil Velikov <<a href="mailto:emil.velikov@collabora.com">emil.velikov@collabora.com</a>></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>