[MacPorts] #71913: db48 build error with gcc: implicit declaration of function 'atomic_compare_exchange'
MacPorts
noreply at macports.org
Wed Jan 22 21:36:50 UTC 2025
#71913: db48 build error with gcc: implicit declaration of function
'atomic_compare_exchange'
---------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords:
Port: db48 |
---------------------------+--------------------
Comment (by barracuda156):
Yeah that is a bug in `db48`: it detects support for atomics and defines
`HAVE_ATOMIC_SUPPORT`, but then `dbinc/atomic.h` does not have a case
which defines `atomic_compare_exchange`. It works with gcc-4.2, because it
just does not support atomics, so a fallback is used.
--
Ticket URL: <https://trac.macports.org/ticket/71913#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list