It was because on some platforms ./configure test looking for __atomic_* passes because it's a compile (not link) test, even when the compiler inserts library calls instead of actual implementation. It looks like the correct solution is to link against libatomic (which I was not aware of at that time) and drop these from u_atomic.c (amend it to 1/2?).
GraÅžvydas On Thu, Sep 14, 2017 at 10:08 PM, Matt Turner <[email protected]> wrote: > Grazvydas, > > I noticed that there are some __atomic functions in this file, but I'm > not sure what they do or why they're necessary. Remind me? > > Thanks, > Matt _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
