After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 731513 - clang: build failure: implicit declaration of function '__atomic_load_4'
clang: build failure: implicit declaration of function '__atomic_load_4'
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: build
2.41.x
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2014-06-11 10:25 UTC by Ting-Wei Lan
Modified: 2014-06-20 20:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gatomic: disable GCC extension atomics for clang (1.02 KB, patch)
2014-06-20 20:00 UTC, Allison Karlitskaya (desrt)
committed Details | Review

Description Ting-Wei Lan 2014-06-11 10:25:34 UTC
GLib build has failed for several days on FreeBSD.
Here is the build log:

http://jhbuild.csie.org:9080/20140611/glib.html
Comment 1 Edward Hervey 2014-06-20 07:53:07 UTC
fwiw, it also happens with clang on linux in the exact same way
Comment 2 Allison Karlitskaya (desrt) 2014-06-20 20:00:51 UTC
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.
Comment 3 Allison Karlitskaya (desrt) 2014-06-20 20:01:30 UTC
Attachment 278868 [details] pushed as bef557e - gatomic: disable GCC extension atomics for clang