[all-commits] [llvm/llvm-project] af7467: [libcxx][libcxxabi] Fix build for OpenBSD (#92186)

John Ericson via All-commits all-commits at lists.llvm.org
Fri May 17 13:49:25 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af7467ce9f447d6fe977b73db1f03a18d6bbd511
      https://github.com/llvm/llvm-project/commit/af7467ce9f447d6fe977b73db1f03a18d6bbd511
  Author: John Ericson <John.Ericson at Obsidian.Systems>
  Date:   2024-05-17 (Fri, 17 May 2024)

  Changed paths:
    M libcxx/src/atomic.cpp
    M libcxx/src/chrono.cpp
    M libcxxabi/src/cxa_guard_impl.h

  Log Message:
  -----------
  [libcxx][libcxxabi] Fix build for OpenBSD (#92186)

- No indirect syscalls on OpenBSD. Instead there is a `futex` function
which issues a direct syscall.

- Monotonic clock is available despite the full POSIX suite of timers
not being available in its entirety.

  See https://lists.boost.org/boost-bugs/2015/07/41690.php and
  https://github.com/boostorg/log/commit/c98b1f459add14d5ce3e9e63e2469064601d7f71
  for a description of an analogous problem and fix for Boost.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list