[libc-commits] [libc] 576c4df - [libc] disable epoll_pwait2 due to breakage (#80051)

via libc-commits libc-commits at lists.llvm.org
Tue Jan 30 13:08:41 PST 2024


Author: michaelrj-google
Date: 2024-01-30T13:08:37-08:00
New Revision: 576c4dfa067fa767818a0d80c7072a64c221384e

URL: https://github.com/llvm/llvm-project/commit/576c4dfa067fa767818a0d80c7072a64c221384e
DIFF: https://github.com/llvm/llvm-project/commit/576c4dfa067fa767818a0d80c7072a64c221384e.diff

LOG: [libc] disable epoll_pwait2 due to breakage (#80051)

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.

Added: 
    

Modified: 
    libc/config/linux/x86_64/entrypoints.txt

Removed: 
    


################################################################################
diff  --git a/libc/config/linux/x86_64/entrypoints.txt b/libc/config/linux/x86_64/entrypoints.txt
index 1764157da9a47..a03efa89b8e8e 100644
--- a/libc/config/linux/x86_64/entrypoints.txt
+++ b/libc/config/linux/x86_64/entrypoints.txt
@@ -146,7 +146,9 @@ 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
+    # TODO: Need to check if pwait2 is available before providing.
+    # https://github.com/llvm/llvm-project/issues/80060
+    # libc.src.sys.epoll.epoll_pwait2
 
     # sys/mman.h entrypoints
     libc.src.sys.mman.madvise


        


More information about the libc-commits mailing list