aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2026-03-07 23:14:25 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2026-03-07 23:33:53 +0000
commitb5514e1c6d9e7ec09b299a983d1ce32852e0d9dc (patch)
treef3795b142d2f4941d7c63ba9af811c6cc9e3fc01
parent2a4e3112c811b9892e14e15cfd23538e7e47329c (diff)
depend-cleanup.sh: rebuild strnlen.o on riscv64 if it came from strnlen.S
We have to switch back to the previous rule once the temporary build fix has been replaced with a permanent fix. MFC after: 1 week See also: 2a4e3112c811b9892e14e15cfd23538e7e47329c PR: 293353, 293296
-rwxr-xr-xtools/build/depend-cleanup.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/build/depend-cleanup.sh b/tools/build/depend-cleanup.sh
index 89b98abe7c4d..e9c02d015368 100755
--- a/tools/build/depend-cleanup.sh
+++ b/tools/build/depend-cleanup.sh
@@ -349,7 +349,7 @@ if [ ${MACHINE} = riscv ]; then
clean_dep lib/libc memcpy c
# 20251031 5a52f0704435 libc: scalar strnlen() in RISC-V assembly
- clean_dep lib/libc strnlen c
+ #clean_dep lib/libc strnlen c
# 20251031 08af0bbc9c7d libc: scalar strchrnul() in RISC-V assembly
clean_dep lib/libc strchrnul c
@@ -357,6 +357,9 @@ if [ ${MACHINE} = riscv ]; then
# 20251031 b5dbf3de5611 libc/riscv64: implement bcopy() and bzero() through memcpy() and memset()
clean_dep lib/libc bcopy c "libc.string.bcopy.c"
clean_dep lib/libc bzero c "libc.string.bzero.c"
+
+ # 20260307 2a4e3112c811 libc/riscv64: temporarily disable strnlen() implementation until a fix is developed
+ clean_dep lib/libc strnlen S
fi
if [ ${MACHINE_ARCH} = "aarch64" ]; then