• Sergey Vojtovich's avatar
    MDEV-9128 - Compiling on IBM System Z fails · edf6354b
    Sergey Vojtovich authored
    Provided IBM System Z have outdated compiler version, which supports gcc sync
    builtins but not gcc atomic builtins. It also has weak memory model.
    
    InnoDB attempted to verify if __sync_lock_test_and_set() is available by
    checking IB_STRONG_MEMORY_MODEL. This macro has nothing to do with availability
    of __sync_lock_test_and_set(), the right one is HAVE_ATOMIC_BUILTINS.
    edf6354b
os0sync.h 29.3 KB