[MacPorts] #64947: openssl3: can be build on macOS 10.7
MacPorts
noreply at macports.org
Tue Apr 5 20:50:37 UTC 2022
#64947: openssl3: can be build on macOS 10.7
--------------------+----------------------
Reporter: catap | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: openssl3
--------------------+----------------------
A naive attempt to build it from scratch is failed as:
{{{
crypto/threads_pthread.c:192:45: error: too many arguments to function
call, expected 1, have 2
if (__atomic_is_lock_free(sizeof(*val), val)) {
~~~~~~~~~~~~~~~~~~~~~ ^~~
crypto/threads_pthread.c:193:16: warning: implicit declaration of function
'__atomic_add_fetch' is invalid in C99 [-Wimplicit-function-declaration]
*ret = __atomic_add_fetch(val, amount, __ATOMIC_ACQ_REL);
^
crypto/threads_pthread.c:219:45: error: too many arguments to function
call, expected 1, have 2
if (__atomic_is_lock_free(sizeof(*val), val)) {
~~~~~~~~~~~~~~~~~~~~~ ^~~
crypto/threads_pthread.c:220:16: warning: implicit declaration of function
'__atomic_or_fetch' is invalid in C99 [-Wimplicit-function-declaration]
*ret = __atomic_or_fetch(val, op, __ATOMIC_ACQ_REL);
^
crypto/threads_pthread.c:244:45: error: too many arguments to function
call, expected 1, have 2
if (__atomic_is_lock_free(sizeof(*val), val)) {
~~~~~~~~~~~~~~~~~~~~~ ^~~
crypto/threads_pthread.c:245:33: error: too many arguments to function
call, expected 2, have 3
__atomic_load(val, ret, __ATOMIC_ACQUIRE);
~~~~~~~~~~~~~ ^
<built-in>:13:26: note: expanded from macro '__ATOMIC_ACQUIRE'
#define __ATOMIC_ACQUIRE 2
^
2 warnings and 4 errors generated.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/64947>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list