[Mesa-dev] [Bug 102573] fails to build on armel

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 28 16:46:13 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=102573

Andreas Boll <andreas.boll.dev at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Andreas Boll <andreas.boll.dev at gmail.com> ---
(In reply to Juan A. Suarez from comment #6)
> Patches landed in master
> 
> https://patchwork.freedesktop.org/series/30551/
> 
> 
> Is this fixed?

Yeah, it's fixed [1]. Please cherry-pick commit 2ef7f23820a for 17.2.2.

Thanks,
Andreas

[1]
https://buildd.debian.org/status/fetch.php?pkg=mesa&arch=armel&ver=17.2.1-2&stamp=1506426795&raw=0


Fixed by:

commit 2ef7f23820a67e958c2252bd81eb0458903ebf33
Author: Grazvydas Ignotas <notasas at gmail.com>
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:
    https://gcc.gnu.org/wiki/Atomic/GCCMM

    Fixes: 8915f0c0 "util: use GCC atomic intrinsics with explicit memory
model"
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102573
    Signed-off-by: Grazvydas Ignotas <notasas at gmail.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170928/97c6c3a1/attachment.html>


More information about the mesa-dev mailing list