[libcxx-commits] [libcxx] [libc++] Fix FreeBSD atomic timed wait system call (PR #180400)
David Chisnall via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Feb 11 07:37:54 PST 2026
================
@@ -130,22 +130,20 @@ static void __platform_wake_by_address(void const* __ptr, bool __notify_one) {
template <std::size_t _Size>
static void __platform_wait_on_address(void const* __ptr, void const* __val, uint64_t __timeout_ns) {
static_assert(_Size == 8, "Can only wait on 8 bytes value");
----------------
davidchisnall wrote:
> So If I understand correctly, FreeBSD is stuck at the old ABI
There's a bit more nuance than that. The version that is installed as the system-wide C++ standard library is likely to be stuck with the old ABI for a long time. It's possible that FreeBSD 16 or 17 will do an SONAME bump and move to the new ABI, but that's quite painful. But statically linked things on FreeBSD, or things that ship their own dynamic libc++, are not bound by any libc++ ABI promises and so are free to move to the new one.
https://github.com/llvm/llvm-project/pull/180400
More information about the libcxx-commits
mailing list