[libc-commits] [libc] Add missing `dl_iterate_phdr` dependencies to avoid spurious build failures (PR #201574)

via libc-commits libc-commits at lists.llvm.org
Thu Jun 4 05:47:52 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Nikita Taranov (nickitat)

<details>
<summary>Changes</summary>

Example: https://github.com/llvm/llvm-project/actions/runs/26945498241/job/79504837451?pr=201452

---
Full diff: https://github.com/llvm/llvm-project/pull/201574.diff


1 Files Affected:

- (modified) libc/src/link/CMakeLists.txt (+2) 


``````````diff
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
 )

``````````

</details>


https://github.com/llvm/llvm-project/pull/201574


More information about the libc-commits mailing list