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

bugzilla at redhat.com bugzilla at redhat.com
Tue Nov 7 10:14:22 UTC 2017


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

            Bug ID: 1510397
           Summary: Compiler atomic built-ins are not correctly detected
           Product: GlusterFS
           Version: mainline
         Component: build
          Assignee: bugs at gluster.org
          Reporter: jahernan at redhat.com
                CC: bugs at gluster.org



Description of problem:

__sync and __atomic built-ins are not correctly detected by configure.ac.

Version-Release number of selected component (if applicable):


How reproducible: Always


Steps to Reproduce:
1. ./autogen.sh && ./configure

Actual results:

Macros HAVE_ATOMIC_BUILTINS and HAVE_SYNC_BUILTINS in config.h are not defined,
compiling all the code using mutexes instead of atomic operations.

Expected results:

Those macros should be defined if compiler supports them.

Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list