[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:27:04 PDT 2022


cratonica updated this revision to Diff 431040.
cratonica added a comment.

Missed the linker change to aarch64


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126090/new/

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,8 +4,10 @@
     start.cpp
   DEPENDS
     libc.config.linux.app_h
+    libc.include.errno
     libc.include.sys_syscall
     libc.src.__support.OSUtil.osutil
+    libc.src.errno.errno
   COMPILE_OPTIONS
     -fno-omit-frame-pointer
     -ffreestanding # To avoid compiler warnings about calling the main function.


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


More information about the libc-commits mailing list