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

Andreas Boll <[email protected]> changed:

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

--- Comment #7 from Andreas Boll <[email protected]> ---
(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 <[email protected]>
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 <[email protected]>
    Reviewed-by: Matt Turner <[email protected]>
    Reviewed-by: Emil Velikov <[email protected]>

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to