git: b5514e1c6d9e - main - depend-cleanup.sh: rebuild strnlen.o on riscv64 if it came from strnlen.S
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 07 Mar 2026 23:34:24 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/src/commit/?id=b5514e1c6d9e7ec09b299a983d1ce32852e0d9dc
commit b5514e1c6d9e7ec09b299a983d1ce32852e0d9dc
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-03-07 23:14:25 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-03-07 23:33:53 +0000
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
---
tools/build/depend-cleanup.sh | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
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