[MacPorts] #64683: bind-9.18.0 build fails when bind-9.16.26 is installed
MacPorts
noreply at macports.org
Fri Feb 18 23:11:41 UTC 2022
#64683: bind-9.18.0 build fails when bind-9.16.26 is installed
----------------------------+----------------------
Reporter: laughingtiger | Owner: jmroot
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: fixed | Keywords: monterey
Port: bind9 |
----------------------------+----------------------
Comment (by jmroot):
I'd get to upstreaming them eventually, but by all means feel free to beat
me to it. The Makefile.am changes are good to go as-is. The atomic stuff
is a bit dicier in terms of upstream. They might want to check if a clang
version that has the builtins is being used, which is harder than it
sounds because Apple's versioning scheme is different to llvm.org's and
AFAIK there's no feature test macro for those builtins. In my testing,
Apple clang 425.0.28 offers the builtins but fails with an internal error
when compiling the code that uses them, while Apple clang 77 doesn't claim
to have them. The const thing is definitely a legitimate issue that
they'll need to fix in order to support C11-compliant compilers, but
casting just to remove the const is kind of gross. But the only other
expedient fix would have been to remove const in a bunch of places where
it is being applied to entire structs and apart from this issue is quite
correct to use.
--
Ticket URL: <https://trac.macports.org/ticket/64683#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list