[libc-commits] [libc] 6c23f97 - [libc] Enable bind test for riscv (#100132)
via libc-commits
libc-commits at lists.llvm.org
Wed Jul 24 07:26:19 PDT 2024
Author: Mikhail R. Gadelha
Date: 2024-07-24T11:26:15-03:00
New Revision: 6c23f974d6fe43d8e5c0adbc4a4f89fbabc9d9ea
URL: https://github.com/llvm/llvm-project/commit/6c23f974d6fe43d8e5c0adbc4a4f89fbabc9d9ea
DIFF: https://github.com/llvm/llvm-project/commit/6c23f974d6fe43d8e5c0adbc4a4f89fbabc9d9ea.diff
LOG: [libc] Enable bind test for riscv (#100132)
The bind test was failing in the rv32 build bot because of how the build bot was set to run the tests: we were using shared directories between the host and qemu and the bind function was trying to create a file in this directory, thus creating it in the host machine.
The OS was returning "-1 ENXIO (No such device or address)", so we changed the rv32 buildbot to copy the binaries to qemu and dropped the shared directories feature.
Added:
Modified:
libc/config/linux/riscv/entrypoints.txt
Removed:
################################################################################
diff --git a/libc/config/linux/riscv/entrypoints.txt b/libc/config/linux/riscv/entrypoints.txt
index 6ab90771802fd..597aeb361afe4 100644
--- a/libc/config/linux/riscv/entrypoints.txt
+++ b/libc/config/linux/riscv/entrypoints.txt
@@ -856,6 +856,7 @@ if(LLVM_LIBC_FULL_BUILD)
libc.src.sys.select.select
# sys/socket.h entrypoints
+ libc.src.sys.socket.bind
libc.src.sys.socket.socket
)
endif()
More information about the libc-commits
mailing list