[MacPorts] #67446: pika @0.22.1: some failures with clang builds
MacPorts
noreply at macports.org
Sat Feb 3 18:02:41 UTC 2024
#67446: pika @0.22.1: some failures with clang builds
---------------------------+--------------------------
Reporter: barracuda156 | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.1
Resolution: | Keywords: x86_64, i386
Port: pika |
---------------------------+--------------------------
Comment (by kencu):
I'm a bit confused about the aligned allocation flag need.
Libcxx supports aligned allocations on all systems > 10.6 (ie that have
posix_memalign) and possibly earlier systems with the additions I made to
legacy support to add posix_memalign there.
I have not seen errors related to lack of aligned allocation in libcxx on
older systems that I can recall.
There is a thing about a C11 aligned_alloc in clang:
https://github.com/llvm/llvm-
project/blob/0ed02621b9d87342daff0dcd9014319d4eeb2735/libcxx/include/__config#L939
{{{
# if defined(__APPLE__)
# if (defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) &&
\
__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 101500)
# define _LIBCPP_HAS_NO_C11_ALIGNED_ALLOC
# endif
}}}
but that is supposed to be taken care of by the test in the block there...
so I'm not sure what is going on with the need to disable aligned
allocations in the previous commit.
--
Ticket URL: <https://trac.macports.org/ticket/67446#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list