[libc-commits] [PATCH] D126090: [libc] Fix builds for libc-integration-tests and libc-loader-tests

Clint Caywood via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri May 20 13:25:10 PDT 2022


cratonica created this revision.
cratonica added a reviewer: sivachandra.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added projects: libc-project, All.
cratonica requested review of this revision.

These were failing due to unresolved references to errno


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D126090

Files:
  libc/loader/linux/aarch64/CMakeLists.txt
  libc/loader/linux/x86_64/CMakeLists.txt


Index: libc/loader/linux/x86_64/CMakeLists.txt
===================================================================
--- libc/loader/linux/x86_64/CMakeLists.txt
+++ libc/loader/linux/x86_64/CMakeLists.txt
@@ -4,9 +4,11 @@
     start.cpp
   DEPENDS
     libc.config.linux.app_h
+    libc.include.errno
     libc.include.sys_mman
     libc.include.sys_syscall
     libc.src.__support.OSUtil.osutil
+    libc.src.errno.errno
     libc.src.string.memory_utils.memcpy_implementation
   COMPILE_OPTIONS
     -fno-omit-frame-pointer
Index: libc/loader/linux/aarch64/CMakeLists.txt
===================================================================
--- libc/loader/linux/aarch64/CMakeLists.txt
+++ libc/loader/linux/aarch64/CMakeLists.txt
@@ -4,6 +4,7 @@
     start.cpp
   DEPENDS
     libc.config.linux.app_h
+    libc.include.errno
     libc.include.sys_syscall
     libc.src.__support.OSUtil.osutil
   COMPILE_OPTIONS


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126090.431038.patch
Type: text/x-patch
Size: 912 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220520/62d8b893/attachment.bin>


More information about the libc-commits mailing list