[MacPorts] #70444: bind9 @9.20.0 on macOS 10.11.6 needs a more recent compiler
MacPorts
noreply at macports.org
Wed Jul 24 20:10:16 UTC 2024
#70444: bind9 @9.20.0 on macOS 10.11.6 needs a more recent compiler
-----------------------+------------------------
Reporter: snowflake | Owner: danielluke
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.99
Keywords: | Port: bind9
-----------------------+------------------------
The system compiler on this old version of macOS is not up to the job any
more.
Here's the first error:
{{{
netmgr/netmgr.c:2396:10: error: address argument to atomic operation must
be a pointer to non-const _Atomic type ('const isc_refcount_t *' (aka
'const _Atomic(uint_fast32_t) *') invalid)
REQUIRE(VALID_NMHANDLE(handle));
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
netmgr/netmgr-int.h:243:3: note: expanded from macro 'VALID_NMHANDLE'
atomic_load(&(t)->references) > 0)
}}}
I build it successfully with configure.compiler=macports-clang-16
{{{
sudo port clean bind9
sudo port -s upgrade bind9 configure.compiler=macports-clang-16
}}}
--
Ticket URL: <https://trac.macports.org/ticket/70444>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list