GNOME Bugzilla – Bug 731513
clang: build failure: implicit declaration of function '__atomic_load_4'
Last modified: 2014-06-20 20:01:33 UTC
GLib build has failed for several days on FreeBSD.
Here is the build log:
fwiw, it also happens with clang on linux in the exact same way
Created attachment 278868 [details] [review]
gatomic: disable GCC extension atomics for clang
clang defines the macro that we use to test for GCC's extension support
for C11 atomics, but doesn't define the extension in the same way.
Check for clang and disable the macros again if we find it.
Attachment 278868 [details] pushed as bef557e - gatomic: disable GCC extension atomics for clang