[libcxx-commits] [PATCH] D76632: [libc++] Do not use futex if LIBCXX_HAS_MUSL_LIBC is ON

Pengxuan Zheng via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Mar 23 15:48:56 PDT 2020


pzheng abandoned this revision.
pzheng added a comment.

In D76632#1937829 <https://reviews.llvm.org/D76632#1937829>, @bcain wrote:

> In D76632#1937702 <https://reviews.llvm.org/D76632#1937702>, @pzheng wrote:
>
> > The build actually fails because of "#include <linux/futex.h>". Musl does not have this header file and the build fails with a missing header file error.
>
>
> Maybe that header is supposed to come from the kernel and not the C library.


You are right! This is actually from the linux kernel and not from glibc or musl. Thanks for pointing this out.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76632/new/

https://reviews.llvm.org/D76632





More information about the libcxx-commits mailing list