[MacPorts] #72075: openssl3-3.4.1_0+universal can't build on macOS 10.13.6 (High Sierra)

MacPorts noreply at macports.org
Mon Feb 17 01:26:27 UTC 2025


#72075: openssl3-3.4.1_0+universal can't build on macOS 10.13.6 (High Sierra)
---------------------+----------------------
 Reporter:  manbaum  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.10.5
 Keywords:           |       Port:  openssl3
---------------------+----------------------
 The reason for the build terminate is redefinition of
 'fallback_atomic_exchange_n_uint64_t'.

 {{{
 /opt/local/libexec/clang-11-bootstrap/bin/clang  -I. -Iinclude
 -Iproviders/common/include -Iproviders/implementations/include  -DAES_ASM
 -DBSAES_ASM -DCMLL_ASM -DECP_NISTZ256_ASM -DGHASH_ASM -DKECCAK1600_ASM
 -DMD5_ASM -DOPENSSL_BN_ASM_GF2m -DOPENSSL_BN_ASM_MONT
 -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2
 -DPOLY1305_ASM -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DVPAES_ASM
 -DWHIRLPOOL_ASM -DX25519_ASM -fPIC -arch x86_64 -pipe -Os -arch x86_64
 -DL_ENDIAN -DOPENSSL_PIC
 -DOPENSSLDIR="\"/opt/local/libexec/openssl3/etc/openssl\""
 -DENGINESDIR="\"/opt/local/libexec/openssl3/lib/engines-3\""
 -DMODULESDIR="\"/opt/local/libexec/openssl3/lib/ossl-modules\""
 -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -DZLIB -DNDEBUG
 -DBROKEN_CLANG_ATOMICS -I/opt/local/include -MMD -MF crypto/libcrypto-lib-
 threads_win.d.tmp -c -o crypto/libcrypto-lib-threads_win.o
 crypto/threads_win.c
 crypto/threads_pthread.c:214:1: error: redefinition of
 'fallback_atomic_exchange_n_uint64_t'
 IMPL_fallback_atomic_exchange_n(uint64_t)
 ^
 crypto/threads_pthread.c:186:26: note: expanded from macro
 'IMPL_fallback_atomic_exchange_n'
     static ossl_inline t fallback_atomic_exchange_n_##t(t *p, t v)
 \
                          ^
 <scratch space>:76:1: note: expanded from here
 fallback_atomic_exchange_n_uint64_t
 ^
 crypto/threads_pthread.c:196:1: note: previous definition is here
 IMPL_fallback_atomic_exchange_n(uint64_t)
 ^
 crypto/threads_pthread.c:186:26: note: expanded from macro
 'IMPL_fallback_atomic_exchange_n'
     static ossl_inline t fallback_atomic_exchange_n_##t(t *p, t v)
 \
                          ^
 <scratch space>:74:1: note: expanded from here
 fallback_atomic_exchange_n_uint64_t
 ^
 crypto/threads_pthread.c:564:10: warning: implicit declaration of function
 'fallback_atomic_compare_exchange_n_uint64_t' is invalid in C99
 [-Wimplicit-function-declaration]
     if (!ATOMIC_COMPARE_EXCHANGE_N(uint64_t,
 &lock->qp_group[current_idx].users, &ret, update,
          ^
 crypto/threads_pthread.c:216:55: note: expanded from macro
 'ATOMIC_COMPARE_EXCHANGE_N'
 #  define ATOMIC_COMPARE_EXCHANGE_N(t, p, e, d, s, f)
 fallback_atomic_compare_exchange_n_##t(p, e, d, s, f)
                                                       ^
 <scratch space>:90:1: note: expanded from here
 fallback_atomic_compare_exchange_n_uint64_t
 ^
 1 warning and 1 error generated.
 }}}

 The full log is attached below.

-- 
Ticket URL: <https://trac.macports.org/ticket/72075>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list