[openssl/openssl] d39de4: Never use `__atomic_*` on macOS 10.7 and 10.8
    Tomas Mraz 
    noreply at reply.github.openssl.org
       
    Fri Apr 22 13:25:49 UTC 2022
    
    
  
  Branch: refs/heads/master
  Home:   https://github.openssl.org/openssl/openssl
  Commit: d39de4792dbdb6ab5f78c79d52d0210b44584538
      https://github.openssl.org/openssl/openssl/commit/d39de4792dbdb6ab5f78c79d52d0210b44584538
  Author: Kirill A. Korinsky <kirill at korins.ky>
  Date:   2022-04-22 (Fri, 22 Apr 2022)
  Changed paths:
    M crypto/threads_pthread.c
  Log Message:
  -----------
  Never use `__atomic_*` on macOS 10.7 and 10.8
macOS 10.7 and 10.8 had a bit wired clang which is detected as
`__GNUC__` which has `__ATOMIC_ACQ_REL` but it excepts one option at
`__atomic_is_lock_free` instead of 2.
This prevents OpenSSL to be compiled on such systems.
Fixes: #18055
Signed-off-by: Kirill A. Korinsky <kirill at korins.ky>
Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18056)
    
    
More information about the openssl-commits
mailing list