git: ce4846ae75d4 - main - depend-cleanup.sh: cleanup stale ffs.S dependencies for arm and i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 10 Jul 2023 22:57:59 UTC
The branch main has been updated by dim:
URL: https://cgit.FreeBSD.org/src/commit/?id=ce4846ae75d435b9b2c2c415bf906851aafc10de
commit ce4846ae75d435b9b2c2c415bf906851aafc10de
Author: Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2023-07-10 22:50:31 +0000
Commit: Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2023-07-10 22:57:33 +0000
depend-cleanup.sh: cleanup stale ffs.S dependencies for arm and i386
Now that depend-cleanup.sh handles 32-bit dependencies a bit better, get
rid of the stale ffs.S ones, otherwise an incremental build on amd64
will fail with:
cc: error: no such file or directory: '/usr/src/lib/libc/i386/string/ffs.S'
Fixes: ee8b0c436d72
---
tools/build/depend-cleanup.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/build/depend-cleanup.sh b/tools/build/depend-cleanup.sh
index e7e7f30ab16b..a7c27a4ba730 100755
--- a/tools/build/depend-cleanup.sh
+++ b/tools/build/depend-cleanup.sh
@@ -128,3 +128,6 @@ if [ -f "$OBJTOP"/secure/lib/libcrypto/aria.o ]; then
"$OBJTOP"/obj-lib32/secure/lib/libcrypto \
"$OBJTOP"/obj-lib32/secure/lib/libssl
fi
+
+# 20230711 ee8b0c436d72 replace ffs/fls implementations with clang builtins
+clean_dep lib/libc ffs S