git: d7d22907ff74 - stable/15 - depend-cleanup.sh: rebuild strrchr.o on riscv64 if it came from strrchr.S
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 14 Jun 2026 12:37:11 UTC
The branch stable/15 has been updated by fuz:
URL: https://cgit.FreeBSD.org/src/commit/?id=d7d22907ff749664258208b250258f9f46d97572
commit d7d22907ff749664258208b250258f9f46d97572
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-06-07 20:58:31 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-06-14 09:35:23 +0000
depend-cleanup.sh: rebuild strrchr.o on riscv64 if it came from strrchr.S
We have to switch back to the previous rule once the temporary
build fix has been replaced with a permanent fix.
PR: 295823
See also: 4996ebdb720042239a197ebec2d265cdfdf1bbf3
Reported by: siva
MFC after: 1 week
(cherry picked from commit 93221c277608d2612511eaabbf2bfc1f4b4250f7)
---
tools/build/depend-cleanup.sh | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/tools/build/depend-cleanup.sh b/tools/build/depend-cleanup.sh
index c36046385fae..f1860e236089 100755
--- a/tools/build/depend-cleanup.sh
+++ b/tools/build/depend-cleanup.sh
@@ -531,7 +531,7 @@ fi
if [ ${MACHINE} = riscv ]; then
# 20251031 df21a004be23 libc: scalar strrchr() in RISC-V assembly
- clean_dep lib/libc strrchr c
+ #clean_dep lib/libc strrchr c
# 20251031 563efdd3bd5d libc: scalar memchr() in RISC-V assembly
clean_dep lib/libc memchr c
@@ -555,8 +555,11 @@ if [ ${MACHINE} = riscv ]; then
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
+ # 20260307 2a4e3112c811 libc/riscv64: temporarily disable strnlen() implementation until a fix is developed
clean_dep lib/libc strnlen S
+
+ # 20260607 4996ebdb7200 libc/riscv64: temporarily disable strrchr() implementation until a fix is developed
+ clean_dep lib/libc strrchr S
fi
if [ ${MACHINE_ARCH} = "aarch64" ]; then