[Bugs] [Bug 1510397] Compiler atomic built-ins are not correctly detected

bugzilla at redhat.com bugzilla at redhat.com
Tue Nov 14 05:22:32 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1510397



--- Comment #4 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18689 committed in master by \"Xavier
Hernandez\" <jahernan at redhat.com> with a commit message- libglusterfs/atomic:
Improved atomic support

This patch solves a detection problem in configure.ac that prevented
that compilation detects builtin __atomic or __sync functions.

It also adds more atomic types and support for other atomic functions.

An special case has been added to support 64-bit atomics on 32-bit
systems. The solution is to fallback to the mutex solution only for
64-bit atomics, but smaller atomic types will still take advantage
of builtins if available.

Change-Id: I6b9afc7cd6e66b28a33278715583552872278801
BUG: 1510397
Signed-off-by: Xavier Hernandez <jahernan at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=RqvZQNKOT6&a=cc_unsubscribe


More information about the Bugs mailing list