[libc-commits] [libc] 3ab0c51 - [libc] Add missing `dl_iterate_phdr` dependencies to avoid spurious build failures (#201574)
via libc-commits
libc-commits at lists.llvm.org
Sat Jun 6 09:28:48 PDT 2026
Author: Nikita Taranov
Date: 2026-06-06T12:28:44-04:00
New Revision: 3ab0c5109ed2bfe3baffbd8f62cd85de3983daab
URL: https://github.com/llvm/llvm-project/commit/3ab0c5109ed2bfe3baffbd8f62cd85de3983daab
DIFF: https://github.com/llvm/llvm-project/commit/3ab0c5109ed2bfe3baffbd8f62cd85de3983daab.diff
LOG: [libc] Add missing `dl_iterate_phdr` dependencies to avoid spurious build failures (#201574)
Example:
https://github.com/llvm/llvm-project/actions/runs/26945498241/job/79504837451?pr=201452
"Spurious" means, in this case, that the build may succeed or fail
depending on whether the files were generated before the dependent is
built.
Added:
Modified:
libc/src/link/CMakeLists.txt
Removed:
################################################################################
diff --git a/libc/src/link/CMakeLists.txt b/libc/src/link/CMakeLists.txt
index ae2b1df6ea71a..5f0bbcd3a4f4e 100644
--- a/libc/src/link/CMakeLists.txt
+++ b/libc/src/link/CMakeLists.txt
@@ -6,6 +6,8 @@ add_entrypoint_object(
dl_iterate_phdr.h
DEPENDS
libc.hdr.stdint_proxy
+ libc.include.elf
+ libc.include.llvm-libc-macros.link_macros
libc.src.__support.CPP.span
libc.src.__support.OSUtil.linux.auxv
)
More information about the libc-commits
mailing list