[MacPorts] #72058: openssl3 @3.4.1 fails to build with Xcode gcc: error: redefinition of 'fallback_atomic_exchange_n_uint64_t'
MacPorts
noreply at macports.org
Thu Feb 13 16:20:16 UTC 2025
#72058: openssl3 @3.4.1 fails to build with Xcode gcc: error: redefinition of
'fallback_atomic_exchange_n_uint64_t'
--------------------------+------------------------
Reporter: barracuda156 | Owner: neverpanic
Type: defect | Status: assigned
Priority: High | Milestone:
Component: ports | Version: 2.10.5
Keywords: | Port: openssl3
--------------------------+------------------------
{{{
/usr/bin/gcc-4.2 -I. -Iinclude -Iproviders/common/include
-Iproviders/implementations/include -DAES_ASM -DOPENSSL_BN_ASM_MONT
-DOPENSSL_CPUID_OBJ -DPOLY1305_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM
-DVPAES_ASM -fPIC -fno-common -arch ppc -std=gnu9x
-Wa,-force_cpusubtype_ALL -pipe -Os -arch ppc -DB_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
-I/opt/local/include -c -o crypto/libcrypto-lib-threads_pthread.o
crypto/threads_pthread.c
/usr/bin/gcc-4.2 -I. -Iinclude -Iproviders/common/include
-Iproviders/implementations/include -DAES_ASM -DOPENSSL_BN_ASM_MONT
-DOPENSSL_CPUID_OBJ -DPOLY1305_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM
-DVPAES_ASM -fPIC -fno-common -arch ppc -std=gnu9x
-Wa,-force_cpusubtype_ALL -pipe -Os -arch ppc -DB_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
-I/opt/local/include -c -o crypto/libcrypto-lib-threads_win.o
crypto/threads_win.c
/usr/bin/gcc-4.2 -I. -Iinclude -Iproviders/common/include
-Iproviders/implementations/include -DAES_ASM -DOPENSSL_BN_ASM_MONT
-DOPENSSL_CPUID_OBJ -DPOLY1305_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM
-DVPAES_ASM -fPIC -fno-common -arch ppc -std=gnu9x
-Wa,-force_cpusubtype_ALL -pipe -Os -arch ppc -DB_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
-I/opt/local/include -c -o crypto/libcrypto-lib-time.o crypto/time.c
/usr/bin/gcc-4.2 -I. -Iinclude -Iproviders/common/include
-Iproviders/implementations/include -DAES_ASM -DOPENSSL_BN_ASM_MONT
-DOPENSSL_CPUID_OBJ -DPOLY1305_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM
-DVPAES_ASM -fPIC -fno-common -arch ppc -std=gnu9x
-Wa,-force_cpusubtype_ALL -pipe -Os -arch ppc -DB_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
-I/opt/local/include -c -o crypto/libcrypto-lib-trace.o crypto/trace.c
crypto/threads_pthread.c:214: error: redefinition of
'fallback_atomic_exchange_n_uint64_t'
crypto/threads_pthread.c:196: error: previous definition of
'fallback_atomic_exchange_n_uint64_t' was here
crypto/threads_pthread.c: In function 'update_qp':
crypto/threads_pthread.c:564: warning: implicit declaration of function
'fallback_atomic_compare_exchange_n_uint64_t'
crypto/threads_pthread.c:564: error: '__ATOMIC_ACQ_REL' undeclared (first
use in this function)
crypto/threads_pthread.c:564: error: (Each undeclared identifier is
reported only once
crypto/threads_pthread.c:564: error: for each function it appears in.)
crypto/threads_pthread.c:564: error: '__ATOMIC_RELAXED' undeclared (first
use in this function)
make[1]: *** [crypto/libcrypto-lib-threads_pthread.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_openssl3/openssl3/work/openssl-3.4.1'
make: *** [build_sw] Error 2
}}}
--
Ticket URL: <https://trac.macports.org/ticket/72058>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list