[MacPorts] #69786: R-quanteda now fails on 10.12 and earlier with libc++: error: aligned deallocation function of type 'void (void *, std::align_val_t) noexcept' is only available on macOS 10.13 or newer
MacPorts
noreply at macports.org
Fri May 24 07:32:52 UTC 2024
#69786: R-quanteda now fails on 10.12 and earlier with libc++: error: aligned
deallocation function of type 'void (void *, std::align_val_t) noexcept' is
only available on macOS 10.13 or newer
-------------------------+-------------------------------------------------
Reporter: | Owner: (none)
barracuda156 |
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Resolution: | Keywords: sierra, elcapitan, yosemite,
| mavericks, mountainlion, lion, snowleopard,
Port: R-quanteda | leopard, tiger
-------------------------+-------------------------------------------------
Comment (by barracuda156):
Replying to [comment:1 aeiouaeiouaeiouaeiouaeiouaeiou]:
> This can definitely be fixed by adding the {{{-fno-aligned-allocation}}}
flag to CXX environment, but this trick doesn't work with the GCC compiler
(mentioned in [https://github.com/macports/macports-
ports/blob/ecaaceb301205f2e1e8008d15c6f44b4cb4ba4a7/science/madness/Portfile#L107
madness portfile]).
We do not have a problem with GCC here, it builds fine on my 10.6.
(Perhaps it may fail with gcc + `libc++`, but such a configuration is not
used anywhere presently.)
--
Ticket URL: <https://trac.macports.org/ticket/69786#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list