[libc-commits] [libc] [libc] disable epoll_pwait2 due to breakage (PR #80051)
via libc-commits
libc-commits at lists.llvm.org
Tue Jan 30 12:06:32 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libc
Author: None (michaelrj-google)
<details>
<summary>Changes</summary>
It appears that sys_epoll_pwait2 isn't always available, so we need to
add some sort of condition to enable it. This patch disables it until
that happens.
---
Full diff: https://github.com/llvm/llvm-project/pull/80051.diff
1 Files Affected:
- (modified) libc/config/linux/x86_64/entrypoints.txt (+2-1)
``````````diff
diff --git a/libc/config/linux/x86_64/entrypoints.txt b/libc/config/linux/x86_64/entrypoints.txt
index 1764157da9a47..8a41a2e92ed9f 100644
--- a/libc/config/linux/x86_64/entrypoints.txt
+++ b/libc/config/linux/x86_64/entrypoints.txt
@@ -146,7 +146,8 @@ set(TARGET_LIBC_ENTRYPOINTS
# sys/epoll.h entrypoints
libc.src.sys.epoll.epoll_wait
libc.src.sys.epoll.epoll_pwait
- libc.src.sys.epoll.epoll_pwait2
+ # Need to check if pwait2 is available before providing.
+ # libc.src.sys.epoll.epoll_pwait2
# sys/mman.h entrypoints
libc.src.sys.mman.madvise
``````````
</details>
https://github.com/llvm/llvm-project/pull/80051
More information about the libc-commits
mailing list