git: 050b3ff753e0 - main - libzpool: force inlining of xxhash after removing xxhash.c
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 02 May 2026 20:01:41 UTC
The branch main has been updated by rlibby:
URL: https://cgit.FreeBSD.org/src/commit/?id=050b3ff753e04ce142ac751a0d76b5ee3beda9c5
commit 050b3ff753e04ce142ac751a0d76b5ee3beda9c5
Author: Ryan Libby <rlibby@FreeBSD.org>
AuthorDate: 2026-05-02 16:59:06 +0000
Commit: Ryan Libby <rlibby@FreeBSD.org>
CommitDate: 2026-05-02 20:01:10 +0000
libzpool: force inlining of xxhash after removing xxhash.c
libzpool had a number of undefined symbols related to xxhash after
xxhash.c was removed from the build.
Fixes: 8a62a2a5659d ("zfs: merge openzfs/zfs@f8e5af53e")
Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D56770
---
cddl/lib/libzpool/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cddl/lib/libzpool/Makefile b/cddl/lib/libzpool/Makefile
index db09d33e19b4..0c997e38d373 100644
--- a/cddl/lib/libzpool/Makefile
+++ b/cddl/lib/libzpool/Makefile
@@ -272,7 +272,7 @@ CFLAGS+= \
-include ${SRCTOP}/sys/modules/zfs/zfs_config.h \
-I${SRCTOP}/sys/modules/zfs \
-I${ZFSTOP}/include/os/freebsd/zfs \
- -DLIB_ZPOOL_BUILD -DZFS_DEBUG \
+ -DLIB_ZPOOL_BUILD -DZFS_DEBUG -DXXH_INLINE_ALL \
# XXX: pthread doesn't have mutex_owned() equivalent, so we need to look
# into libthr private structures. That's sooo evil, but it's only for