[libc-commits] [libc] 2389f00 - [libc] Add missing threads dependency to AArch64 startup implementation

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Thu Mar 16 06:01:24 PDT 2023


Author: Joseph Huber
Date: 2023-03-16T08:00:14-05:00
New Revision: 2389f000197340aaf9d31fea4f73bc5f271bc320

URL: https://github.com/llvm/llvm-project/commit/2389f000197340aaf9d31fea4f73bc5f271bc320
DIFF: https://github.com/llvm/llvm-project/commit/2389f000197340aaf9d31fea4f73bc5f271bc320.diff

LOG: [libc] Add missing threads dependency to AArch64 startup implementation

Summary:
The changes in D146184 made the integration tests use the inhereted
dependencies from the startup code like a normal target. For the AArch64
target this resulted in the threads depenency not being pulled in
because it was not present in the original code.

Added: 
    

Modified: 
    libc/startup/linux/aarch64/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libc/startup/linux/aarch64/CMakeLists.txt b/libc/startup/linux/aarch64/CMakeLists.txt
index 14d6409af6cc1..49f7f857c04ae 100644
--- a/libc/startup/linux/aarch64/CMakeLists.txt
+++ b/libc/startup/linux/aarch64/CMakeLists.txt
@@ -6,6 +6,7 @@ add_startup_object(
     libc.config.linux.app_h
     libc.include.sys_mman
     libc.include.sys_syscall
+    libc.src.__support.threads.thread
     libc.src.__support.OSUtil.osutil
     libc.src.stdlib.exit
     libc.src.stdlib.atexit


        


More information about the libc-commits mailing list