Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Jun 2026 21:01:00 +0000
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 93221c277608 - main - depend-cleanup.sh: rebuild strrchr.o on riscv64 if it came from strrchr.S
Message-ID:  <6a25dc0c.47838.6d44272d@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/src/commit/?id=93221c277608d2612511eaabbf2bfc1f4b4250f7

commit 93221c277608d2612511eaabbf2bfc1f4b4250f7
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-06-07 20:58:31 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-06-07 21:00:25 +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
---
 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 b72dd3b60f05..a8e6b1ca1344 100755
--- a/tools/build/depend-cleanup.sh
+++ b/tools/build/depend-cleanup.sh
@@ -342,7 +342,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
@@ -366,8 +366,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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a25dc0c.47838.6d44272d>