[libc-commits] [libc] [libc] Disable dl_iterate_phdr entrypoint for linux fullbuild (PR #131893)
Roland McGrath via libc-commits
libc-commits at lists.llvm.org
Tue Mar 18 12:23:42 PDT 2025
https://github.com/frobtech created https://github.com/llvm/llvm-project/pull/131893
There are some issues with typedef conflicts between libc headers
and Linux kernel headers arising. Disable building the new code
for Linux for now.
>From f21eb18dee2b006531823fb68680a89f37bbb0b3 Mon Sep 17 00:00:00 2001
From: Roland McGrath <mcgrathr at google.com>
Date: Tue, 18 Mar 2025 12:19:54 -0700
Subject: [PATCH] [libc] Disable dl_iterate_phdr entrypoint for linux fullbuild
There are some issues with typedef conflicts between libc headers
and Linux kernel headers arising. Disable building the new code
for Linux for now.
---
libc/config/linux/aarch64/entrypoints.txt | 3 ---
libc/config/linux/riscv/entrypoints.txt | 3 ---
libc/config/linux/x86_64/entrypoints.txt | 3 ---
3 files changed, 9 deletions(-)
diff --git a/libc/config/linux/aarch64/entrypoints.txt b/libc/config/linux/aarch64/entrypoints.txt
index 6d42fda5b5f49..ab1917259519b 100644
--- a/libc/config/linux/aarch64/entrypoints.txt
+++ b/libc/config/linux/aarch64/entrypoints.txt
@@ -842,9 +842,6 @@ if(LLVM_LIBC_FULL_BUILD)
libc.src.arpa.inet.ntohl
libc.src.arpa.inet.ntohs
- # link.h entrypoints
- libc.src.link.dl_iterate_phdr
-
# pthread.h entrypoints
libc.src.pthread.pthread_atfork
libc.src.pthread.pthread_attr_destroy
diff --git a/libc/config/linux/riscv/entrypoints.txt b/libc/config/linux/riscv/entrypoints.txt
index 75e845925e691..4b69e43bce37d 100644
--- a/libc/config/linux/riscv/entrypoints.txt
+++ b/libc/config/linux/riscv/entrypoints.txt
@@ -795,9 +795,6 @@ if(LLVM_LIBC_FULL_BUILD)
libc.src.arpa.inet.ntohl
libc.src.arpa.inet.ntohs
- # link.h entrypoints
- libc.src.link.dl_iterate_phdr
-
# pthread.h entrypoints
libc.src.pthread.pthread_atfork
libc.src.pthread.pthread_attr_destroy
diff --git a/libc/config/linux/x86_64/entrypoints.txt b/libc/config/linux/x86_64/entrypoints.txt
index bb3c30157b0ce..a29478898fe70 100644
--- a/libc/config/linux/x86_64/entrypoints.txt
+++ b/libc/config/linux/x86_64/entrypoints.txt
@@ -960,9 +960,6 @@ if(LLVM_LIBC_FULL_BUILD)
libc.src.arpa.inet.ntohl
libc.src.arpa.inet.ntohs
- # link.h entrypoints
- libc.src.link.dl_iterate_phdr
-
# pthread.h entrypoints
libc.src.pthread.pthread_atfork
libc.src.pthread.pthread_attr_destroy
More information about the libc-commits
mailing list