Skip to content

Commit 9e5428e

Browse files
Revert "[libc] fix aarch64 linux full build (#95358)" (#95419)
1 parent ae4677c commit 9e5428e

File tree

3 files changed

+0
-14
lines changed

3 files changed

+0
-14
lines changed

libc/config/linux/aarch64/entrypoints.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -643,12 +643,6 @@ if(LLVM_LIBC_FULL_BUILD)
643643
libc.src.pthread.pthread_mutexattr_setrobust
644644
libc.src.pthread.pthread_mutexattr_settype
645645
libc.src.pthread.pthread_once
646-
libc.src.pthread.pthread_rwlockattr_destroy
647-
libc.src.pthread.pthread_rwlockattr_getkind_np
648-
libc.src.pthread.pthread_rwlockattr_getpshared
649-
libc.src.pthread.pthread_rwlockattr_init
650-
libc.src.pthread.pthread_rwlockattr_setkind_np
651-
libc.src.pthread.pthread_rwlockattr_setpshared
652646
libc.src.pthread.pthread_setspecific
653647

654648
# sched.h entrypoints
@@ -759,7 +753,6 @@ if(LLVM_LIBC_FULL_BUILD)
759753
libc.src.unistd._exit
760754
libc.src.unistd.environ
761755
libc.src.unistd.execv
762-
libc.src.unistd.fork
763756
libc.src.unistd.getopt
764757
libc.src.unistd.optarg
765758
libc.src.unistd.optind

libc/src/__support/threads/linux/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ add_object_library(
6464
.futex_utils
6565
libc.config.linux.app_h
6666
libc.include.sys_syscall
67-
libc.include.fcntl
6867
libc.src.errno.errno
6968
libc.src.__support.CPP.atomic
7069
libc.src.__support.CPP.stringstream

libc/test/IntegrationTest/test.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,4 @@ void *realloc(void *ptr, size_t s) {
7979
// Integration tests are linked with -nostdlib. BFD linker expects
8080
// __dso_handle when -nostdlib is used.
8181
void *__dso_handle = nullptr;
82-
83-
// On some platform (aarch64 fedora tested) full build integration test
84-
// objects need to link against libgcc, which may expect a __getauxval
85-
// function. For now, it is fine to provide a weak definition that always
86-
// returns false.
87-
[[gnu::weak]] bool __getauxval(uint64_t, uint64_t *) { return false; }
8882
} // extern "C"

0 commit comments

Comments
 (0)