D: [iurt_root_command] chroot RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument Building target platforms: armv7hl Building for target armv7hl Installing /home/iurt/rpmbuild/SRPMS/@2314427:zfs-fuse-0.7.2.2-9.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.H74V8A Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.P8SGNO + umask 022 + cd /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build + rm -rf zfs-fuse-0.7.2.2 + /usr/lib/rpm/rpmuncompress -x /home/iurt/rpmbuild/SOURCES/zfs-fuse-0.7.2.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd zfs-fuse-0.7.2.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (zfs-fuse-0.7.2.2-stack.patch):' Patch #0 (zfs-fuse-0.7.2.2-stack.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file src/SConstruct + echo 'Patch #1 (zfs-fuse-0.7.2.2-python3.patch):' Patch #1 (zfs-fuse-0.7.2.2-python3.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/SConstruct + echo 'Patch #2 (tirpc.patch):' Patch #2 (tirpc.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/SConstruct patching file src/cmd/zfs/zfs_main.c patching file src/lib/libnvpair/nvpair.c patching file src/lib/libsolcompat/getmntany.c patching file src/lib/libsolkerncompat/vfs.c patching file src/lib/libsolkerncompat/vnode.c patching file src/SConstruct patching file src/zfs-fuse/zfs_operations.c + echo 'Patch #3 (common.patch):' Patch #3 (common.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file src/SConstruct + echo 'Patch #4 (attr.patch):' Patch #4 (attr.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/zfs-fuse/zfs_operations.c + echo 'Patch #5 (zfs-fuse-c99.patch):' Patch #5 (zfs-fuse-c99.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/lib/libsolcompat/include/sys/time.h patching file src/lib/libumem/configure patching file src/lib/libumem/malloc.c patching file src/lib/libumem/umem_fail.c patching file src/lib/libumem/umem_impl.h patching file src/lib/libumem/umem_test.c patching file src/lib/libumem/umem_test2.c + f=LICENSE + mv LICENSE LICENSE.iso88591 + iconv -o LICENSE -f iso88591 -t utf8 LICENSE.iso88591 + rm -f LICENSE.iso88591 + chmod -x contrib/test-datasets + chmod -x contrib/find-binaries + chmod -x contrib/solaris/fixfiles.py + chmod -x contrib/zfsstress.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.04AK8D + umask 022 + cd /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build + CFLAGS=-fcommon + export CFLAGS + CXXFLAGS=-fcommon + export CXXFLAGS + FFLAGS='-fcommon ' + export FFLAGS + FCFLAGS='-fcommon ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd zfs-fuse-0.7.2.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export CCFLAGS=-fcommon + CCFLAGS=-fcommon + pushd src ~/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/src ~/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2 + scons debug=2 optim=-fcommon scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... gcc -o cmd/mount_zfs/mount_zfs.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libzfs/include -Ilib/libsolcompat/include -Ilib/libavl/include cmd/mount_zfs/mount_zfs.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from cmd/mount_zfs/mount_zfs.c:32: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libsolcompat/include/sys/ioctl.h:30, from lib/libsolcompat/include/unistd.h:33, from cmd/mount_zfs/mount_zfs.c:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32, from lib/libzfs/include/libzfs_impl.h:32, from cmd/mount_zfs/mount_zfs.c:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o cmd/mount_zfs/ptrace.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libzfs/include -Ilib/libsolcompat/include -Ilib/libavl/include cmd/mount_zfs/ptrace.c gcc -o lib/libzfs/libzfs_dataset.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfs/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libuutil/include -Ilib/libsolcompat/include -Ilib/libzfs/include lib/libzfs/libzfs_dataset.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/dnode.h:28, from lib/libzfs/libzfs_dataset.c:46: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzfs/libzfs_dataset.c:31: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzfs/libzfs_dataset.c: In function 'zfs_valid_proplist': lib/libzfs/libzfs_dataset.c:879:37: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 126 [-Wformat-truncation=] 879 | "%s%llx-%s", zfs_userquota_prop_prefixes[uqtype], | ^~ 880 | (longlong_t)rid, domain); | ~~~~~~ lib/libzfs/libzfs_dataset.c:878:32: note: 'snprintf' output 3 or more bytes (assuming 130) into a destination of size 128 878 | (void) snprintf(newpropname, sizeof (newpropname), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 879 | "%s%llx-%s", zfs_userquota_prop_prefixes[uqtype], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 880 | (longlong_t)rid, domain); | ~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o lib/libzfs/libzfs_util.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfs/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libuutil/include -Ilib/libsolcompat/include -Ilib/libzfs/include lib/libzfs/libzfs_util.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from lib/libzfs/include/libzfs_impl.h:32, from lib/libzfs/libzfs_util.c:47: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzfs/libzfs_util.c:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzfs/libzfs_graph.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfs/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libuutil/include -Ilib/libsolcompat/include -Ilib/libzfs/include lib/libzfs/libzfs_graph.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from lib/libzfs/include/libzfs_impl.h:32, from lib/libzfs/libzfs_graph.c:82: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzfs/libzfs_graph.c:75: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzfs/libzfs_mount.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfs/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libuutil/include -Ilib/libsolcompat/include -Ilib/libzfs/include lib/libzfs/libzfs_mount.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from lib/libzfs/include/libzfs_impl.h:32, from lib/libzfs/libzfs_mount.c:80: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libsolcompat/include/libgen.h:31, from lib/libzfs/libzfs_mount.c:65: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzfs/libzfs_mount.c: In function 'zfsfuse_findshare': lib/libzfs/libzfs_mount.c:642:9: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 642 | strncpy(s,"\\040",4); // replaces the space with \040 (encoded space) | ^~~~~~~~~~~~~~~~~~~~ gcc -o lib/libzfs/libzfs_pool.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfs/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libuutil/include -Ilib/libsolcompat/include -Ilib/libzfs/include lib/libzfs/libzfs_pool.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from lib/libzfs/libzfs_pool.c:41: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libsolcompat/include/devid.h:30, from lib/libzfs/libzfs_pool.c:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzfs/libzfs_pool.c: In function 'zpool_vdev_name': lib/libzfs/libzfs_pool.c:3138:64: warning: '%llu' directive output may be truncated writing between 1 and 20 bytes into a region of size between 0 and 63 [-Wformat-truncation=] 3138 | (void) snprintf(buf, sizeof (buf), "%s-%llu", str, | ^~~~ lib/libzfs/libzfs_pool.c:3138:32: note: 'snprintf' output between 3 and 85 bytes into a destination of size 64 3138 | (void) snprintf(buf, sizeof (buf), "%s-%llu", str, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3139 | (u_longlong_t)id); | ~~~~~~~~~~~~~~~~~ gcc -o lib/libzfs/libzfs_changelist.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfs/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libuutil/include -Ilib/libsolcompat/include -Ilib/libzfs/include lib/libzfs/libzfs_changelist.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from lib/libzfs/include/libzfs_impl.h:32, from lib/libzfs/libzfs_changelist.c:39: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libuutil/include/libuutil.h:29, from lib/libzfs/libzfs_changelist.c:30: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzfs/libzfs_config.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfs/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libuutil/include -Ilib/libsolcompat/include -Ilib/libzfs/include lib/libzfs/libzfs_config.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from lib/libzfs/include/libzfs_impl.h:32, from lib/libzfs/libzfs_config.c:44: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libsolcompat/include/sys/ioctl.h:30, from lib/libsolcompat/include/sys/stat.h:37, from lib/libzfs/libzfs_config.c:36: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzfs/libzfs_import.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfs/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libuutil/include -Ilib/libsolcompat/include -Ilib/libzfs/include lib/libzfs/libzfs_import.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/metaslab.h:28, from lib/libzfscommon/include/sys/vdev_impl.h:30, from lib/libzfs/libzfs_import.c:52: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libsolcompat/include/devid.h:30, from lib/libzfs/libzfs_import.c:42: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32, from lib/libzfs/include/libzfs_impl.h:32, from lib/libzfs/libzfs_import.c:55: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzfs/libzfs_import.c: In function 'zpool_find_import_impl': lib/libzfs/libzfs_import.c:1000:60: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 1000 | snprintf(path2, sizeof (path2), "%s%s", rdsk, name); | ^~ lib/libzfs/libzfs_import.c:1000:25: note: 'snprintf' output between 1 and 4351 bytes into a destination of size 4096 1000 | snprintf(path2, sizeof (path2), "%s%s", rdsk, name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o lib/libzfs/libzfs_status.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfs/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libuutil/include -Ilib/libsolcompat/include -Ilib/libzfs/include lib/libzfs/libzfs_status.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from lib/libzfs/include/libzfs_impl.h:32, from lib/libzfs/libzfs_status.c:44: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libnvpair/include/sys/nvpair.h:29, from lib/libnvpair/include/libnvpair.h:28, from lib/libzfs/include/libzfs.h:30, from lib/libzfs/libzfs_status.c:41: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzfs/libzfs_sendrecv.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfs/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libuutil/include -Ilib/libsolcompat/include -Ilib/libzfs/include lib/libzfs/libzfs_sendrecv.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/zfs_fletcher.h:30, from lib/libzfs/libzfs_sendrecv.c:44: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzfs/libzfs_sendrecv.c:31: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32, from lib/libzfs/include/libzfs_impl.h:32, from lib/libzfs/libzfs_sendrecv.c:45: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzfs/libzfs_sendrecv.c: In function 'cksummer': lib/libzfs/libzfs_sendrecv.c:343:33: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 343 | SHA256_Init(&ctx); | ^~~~~~~~~~~ In file included from lib/libzfs/libzfs_sendrecv.c:46: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ lib/libzfs/libzfs_sendrecv.c:344:33: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | SHA256_Update(&ctx, buf, drrw->drr_length); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ lib/libzfs/libzfs_sendrecv.c:345:33: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 345 | SHA256_Final((unsigned char *)&tmpsha256, &ctx); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ lib/libzfs/libzfs_sendrecv.c: In function 'zfs_send': lib/libzfs/libzfs_sendrecv.c:1322:27: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 1322 | "%s@%s", zhp->zfs_name, tosnap); | ^ lib/libzfs/libzfs_sendrecv.c:1320:24: note: 'snprintf' output 2 or more bytes (assuming 257) into a destination of size 256 1320 | (void) snprintf(drr.drr_u.drr_begin.drr_toname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1321 | sizeof (drr.drr_u.drr_begin.drr_toname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1322 | "%s@%s", zhp->zfs_name, tosnap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzfs/libzfs_sendrecv.c: In function 'zfs_receive_one': lib/libzfs/libzfs_sendrecv.c:2419:16: warning: 'strncat' specified bound 8192 equals destination size [-Wstringop-overflow=] 2419 | (void) strncat(zc.zc_value, chopprefix, sizeof (zc.zc_value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o lib/libzfs/libzfs_zfsfuse.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfs/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libuutil/include -Ilib/libsolcompat/include -Ilib/libzfs/include lib/libzfs/libzfs_zfsfuse.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from lib/libzfs/include/libzfs_impl.h:32, from lib/libzfs/libzfs_zfsfuse.c:38: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfs/libzfs_zfsfuse.c:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzfs/libzfs_zfsfuse.c: In function 'zfsfuse_sendfd': lib/libzfs/libzfs_zfsfuse.c:131:17: warning: cast increases required alignment of target type [-Wcast-align] 131 | fdptr = (int *) CMSG_DATA(cmsg); | ^ gcc -o lib/libzfs/zfs_fletcher.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfs/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libuutil/include -Ilib/libsolcompat/include -Ilib/libzfs/include lib/libzfs/zfs_fletcher.c In file included from lib/libzfs/zfs_fletcher.c:129: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfs/zfs_fletcher.c:128: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ ar rc lib/libzfs/libzfs.a lib/libzfs/libzfs_dataset.o lib/libzfs/libzfs_util.o lib/libzfs/libzfs_graph.o lib/libzfs/libzfs_mount.o lib/libzfs/libzfs_pool.o lib/libzfs/libzfs_changelist.o lib/libzfs/libzfs_config.o lib/libzfs/libzfs_import.o lib/libzfs/libzfs_status.o lib/libzfs/libzfs_sendrecv.o lib/libzfs/libzfs_zfsfuse.o lib/libzfs/zfs_fletcher.o ranlib lib/libzfs/libzfs.a gcc -o lib/libzfscommon/build-user/compress.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzfscommon/compress.c gcc -o lib/libzfscommon/build-user/list.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzfscommon/list.c In file included from lib/libzfscommon/list.c:35: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/list_impl.h:32, from lib/libzfscommon/include/sys/list.h:31, from lib/libzfscommon/list.c:32: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ lib/libzfscommon/list.c: In function 'list_insert_after': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:94:37: note: in expansion of macro 'list_d2l' 94 | list_node_t *lold = list_d2l(list, object); | ^~~~~~~~ lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:43:29: note: in expansion of macro 'list_d2l' 43 | list_node_t *lnew = list_d2l(list, object); \ | ^~~~~~~~ lib/libzfscommon/list.c:95:17: note: in expansion of macro 'list_insert_after_node' 95 | list_insert_after_node(list, lold, nobject); | ^~~~~~~~~~~~~~~~~~~~~~ lib/libzfscommon/list.c: In function 'list_insert_before': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:105:37: note: in expansion of macro 'list_d2l' 105 | list_node_t *lold = list_d2l(list, object); | ^~~~~~~~ lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:51:29: note: in expansion of macro 'list_d2l' 51 | list_node_t *lnew = list_d2l(list, object); \ | ^~~~~~~~ lib/libzfscommon/list.c:106:17: note: in expansion of macro 'list_insert_before_node' 106 | list_insert_before_node(list, lold, nobject); | ^~~~~~~~~~~~~~~~~~~~~~~ lib/libzfscommon/list.c: In function 'list_insert_head': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:43:29: note: in expansion of macro 'list_d2l' 43 | list_node_t *lnew = list_d2l(list, object); \ | ^~~~~~~~ lib/libzfscommon/list.c:114:9: note: in expansion of macro 'list_insert_after_node' 114 | list_insert_after_node(list, lold, object); | ^~~~~~~~~~~~~~~~~~~~~~ lib/libzfscommon/list.c: In function 'list_insert_tail': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:51:29: note: in expansion of macro 'list_d2l' 51 | list_node_t *lnew = list_d2l(list, object); \ | ^~~~~~~~ lib/libzfscommon/list.c:121:9: note: in expansion of macro 'list_insert_before_node' 121 | list_insert_before_node(list, lold, object); | ^~~~~~~~~~~~~~~~~~~~~~~ lib/libzfscommon/list.c: In function 'list_remove': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:127:29: note: in expansion of macro 'list_d2l' 127 | list_node_t *lold = list_d2l(list, object); | ^~~~~~~~ lib/libzfscommon/list.c: In function 'list_next': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:172:29: note: in expansion of macro 'list_d2l' 172 | list_node_t *node = list_d2l(list, object); | ^~~~~~~~ lib/libzfscommon/list.c: In function 'list_prev': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:183:29: note: in expansion of macro 'list_d2l' 183 | list_node_t *node = list_d2l(list, object); | ^~~~~~~~ gcc -o lib/libzfscommon/build-user/zfs_comutil.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzfscommon/zfs_comutil.c gcc -o lib/libzfscommon/build-user/zfs_deleg.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzfscommon/zfs_deleg.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dsl_pool.h:28, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/zfs_deleg.c:38: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libsolcompat/include/sys/ioctl.h:30, from lib/libsolcompat/include/unistd.h:33, from lib/libzfscommon/zfs_deleg.c:32: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzfscommon/build-user/zfs_namecheck.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzfscommon/zfs_namecheck.c gcc -o lib/libzfscommon/build-user/zfs_prop.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzfscommon/zfs_prop.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/zfs_prop.c:27: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32, from lib/libzfscommon/zfs_prop.c:31: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzfscommon/build-user/zpool_prop.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzfscommon/zpool_prop.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/zpool_prop.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32, from lib/libzfscommon/zpool_prop.c:29: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzfscommon/build-user/zprop_common.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzfscommon/zprop_common.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/zprop_common.c:30: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32, from lib/libzfscommon/zprop_common.c:33: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ ar rc lib/libzfscommon/libzfscommon-user.a lib/libzfscommon/build-user/compress.o lib/libzfscommon/build-user/list.o lib/libzfscommon/build-user/zfs_comutil.o lib/libzfscommon/build-user/zfs_deleg.o lib/libzfscommon/build-user/zfs_namecheck.o lib/libzfscommon/build-user/zfs_prop.o lib/libzfscommon/build-user/zpool_prop.o lib/libzfscommon/build-user/zprop_common.o ranlib lib/libzfscommon/libzfscommon-user.a gcc -o lib/libnvpair/build-user/libnvpair.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libnvpair/include -Ilib/libsolcompat/include lib/libnvpair/libnvpair.c lib/libnvpair/libnvpair.c: In function 'nvprint_double': lib/libnvpair/libnvpair.c:213:40: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=] 213 | NVLIST_PRTFUNC(double, double, double, "0x%llf") | ^~~~~~~~ lib/libnvpair/libnvpair.c:198:28: note: in definition of macro 'NVLIST_PRTFUNC' 198 | (void) fprintf(fp, vfmt, (ptype)value); \ | ^~~~ lib/libnvpair/libnvpair.c:213:46: note: format string is defined here 213 | NVLIST_PRTFUNC(double, double, double, "0x%llf") | ^ gcc -o lib/libnvpair/build-user/nvpair.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libnvpair/include -Ilib/libsolcompat/include lib/libnvpair/nvpair.c In file included from lib/libnvpair/nvpair.c:34: lib/libnvpair/../libsolcompat/include/rpc/xdr.h:46:9: warning: 'xdr_control' redefined 46 | #define xdr_control(a,b,c) xdrmem_control(a,b,c) | ^~~~~~~~~~~ In file included from lib/libnvpair/../libsolcompat/include/rpc/xdr.h:38: /usr/include/tirpc/rpc/xdr.h:223:9: note: this is the location of the previous definition 223 | #define xdr_control(xdrs, req, op) XDR_CONTROL(xdrs, req, op) | ^~~~~~~~~~~ lib/libnvpair/nvpair.c: In function 'nvlist_remove_all': lib/libnvpair/nvpair.c:650:21: warning: 'strcmp' reading 1 or more bytes from a region of size 0 [-Wstringop-overread] 650 | if (strcmp(name, NVP_NAME(nvp)) != 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from lib/libnvpair/nvpair.c:32: lib/libnvpair/include/sys/nvpair_impl.h:56:18: note: at offset 16 into source object 'nvi_nvp' of size 16 56 | nvpair_t nvi_nvp; /* nvpair */ | ^~~~~~~ lib/libnvpair/nvpair.c: In function 'nvlist_remove': lib/libnvpair/nvpair.c:680:21: warning: 'strcmp' reading 1 or more bytes from a region of size 0 [-Wstringop-overread] 680 | if (strcmp(name, NVP_NAME(nvp)) == 0 && NVP_TYPE(nvp) == type) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libnvpair/include/sys/nvpair_impl.h:56:18: note: at offset 16 into source object 'nvi_nvp' of size 16 56 | nvpair_t nvi_nvp; /* nvpair */ | ^~~~~~~ lib/libnvpair/nvpair.c: In function 'nvlist_lookup_common': lib/libnvpair/nvpair.c:1336:21: warning: 'strcmp' reading 1 or more bytes from a region of size 0 [-Wstringop-overread] 1336 | if (strcmp(name, NVP_NAME(nvp)) == 0 && NVP_TYPE(nvp) == type) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libnvpair/include/sys/nvpair_impl.h:56:18: note: at offset 16 into source object 'nvi_nvp' of size 16 56 | nvpair_t nvi_nvp; /* nvpair */ | ^~~~~~~ lib/libnvpair/nvpair.c: In function 'nvlist_exists': lib/libnvpair/nvpair.c:1799:21: warning: 'strcmp' reading 1 or more bytes from a region of size 0 [-Wstringop-overread] 1799 | if (strcmp(name, NVP_NAME(nvp)) == 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libnvpair/include/sys/nvpair_impl.h:56:18: note: at offset 16 into source object 'nvi_nvp' of size 16 56 | nvpair_t nvi_nvp; /* nvpair */ | ^~~~~~~ gcc -o lib/libnvpair/build-user/nvpair_alloc_fixed.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libnvpair/include -Ilib/libsolcompat/include lib/libnvpair/nvpair_alloc_fixed.c In file included from lib/libnvpair/nvpair_alloc_fixed.c:32: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libnvpair/include/sys/nvpair.h:29, from lib/libnvpair/nvpair_alloc_fixed.c:31: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libnvpair/build-user/nvpair_alloc_system.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libnvpair/include -Ilib/libsolcompat/include lib/libnvpair/nvpair_alloc_system.c ar rc lib/libnvpair/libnvpair-user.a lib/libnvpair/build-user/libnvpair.o lib/libnvpair/build-user/nvpair.o lib/libnvpair/build-user/nvpair_alloc_fixed.o lib/libnvpair/build-user/nvpair_alloc_system.o ranlib lib/libnvpair/libnvpair-user.a cd lib/libumem && ./configure checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking build system type... armv8l-unknown-linux-gnu checking host system type... armv8l-unknown-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /bin/ld checking if the linker (/bin/ld) is GNU ld... yes checking for /bin/ld option to reload object files... -r checking for BSD-compatible nm... /bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /bin/ld checking if the linker (/bin/ld) is GNU ld... yes checking whether the g++ linker (/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for inline... inline checking whether pthread_mutex_t is larger than 24 bytes... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for issetugid... no checking for mallinfo... yes checking for malloc_stats... yes configure: creating ./config.status config.status: creating Makefile config.status: creating Doxyfile config.status: creating umem.spec config.status: creating config.h config.status: executing depfiles commands cd lib/libumem && make && rm -f libumem.a && ln -s .libs/libumem.a make all-am make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/src/lib/libumem' if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT init_lib.lo -MD -MP -MF ".deps/init_lib.Tpo" -c -o init_lib.lo init_lib.c; \ then mv -f ".deps/init_lib.Tpo" ".deps/init_lib.Plo"; else rm -f ".deps/init_lib.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT init_lib.lo -MD -MP -MF .deps/init_lib.Tpo -c init_lib.c -fPIC -DPIC -o .libs/init_lib.o In file included from ./umem_impl.h:49, from umem_base.h:32, from init_lib.c:37: ./sol_compat.h:249:9: warning: 'ec_atomic_inc' redefined 249 | #define ec_atomic_inc(v) atomic_inc(v) | ^~~~~~~~~~~~~ ./sol_compat.h:158:9: note: this is the location of the previous definition 158 | #define ec_atomic_inc(a) MulleAtomicIncrement(a) | ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT init_lib.lo -MD -MP -MF .deps/init_lib.Tpo -c init_lib.c -o init_lib.o >/dev/null 2>&1 if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT umem_agent_support.lo -MD -MP -MF ".deps/umem_agent_support.Tpo" -c -o umem_agent_support.lo umem_agent_support.c; \ then mv -f ".deps/umem_agent_support.Tpo" ".deps/umem_agent_support.Plo"; else rm -f ".deps/umem_agent_support.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT umem_agent_support.lo -MD -MP -MF .deps/umem_agent_support.Tpo -c umem_agent_support.c -fPIC -DPIC -o .libs/umem_agent_support.o In file included from ./umem_impl.h:49, from umem_base.h:32, from umem_agent_support.c:33: ./sol_compat.h:249:9: warning: 'ec_atomic_inc' redefined 249 | #define ec_atomic_inc(v) atomic_inc(v) | ^~~~~~~~~~~~~ ./sol_compat.h:158:9: note: this is the location of the previous definition 158 | #define ec_atomic_inc(a) MulleAtomicIncrement(a) | ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT umem_agent_support.lo -MD -MP -MF .deps/umem_agent_support.Tpo -c umem_agent_support.c -o umem_agent_support.o >/dev/null 2>&1 if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT umem_fail.lo -MD -MP -MF ".deps/umem_fail.Tpo" -c -o umem_fail.lo umem_fail.c; \ then mv -f ".deps/umem_fail.Tpo" ".deps/umem_fail.Plo"; else rm -f ".deps/umem_fail.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT umem_fail.lo -MD -MP -MF .deps/umem_fail.Tpo -c umem_fail.c -fPIC -DPIC -o .libs/umem_fail.o In file included from misc.h:43, from umem_fail.c:44: sol_compat.h:249:9: warning: 'ec_atomic_inc' redefined 249 | #define ec_atomic_inc(v) atomic_inc(v) | ^~~~~~~~~~~~~ sol_compat.h:158:9: note: this is the location of the previous definition 158 | #define ec_atomic_inc(a) MulleAtomicIncrement(a) | ^~~~~~~~~~~~~ umem_fail.c: In function 'umem_do_abort': umem_fail.c:98:17: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 98 | (void) sigrelse(SIGABRT); | ^ In file included from umem_fail.c:39: /usr/include/signal.h:359:12: note: declared here 359 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT umem_fail.lo -MD -MP -MF .deps/umem_fail.Tpo -c umem_fail.c -o umem_fail.o >/dev/null 2>&1 if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT umem_fork.lo -MD -MP -MF ".deps/umem_fork.Tpo" -c -o umem_fork.lo umem_fork.c; \ then mv -f ".deps/umem_fork.Tpo" ".deps/umem_fork.Plo"; else rm -f ".deps/umem_fork.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT umem_fork.lo -MD -MP -MF .deps/umem_fork.Tpo -c umem_fork.c -fPIC -DPIC -o .libs/umem_fork.o In file included from ./umem_impl.h:49, from umem_base.h:32, from umem_fork.c:34: ./sol_compat.h:249:9: warning: 'ec_atomic_inc' redefined 249 | #define ec_atomic_inc(v) atomic_inc(v) | ^~~~~~~~~~~~~ ./sol_compat.h:158:9: note: this is the location of the previous definition 158 | #define ec_atomic_inc(a) MulleAtomicIncrement(a) | ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT umem_fork.lo -MD -MP -MF .deps/umem_fork.Tpo -c umem_fork.c -o umem_fork.o >/dev/null 2>&1 if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT umem_update_thread.lo -MD -MP -MF ".deps/umem_update_thread.Tpo" -c -o umem_update_thread.lo umem_update_thread.c; \ then mv -f ".deps/umem_update_thread.Tpo" ".deps/umem_update_thread.Plo"; else rm -f ".deps/umem_update_thread.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT umem_update_thread.lo -MD -MP -MF .deps/umem_update_thread.Tpo -c umem_update_thread.c -fPIC -DPIC -o .libs/umem_update_thread.o In file included from ./umem_impl.h:49, from umem_base.h:32, from umem_update_thread.c:33: ./sol_compat.h:249:9: warning: 'ec_atomic_inc' redefined 249 | #define ec_atomic_inc(v) atomic_inc(v) | ^~~~~~~~~~~~~ ./sol_compat.h:158:9: note: this is the location of the previous definition 158 | #define ec_atomic_inc(a) MulleAtomicIncrement(a) | ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT umem_update_thread.lo -MD -MP -MF .deps/umem_update_thread.Tpo -c umem_update_thread.c -o umem_update_thread.o >/dev/null 2>&1 if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT vmem_mmap.lo -MD -MP -MF ".deps/vmem_mmap.Tpo" -c -o vmem_mmap.lo vmem_mmap.c; \ then mv -f ".deps/vmem_mmap.Tpo" ".deps/vmem_mmap.Plo"; else rm -f ".deps/vmem_mmap.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT vmem_mmap.lo -MD -MP -MF .deps/vmem_mmap.Tpo -c vmem_mmap.c -fPIC -DPIC -o .libs/vmem_mmap.o In file included from misc.h:43, from vmem_base.h:39, from vmem_mmap.c:47: sol_compat.h:249:9: warning: 'ec_atomic_inc' redefined 249 | #define ec_atomic_inc(v) atomic_inc(v) | ^~~~~~~~~~~~~ sol_compat.h:158:9: note: this is the location of the previous definition 158 | #define ec_atomic_inc(a) MulleAtomicIncrement(a) | ^~~~~~~~~~~~~ vmem_mmap.c: In function 'init_mmap': vmem_mmap.c:72:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | fgets(buf,80,f); | ^~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT vmem_mmap.lo -MD -MP -MF .deps/vmem_mmap.Tpo -c vmem_mmap.c -o vmem_mmap.o >/dev/null 2>&1 if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT vmem_sbrk.lo -MD -MP -MF ".deps/vmem_sbrk.Tpo" -c -o vmem_sbrk.lo vmem_sbrk.c; \ then mv -f ".deps/vmem_sbrk.Tpo" ".deps/vmem_sbrk.Plo"; else rm -f ".deps/vmem_sbrk.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT vmem_sbrk.lo -MD -MP -MF .deps/vmem_sbrk.Tpo -c vmem_sbrk.c -fPIC -DPIC -o .libs/vmem_sbrk.o In file included from misc.h:43, from vmem_base.h:39, from vmem_sbrk.c:67: sol_compat.h:249:9: warning: 'ec_atomic_inc' redefined 249 | #define ec_atomic_inc(v) atomic_inc(v) | ^~~~~~~~~~~~~ sol_compat.h:158:9: note: this is the location of the previous definition 158 | #define ec_atomic_inc(a) MulleAtomicIncrement(a) | ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT vmem_sbrk.lo -MD -MP -MF .deps/vmem_sbrk.Tpo -c vmem_sbrk.c -o vmem_sbrk.o >/dev/null 2>&1 if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT envvar.lo -MD -MP -MF ".deps/envvar.Tpo" -c -o envvar.lo envvar.c; \ then mv -f ".deps/envvar.Tpo" ".deps/envvar.Plo"; else rm -f ".deps/envvar.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT envvar.lo -MD -MP -MF .deps/envvar.Tpo -c envvar.c -fPIC -DPIC -o .libs/envvar.o In file included from ./umem_impl.h:49, from umem_base.h:32, from envvar.c:42: ./sol_compat.h:249:9: warning: 'ec_atomic_inc' redefined 249 | #define ec_atomic_inc(v) atomic_inc(v) | ^~~~~~~~~~~~~ ./sol_compat.h:158:9: note: this is the location of the previous definition 158 | #define ec_atomic_inc(a) MulleAtomicIncrement(a) | ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT envvar.lo -MD -MP -MF .deps/envvar.Tpo -c envvar.c -o envvar.o >/dev/null 2>&1 if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT getpcstack.lo -MD -MP -MF ".deps/getpcstack.Tpo" -c -o getpcstack.lo getpcstack.c; \ then mv -f ".deps/getpcstack.Tpo" ".deps/getpcstack.Plo"; else rm -f ".deps/getpcstack.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT getpcstack.lo -MD -MP -MF .deps/getpcstack.Tpo -c getpcstack.c -fPIC -DPIC -o .libs/getpcstack.o In file included from misc.h:43, from getpcstack.c:33: sol_compat.h:249:9: warning: 'ec_atomic_inc' redefined 249 | #define ec_atomic_inc(v) atomic_inc(v) | ^~~~~~~~~~~~~ sol_compat.h:158:9: note: this is the location of the previous definition 158 | #define ec_atomic_inc(a) MulleAtomicIncrement(a) | ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT getpcstack.lo -MD -MP -MF .deps/getpcstack.Tpo -c getpcstack.c -o getpcstack.o >/dev/null 2>&1 if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT misc.lo -MD -MP -MF ".deps/misc.Tpo" -c -o misc.lo misc.c; \ then mv -f ".deps/misc.Tpo" ".deps/misc.Plo"; else rm -f ".deps/misc.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT misc.lo -MD -MP -MF .deps/misc.Tpo -c misc.c -fPIC -DPIC -o .libs/misc.o In file included from ./umem_impl.h:49, from misc.c:50: ./sol_compat.h:249:9: warning: 'ec_atomic_inc' redefined 249 | #define ec_atomic_inc(v) atomic_inc(v) | ^~~~~~~~~~~~~ ./sol_compat.h:158:9: note: this is the location of the previous definition 158 | #define ec_atomic_inc(a) MulleAtomicIncrement(a) | ^~~~~~~~~~~~~ misc.c: In function 'umem_error_enter': misc.c:118:24: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 118 | (void) write(UMEM_ERRFD, error_str, strlen(error_str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c: In function 'log_message': misc.c:204:24: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 204 | (void) write(UMEM_ERRFD, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c: In function 'debug_printf': misc.c:222:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 222 | (void) write(UMEM_ERRFD, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT misc.lo -MD -MP -MF .deps/misc.Tpo -c misc.c -o misc.o >/dev/null 2>&1 if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT vmem_base.lo -MD -MP -MF ".deps/vmem_base.Tpo" -c -o vmem_base.lo vmem_base.c; \ then mv -f ".deps/vmem_base.Tpo" ".deps/vmem_base.Plo"; else rm -f ".deps/vmem_base.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT vmem_base.lo -MD -MP -MF .deps/vmem_base.Tpo -c vmem_base.c -fPIC -DPIC -o .libs/vmem_base.o In file included from misc.h:43, from vmem_base.h:39, from vmem_base.c:31: sol_compat.h:249:9: warning: 'ec_atomic_inc' redefined 249 | #define ec_atomic_inc(v) atomic_inc(v) | ^~~~~~~~~~~~~ sol_compat.h:158:9: note: this is the location of the previous definition 158 | #define ec_atomic_inc(a) MulleAtomicIncrement(a) | ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT vmem_base.lo -MD -MP -MF .deps/vmem_base.Tpo -c vmem_base.c -o vmem_base.o >/dev/null 2>&1 if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT umem.lo -MD -MP -MF ".deps/umem.Tpo" -c -o umem.lo umem.c; \ then mv -f ".deps/umem.Tpo" ".deps/umem.Plo"; else rm -f ".deps/umem.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT umem.lo -MD -MP -MF .deps/umem.Tpo -c umem.c -fPIC -DPIC -o .libs/umem.o In file included from ./umem_impl.h:49, from umem.c:370: ./sol_compat.h:249:9: warning: 'ec_atomic_inc' redefined 249 | #define ec_atomic_inc(v) atomic_inc(v) | ^~~~~~~~~~~~~ ./sol_compat.h:158:9: note: this is the location of the previous definition 158 | #define ec_atomic_inc(a) MulleAtomicIncrement(a) | ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT umem.lo -MD -MP -MF .deps/umem.Tpo -c umem.c -o umem.o >/dev/null 2>&1 if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT vmem.lo -MD -MP -MF ".deps/vmem.Tpo" -c -o vmem.lo vmem.c; \ then mv -f ".deps/vmem.Tpo" ".deps/vmem.Plo"; else rm -f ".deps/vmem.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT vmem.lo -MD -MP -MF .deps/vmem.Tpo -c vmem.c -fPIC -DPIC -o .libs/vmem.o In file included from ./sys/vmem_impl_user.h:45, from vmem.c:113: ./sol_compat.h:249:9: warning: 'ec_atomic_inc' redefined 249 | #define ec_atomic_inc(v) atomic_inc(v) | ^~~~~~~~~~~~~ ./sol_compat.h:158:9: note: this is the location of the previous definition 158 | #define ec_atomic_inc(a) MulleAtomicIncrement(a) | ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT vmem.lo -MD -MP -MF .deps/vmem.Tpo -c vmem.c -o vmem.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=link gcc -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -o libumem.la -rpath /usr/local/lib -lpthread -ldl init_lib.lo umem_agent_support.lo umem_fail.lo umem_fork.lo umem_update_thread.lo vmem_mmap.lo vmem_sbrk.lo envvar.lo getpcstack.lo misc.lo vmem_base.lo umem.lo vmem.lo gcc -shared .libs/init_lib.o .libs/umem_agent_support.o .libs/umem_fail.o .libs/umem_fork.o .libs/umem_update_thread.o .libs/vmem_mmap.o .libs/vmem_sbrk.o .libs/envvar.o .libs/getpcstack.o .libs/misc.o .libs/vmem_base.o .libs/umem.o .libs/vmem.o -lpthread -ldl -Wl,-soname -Wl,libumem.so.0 -o .libs/libumem.so.0.0.0 (cd .libs && rm -f libumem.so.0 && ln -s libumem.so.0.0.0 libumem.so.0) (cd .libs && rm -f libumem.so && ln -s libumem.so.0.0.0 libumem.so) ar cru .libs/libumem.a init_lib.o umem_agent_support.o umem_fail.o umem_fork.o umem_update_thread.o vmem_mmap.o vmem_sbrk.o envvar.o getpcstack.o misc.o vmem_base.o umem.o vmem.o ranlib .libs/libumem.a creating libumem.la (cd .libs && rm -f libumem.la && ln -s ../libumem.la libumem.la) if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT malloc.lo -MD -MP -MF ".deps/malloc.Tpo" -c -o malloc.lo malloc.c; \ then mv -f ".deps/malloc.Tpo" ".deps/malloc.Plo"; else rm -f ".deps/malloc.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT malloc.lo -MD -MP -MF .deps/malloc.Tpo -c malloc.c -fPIC -DPIC -o .libs/malloc.o In file included from ./umem_impl.h:49, from umem_base.h:32, from malloc.c:40: ./sol_compat.h:249:9: warning: 'ec_atomic_inc' redefined 249 | #define ec_atomic_inc(v) atomic_inc(v) | ^~~~~~~~~~~~~ ./sol_compat.h:158:9: note: this is the location of the previous definition 158 | #define ec_atomic_inc(a) MulleAtomicIncrement(a) | ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT malloc.lo -MD -MP -MF .deps/malloc.Tpo -c malloc.c -o malloc.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=link gcc -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -o libumem_malloc.la -rpath /usr/local/lib -lpthread -ldl -R/usr/local/lib -lumem malloc.lo gcc -shared .libs/malloc.o -Wl,--rpath -Wl,/home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/src/lib/libumem/.libs -Wl,--rpath -Wl,/usr/local/lib -lpthread -ldl /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/src/lib/libumem/.libs/libumem.so -Wl,-soname -Wl,libumem_malloc.so.0 -o .libs/libumem_malloc.so.0.0.0 (cd .libs && rm -f libumem_malloc.so.0 && ln -s libumem_malloc.so.0.0.0 libumem_malloc.so.0) (cd .libs && rm -f libumem_malloc.so && ln -s libumem_malloc.so.0.0.0 libumem_malloc.so) ar cru .libs/libumem_malloc.a malloc.o ranlib .libs/libumem_malloc.a creating libumem_malloc.la (cd .libs && rm -f libumem_malloc.la && ln -s ../libumem_malloc.la libumem_malloc.la) if gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT umem_test.o -MD -MP -MF ".deps/umem_test.Tpo" -c -o umem_test.o umem_test.c; \ then mv -f ".deps/umem_test.Tpo" ".deps/umem_test.Po"; else rm -f ".deps/umem_test.Tpo"; exit 1; fi In file included from ./umem_impl.h:49, from umem_test.c:6: ./sol_compat.h:249:9: warning: 'ec_atomic_inc' redefined 249 | #define ec_atomic_inc(v) atomic_inc(v) | ^~~~~~~~~~~~~ ./sol_compat.h:158:9: note: this is the location of the previous definition 158 | #define ec_atomic_inc(a) MulleAtomicIncrement(a) | ^~~~~~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link gcc -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -o umem_test umem_test.o -lumem gcc -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -o .libs/umem_test umem_test.o /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/src/lib/libumem/.libs/libumem.so -lpthread -ldl -Wl,--rpath -Wl,/usr/local/lib creating umem_test if gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT umem_test2.o -MD -MP -MF ".deps/umem_test2.Tpo" -c -o umem_test2.o umem_test2.c; \ then mv -f ".deps/umem_test2.Tpo" ".deps/umem_test2.Po"; else rm -f ".deps/umem_test2.Tpo"; exit 1; fi In file included from ./umem_impl.h:49, from umem_test2.c:5: ./sol_compat.h:249:9: warning: 'ec_atomic_inc' redefined 249 | #define ec_atomic_inc(v) atomic_inc(v) | ^~~~~~~~~~~~~ ./sol_compat.h:158:9: note: this is the location of the previous definition 158 | #define ec_atomic_inc(a) MulleAtomicIncrement(a) | ^~~~~~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link gcc -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -o umem_test2 umem_test2.o -lumem gcc -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -o .libs/umem_test2 umem_test2.o /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/src/lib/libumem/.libs/libumem.so -lpthread -ldl -Wl,--rpath -Wl,/usr/local/lib creating umem_test2 if gcc -DHAVE_CONFIG_H -I. -I. -I. -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -MT umem_test3.o -MD -MP -MF ".deps/umem_test3.Tpo" -c -o umem_test3.o umem_test3.c; \ then mv -f ".deps/umem_test3.Tpo" ".deps/umem_test3.Po"; else rm -f ".deps/umem_test3.Tpo"; exit 1; fi umem_test3.c: In function 'minfo': umem_test3.c:14:3: warning: 'mallinfo' is deprecated [-Wdeprecated-declarations] 14 | mi = mallinfo(); | ^~ In file included from umem_test3.c:7: /usr/include/malloc.h:114:24: note: declared here 114 | extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED; | ^~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link gcc -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -o umem_test3 umem_test3.o -lumem -lumem_malloc gcc -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -fstrict-volatile-bitfields --param=ssp-buffer-size=4 -g -O2 -o .libs/umem_test3 umem_test3.o /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/src/lib/libumem/.libs/libumem_malloc.so /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/src/lib/libumem/.libs/libumem.so -lpthread -ldl -Wl,--rpath -Wl,/usr/local/lib creating umem_test3 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/src/lib/libumem' gcc -o lib/libuutil/uu_alloc.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -DNATIVE_BUILD -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libavl/include -Ilib/libsolcompat/include lib/libuutil/uu_alloc.c gcc -o lib/libuutil/uu_avl.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -DNATIVE_BUILD -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libavl/include -Ilib/libsolcompat/include lib/libuutil/uu_avl.c gcc -o lib/libuutil/uu_dprintf.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -DNATIVE_BUILD -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libavl/include -Ilib/libsolcompat/include lib/libuutil/uu_dprintf.c gcc -o lib/libuutil/uu_ident.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -DNATIVE_BUILD -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libavl/include -Ilib/libsolcompat/include lib/libuutil/uu_ident.c gcc -o lib/libuutil/uu_list.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -DNATIVE_BUILD -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libavl/include -Ilib/libsolcompat/include lib/libuutil/uu_list.c gcc -o lib/libuutil/uu_misc.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -DNATIVE_BUILD -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libavl/include -Ilib/libsolcompat/include lib/libuutil/uu_misc.c gcc -o lib/libuutil/uu_open.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -DNATIVE_BUILD -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libavl/include -Ilib/libsolcompat/include lib/libuutil/uu_open.c gcc -o lib/libuutil/uu_pname.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -DNATIVE_BUILD -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libavl/include -Ilib/libsolcompat/include lib/libuutil/uu_pname.c gcc -o lib/libuutil/uu_strtoint.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -DNATIVE_BUILD -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libavl/include -Ilib/libsolcompat/include lib/libuutil/uu_strtoint.c gcc -o lib/libsolcompat/getmntany.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolcompat/include -Ilib/libsolcompat/include/generic lib/libsolcompat/getmntany.c In file included from lib/libsolcompat/getmntany.c:39: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libsolcompat/include/sys/mnttab.h:35, from lib/libsolcompat/getmntany.c:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libsolcompat/mkdirp.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolcompat/include -Ilib/libsolcompat/include/generic lib/libsolcompat/mkdirp.c gcc -o lib/libsolcompat/strlcpy.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolcompat/include -Ilib/libsolcompat/include/generic lib/libsolcompat/strlcpy.c gcc -o lib/libsolcompat/strlcat.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolcompat/include -Ilib/libsolcompat/include/generic lib/libsolcompat/strlcat.c gcc -o lib/libsolcompat/u8_textprep.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolcompat/include -Ilib/libsolcompat/include/generic lib/libsolcompat/u8_textprep.c In file included from lib/libsolcompat/u8_textprep.c:39: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libsolcompat/u8_textprep.c:37: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libsolcompat/zone.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolcompat/include -Ilib/libsolcompat/include/generic lib/libsolcompat/zone.c gcc -o lib/libsolcompat/generic/atomic.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolcompat/include -Ilib/libsolcompat/include/generic lib/libsolcompat/generic/atomic.c ar rc lib/libsolcompat/libsolcompat.a lib/libsolcompat/getmntany.o lib/libsolcompat/mkdirp.o lib/libsolcompat/strlcpy.o lib/libsolcompat/strlcat.o lib/libsolcompat/u8_textprep.o lib/libsolcompat/zone.o lib/libsolcompat/generic/atomic.o ranlib lib/libsolcompat/libsolcompat.a ar rc lib/libuutil/libuutil.a lib/libuutil/uu_alloc.o lib/libuutil/uu_avl.o lib/libuutil/uu_dprintf.o lib/libuutil/uu_ident.o lib/libuutil/uu_list.o lib/libuutil/uu_misc.o lib/libuutil/uu_open.o lib/libuutil/uu_pname.o lib/libuutil/uu_strtoint.o lib/libsolcompat/libsolcompat.a ranlib lib/libuutil/libuutil.a gcc -o lib/libavl/avl.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libsolcompat/include lib/libavl/avl.c ar rc lib/libavl/libavl.a lib/libavl/avl.o ranlib lib/libavl/libavl.a gcc -o cmd/mount_zfs/mount.zfs -pipe -Wall -ltirpc -ggdb -fPIC -rdynamic cmd/mount_zfs/mount_zfs.o cmd/mount_zfs/ptrace.o lib/libzfs/libzfs.a lib/libzfscommon/libzfscommon-user.a lib/libnvpair/libnvpair-user.a lib/libumem/libumem.a lib/libuutil/libuutil.a lib/libavl/libavl.a lib/libsolcompat/libsolcompat.a -lpthread -lm -ldl -lcrypto gcc -o cmd/stat/common/timestamp.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzfs/include -Ilib/libsolcompat/include -Ilib/libavl/include -Icmd/stat/common cmd/stat/common/timestamp.c gcc -o cmd/zdb/ptrace.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libsolcompat/include -Ilib/libzfs/include cmd/zdb/ptrace.c gcc -o cmd/zdb/zdb.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libsolcompat/include -Ilib/libzfs/include cmd/zdb/zdb.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from cmd/zdb/zdb.c:29: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from cmd/zdb/zdb.c:27: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from cmd/zdb/zdb.c:31: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o cmd/zdb/zdb_il.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libsolcompat/include -Ilib/libzfs/include cmd/zdb/zdb_il.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from cmd/zdb/zdb_il.c:33: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from cmd/zdb/zdb_il.c:31: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34, from lib/libzfscommon/include/sys/zil_impl.h:31, from cmd/zdb/zdb_il.c:39: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/arc.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/arc.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzpool/arc.c:119: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/arc.c:123: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/bplist.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/bplist.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/bplist.h:28, from lib/libzpool/bplist.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/dbuf.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dbuf.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/dbuf.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_impl.h:31, from lib/libzpool/dbuf.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/dbuf.c: In function 'dbuf_write_done': lib/libzpool/dbuf.c:2582:9: warning: 'pthread_yield' is deprecated: pthread_yield is deprecated, use sched_yield instead [-Wdeprecated-declarations] 2582 | pthread_yield(); | ^~~~~~~~~~~~~ In file included from /usr/include/features.h:524, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from lib/libzpool/include/sys/zfs_context.h:43: /usr/include/pthread.h:479:12: note: declared here 479 | extern int __REDIRECT_NTH (pthread_yield, (void), sched_yield) | ^~~~~~~~~~~~~~ gcc -o lib/libzpool/build-user/dnode_sync.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dnode_sync.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/dnode_sync.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dbuf.h:34, from lib/libzpool/dnode_sync.c:26: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dmu.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dmu.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/txg_impl.h:29, from lib/libzfscommon/include/sys/dmu_impl.h:29, from lib/libzpool/dmu.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dmu.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_impl.h:31: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dmu_object.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dmu_object.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dmu_objset.h:30, from lib/libzpool/dmu_object.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dmu_object.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dmu_objset.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dmu_objset.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/dmu_objset.c:28: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34, from lib/libzpool/dmu_objset.c:29: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dmu_send.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dmu_send.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/txg_impl.h:29, from lib/libzfscommon/include/sys/dmu_impl.h:29, from lib/libzpool/dmu_send.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dmu_send.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_impl.h:31: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dmu_traverse.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dmu_traverse.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/dmu_traverse.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34, from lib/libzpool/dmu_traverse.c:26: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dmu_tx.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dmu_tx.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/txg_impl.h:29, from lib/libzfscommon/include/sys/dmu_impl.h:29, from lib/libzpool/dmu_tx.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dmu_tx.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_impl.h:31: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/dmu_tx.c: In function 'dmu_tx_commit': lib/libzpool/dmu_tx.c:1143:17: warning: 'pthread_yield' is deprecated: pthread_yield is deprecated, use sched_yield instead [-Wdeprecated-declarations] 1143 | pthread_yield(); | ^~~~~~~~~~~~~ In file included from /usr/include/features.h:524, from /usr/include/inttypes.h:25, from lib/libsolcompat/include/sys/inttypes.h:30, from lib/libzfscommon/include/sys/dmu.h:38: /usr/include/pthread.h:479:12: note: declared here 479 | extern int __REDIRECT_NTH (pthread_yield, (void), sched_yield) | ^~~~~~~~~~~~~~ gcc -o lib/libzpool/build-user/dmu_zfetch.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dmu_zfetch.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/dmu_zfetch.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzpool/dmu_zfetch.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dnode.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dnode.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/dnode.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dbuf.h:34, from lib/libzpool/dnode.c:26: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dsl_dataset.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dsl_dataset.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dmu_objset.h:30, from lib/libzpool/dsl_dataset.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dsl_deleg.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dsl_deleg.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dmu_objset.h:30, from lib/libzpool/dsl_deleg.c:69: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dsl_deleg.c:68: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dsl_dir.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dsl_dir.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dmu_objset.h:30, from lib/libzpool/dsl_dir.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dsl_dir.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dsl_pool.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dsl_pool.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dsl_pool.h:28, from lib/libzpool/dsl_pool.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dsl_prop.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dsl_prop.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/dsl_prop.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34, from lib/libzpool/dsl_prop.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dsl_scan.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dsl_scan.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/dsl_scan.h:28, from lib/libzpool/dsl_scan.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzpool/dsl_scan.c:26: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dsl_synctask.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dsl_synctask.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/txg.h:29, from lib/libzfscommon/include/sys/dmu_tx.h:31, from lib/libzpool/dsl_synctask.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dsl_synctask.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dmu_tx.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/fletcher.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/fletcher.c In file included from lib/libzpool/fletcher.c:129: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzpool/fletcher.c:128: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/flushwc.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/flushwc.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/flushwc.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzpool/flushwc.c:19: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/gzip.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/gzip.c gcc -o lib/libzpool/build-user/lzjb.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/lzjb.c gcc -o lib/libzpool/build-user/metaslab.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/metaslab.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/metaslab.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dmu_tx.h:32, from lib/libzpool/metaslab.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/refcount.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/refcount.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/refcount.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/refcount.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/rprwlock.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/rprwlock.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/rprwlock.c:28: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/rprwlock.c:29: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/rrwlock.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/rrwlock.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/refcount.h:31, from lib/libzpool/rrwlock.c:28: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/list_impl.h:32, from lib/libzfscommon/include/sys/list.h:31, from lib/libzfscommon/include/sys/refcount.h:30: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/sha256.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/sha256.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/sha256.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ lib/libzpool/sha256.c: In function 'zio_checksum_SHA256': lib/libzpool/sha256.c:35:9: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 35 | SHA256_Init(&ctx); | ^~~~~~~~~~~ In file included from lib/libzpool/sha256.c:27: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ lib/libzpool/sha256.c:36:9: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 36 | SHA256_Update(&ctx, buf, size); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ lib/libzpool/sha256.c:37:9: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 37 | SHA256_Final((unsigned char*)&tmp, &ctx); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ gcc -o lib/libzpool/build-user/spa.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/spa.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/spa.c:32: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/spa.c:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/spa_config.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/spa_config.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzpool/spa_config.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/spa_config.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/spa_errlog.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/spa_errlog.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/txg.h:29, from lib/libzfscommon/include/sys/dmu_tx.h:31, from lib/libzpool/spa_errlog.c:50: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzfscommon/include/sys/dmu_tx.h:30: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dmu_tx.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/spa_history.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/spa_history.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzpool/spa_history.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/spa_history.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ In file included from lib/libzpool/include/sys/zfs_context.h:68: lib/libzpool/spa_history.c: In function 'spa_history_advance_bof': lib/libzpool/spa_history.c:138:26: warning: cast increases required alignment of target type [-Wcast-align] 138 | reclen = LE_64(*((uint64_t *)buf)); | ^ lib/libsolcompat/include/sys/byteorder.h:106:26: note: in definition of macro 'BMASK_64' 106 | #define BMASK_64(x) (x) | ^ lib/libzpool/spa_history.c:138:18: note: in expansion of macro 'LE_64' 138 | reclen = LE_64(*((uint64_t *)buf)); | ^~~~~ gcc -o lib/libzpool/build-user/spa_misc.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/spa_misc.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/spa_misc.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/spa_misc.c:26: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/space_map.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/space_map.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/space_map.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/txg.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/txg.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/txg.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_impl.h:31, from lib/libzpool/txg.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/txg.c: In function 'txg_list_add': lib/libzpool/txg.c:616:26: warning: cast increases required alignment of target type [-Wcast-align] 616 | txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); | ^ lib/libzpool/txg.c: In function 'txg_list_add_tail': lib/libzpool/txg.c:639:26: warning: cast increases required alignment of target type [-Wcast-align] 639 | txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); | ^ lib/libzpool/txg.c: In function 'txg_list_member': lib/libzpool/txg.c:711:26: warning: cast increases required alignment of target type [-Wcast-align] 711 | txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); | ^ lib/libzpool/txg.c: In function 'txg_list_next': lib/libzpool/txg.c:732:26: warning: cast increases required alignment of target type [-Wcast-align] 732 | txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); | ^ gcc -o lib/libzpool/build-user/uberblock.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/uberblock.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/uberblock.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/unique.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/unique.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/unique.c:28: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/util.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/util.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/util.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/util.c:33: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/vdev.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/vdev.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/vdev.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/vdev.c:29: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/vdev.c: In function 'vdev_open_children': lib/libzpool/vdev.c:1094:31: warning: comparison between pointer and integer 1094 | TQ_SLEEP) != NULL); | ^~ lib/libzpool/include/sys/zfs_context.h:119:29: note: in definition of macro 'zverify' 119 | #define zverify(EX) (void)((EX) || (aok) || \ | ^~ lib/libzpool/vdev.c:1093:17: note: in expansion of macro 'VERIFY' 1093 | VERIFY(taskq_dispatch(tq, vdev_open_child, vd->vdev_child[c], | ^~~~~~ gcc -o lib/libzpool/build-user/vdev_cache.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/vdev_cache.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/vdev_cache.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/vdev_file.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/vdev_file.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/vdev_file.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/vdev_label.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/vdev_label.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/vdev_label.c:133: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/vdev_label.c:135: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/vdev_mirror.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/vdev_mirror.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/vdev_mirror.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/vdev_missing.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/vdev_missing.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/vdev_missing.c:35: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/vdev_queue.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/vdev_queue.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/vdev_queue.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/vdev_raidz.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/vdev_raidz.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/vdev_raidz.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/vdev_root.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/vdev_root.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/vdev_root.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/zap.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zap.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzpool/zap.c:40: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/zap.c:46: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/zap.c: In function 'zap_open_leaf': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/include/sys/zfs_context.h:146:36: note: in definition of macro 'VERIFY3_IMPL' 146 | const TYPE __left = (TYPE)(LEFT); \ | ^~~~ lib/libzpool/include/sys/zfs_context.h:170:33: note: in expansion of macro 'VERIFY3P' 170 | #define ASSERT3P(x, y, z) VERIFY3P(x, y, z) | ^~~~~~~~ lib/libzpool/zap.c:486:9: note: in expansion of macro 'ASSERT3P' 486 | ASSERT3P(&ZAP_LEAF_CHUNK(l, 0), ==, | ^~~~~~~~ lib/libzpool/zap.c:486:19: note: in expansion of macro 'ZAP_LEAF_CHUNK' 486 | ASSERT3P(&ZAP_LEAF_CHUNK(l, 0), ==, | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/include/sys/zfs_context.h:146:36: note: in definition of macro 'VERIFY3_IMPL' 146 | const TYPE __left = (TYPE)(LEFT); \ | ^~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zap.c:490:9: note: in expansion of macro 'ASSERT3U' 490 | ASSERT3U((uintptr_t)&ZAP_LEAF_CHUNK(l, ZAP_LEAF_NUMCHUNKS(l)) - | ^~~~~~~~ lib/libzpool/zap.c:490:30: note: in expansion of macro 'ZAP_LEAF_CHUNK' 490 | ASSERT3U((uintptr_t)&ZAP_LEAF_CHUNK(l, ZAP_LEAF_NUMCHUNKS(l)) - | ^~~~~~~~~~~~~~ gcc -o lib/libzpool/build-user/zap_leaf.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zap_leaf.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzpool/zap_leaf.c:31: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/zap_leaf.c:38: lib/libzpool/zap_leaf.c: In function 'zap_leaf_byteswap': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:122:41: note: in expansion of macro 'ZAP_LEAF_CHUNK' 122 | zap_leaf_chunk_t *lc = &ZAP_LEAF_CHUNK(&l, i); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_init': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:163:17: note: in expansion of macro 'ZAP_LEAF_CHUNK' 163 | ZAP_LEAF_CHUNK(l, i).l_free.lf_type = ZAP_CHUNK_FREE; | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:164:17: note: in expansion of macro 'ZAP_LEAF_CHUNK' 164 | ZAP_LEAF_CHUNK(l, i).l_free.lf_next = i+1; | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:166:9: note: in expansion of macro 'ZAP_LEAF_CHUNK' 166 | ZAP_LEAF_CHUNK(l, ZAP_LEAF_NUMCHUNKS(l)-1).l_free.lf_next = CHAIN_END; | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_chunk_alloc': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/include/sys/zfs_context.h:146:36: note: in definition of macro 'VERIFY3_IMPL' 146 | const TYPE __left = (TYPE)(LEFT); \ | ^~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zap_leaf.c:187:9: note: in expansion of macro 'ASSERT3U' 187 | ASSERT3U(ZAP_LEAF_CHUNK(l, chunk).l_free.lf_type, ==, ZAP_CHUNK_FREE); | ^~~~~~~~ lib/libzpool/zap_leaf.c:187:18: note: in expansion of macro 'ZAP_LEAF_CHUNK' 187 | ASSERT3U(ZAP_LEAF_CHUNK(l, chunk).l_free.lf_type, ==, ZAP_CHUNK_FREE); | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:189:40: note: in expansion of macro 'ZAP_LEAF_CHUNK' 189 | l->l_phys->l_hdr.lh_freelist = ZAP_LEAF_CHUNK(l, chunk).l_free.lf_next; | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_chunk_free': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:199:38: note: in expansion of macro 'ZAP_LEAF_CHUNK' 199 | struct zap_leaf_free *zlf = &ZAP_LEAF_CHUNK(l, chunk).l_free; | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_array_create': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:231:46: note: in expansion of macro 'ZAP_LEAF_CHUNK' 231 | struct zap_leaf_array *la = &ZAP_LEAF_CHUNK(l, chunk).l_array; | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_array_free': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:264:33: note: in expansion of macro 'ZAP_LEAF_CHUNK' 264 | int nextchunk = ZAP_LEAF_CHUNK(l, chunk).l_array.la_next; | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/include/sys/zfs_context.h:146:36: note: in definition of macro 'VERIFY3_IMPL' 146 | const TYPE __left = (TYPE)(LEFT); \ | ^~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zap_leaf.c:265:17: note: in expansion of macro 'ASSERT3U' 265 | ASSERT3U(ZAP_LEAF_CHUNK(l, chunk).l_array.la_type, ==, | ^~~~~~~~ lib/libzpool/zap_leaf.c:265:26: note: in expansion of macro 'ZAP_LEAF_CHUNK' 265 | ASSERT3U(ZAP_LEAF_CHUNK(l, chunk).l_array.la_type, ==, | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_array_read': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:287:46: note: in expansion of macro 'ZAP_LEAF_CHUNK' 287 | struct zap_leaf_array *la = &ZAP_LEAF_CHUNK(l, chunk).l_array; | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:303:30: note: in expansion of macro 'ZAP_LEAF_CHUNK' 303 | &ZAP_LEAF_CHUNK(l, chunk).l_array; | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:312:46: note: in expansion of macro 'ZAP_LEAF_CHUNK' 312 | struct zap_leaf_array *la = &ZAP_LEAF_CHUNK(l, chunk).l_array; | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_array_match': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:374:46: note: in expansion of macro 'ZAP_LEAF_CHUNK' 374 | struct zap_leaf_array *la = &ZAP_LEAF_CHUNK(l, chunk).l_array; | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_lookup': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:401:22: note: in expansion of macro 'ZAP_LEAF_ENTRY' 401 | le = ZAP_LEAF_ENTRY(l, chunk); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_lookup_closest': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:460:30: note: in expansion of macro 'ZAP_LEAF_ENTRY' 460 | le = ZAP_LEAF_ENTRY(l, chunk); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_entry_read': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:491:13: note: in expansion of macro 'ZAP_LEAF_ENTRY' 491 | ZAP_LEAF_ENTRY(zeh->zeh_leaf, *zeh->zeh_chunkp); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_entry_read_name': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:512:13: note: in expansion of macro 'ZAP_LEAF_ENTRY' 512 | ZAP_LEAF_ENTRY(zeh->zeh_leaf, *zeh->zeh_chunkp); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_entry_update': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:533:37: note: in expansion of macro 'ZAP_LEAF_ENTRY' 533 | struct zap_leaf_entry *le = ZAP_LEAF_ENTRY(l, *zeh->zeh_chunkp); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_entry_remove': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:559:14: note: in expansion of macro 'ZAP_LEAF_ENTRY' 559 | le = ZAP_LEAF_ENTRY(l, entry_chunk); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_entry_create': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:597:38: note: in expansion of macro 'ZAP_LEAF_ENTRY' 597 | le = ZAP_LEAF_ENTRY(l, chunk); | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:610:46: note: in expansion of macro 'ZAP_LEAF_ENTRY' 610 | le = ZAP_LEAF_ENTRY(l, chunk); | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:633:14: note: in expansion of macro 'ZAP_LEAF_ENTRY' 633 | le = ZAP_LEAF_ENTRY(l, chunk); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_entry_normalization_conflict': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:684:22: note: in expansion of macro 'ZAP_LEAF_ENTRY' 684 | le = ZAP_LEAF_ENTRY(zeh->zeh_leaf, chunk); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_rehash_entry': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:713:37: note: in expansion of macro 'ZAP_LEAF_ENTRY' 713 | struct zap_leaf_entry *le = ZAP_LEAF_ENTRY(l, entry); | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:724:23: note: in expansion of macro 'ZAP_LEAF_ENTRY' 724 | le2 = ZAP_LEAF_ENTRY(l, *chunkp); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_transfer_array': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:743:22: note: in expansion of macro 'ZAP_LEAF_CHUNK' 743 | &ZAP_LEAF_CHUNK(nl, nchunk).l_array; | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:745:22: note: in expansion of macro 'ZAP_LEAF_CHUNK' 745 | &ZAP_LEAF_CHUNK(l, chunk).l_array; | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_transfer_entry': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:768:14: note: in expansion of macro 'ZAP_LEAF_ENTRY' 768 | le = ZAP_LEAF_ENTRY(l, entry); | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:772:15: note: in expansion of macro 'ZAP_LEAF_ENTRY' 772 | nle = ZAP_LEAF_ENTRY(nl, chunk); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_split': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:818:45: note: in expansion of macro 'ZAP_LEAF_ENTRY' 818 | struct zap_leaf_entry *le = ZAP_LEAF_ENTRY(l, i); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_stats': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:856:29: note: in expansion of macro 'ZAP_LEAF_ENTRY' 856 | ZAP_LEAF_ENTRY(l, chunk); | ^~~~~~~~~~~~~~ gcc -o lib/libzpool/build-user/zap_micro.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zap_micro.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzpool/zap_micro.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/zap_micro.c:30: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/zfs_byteswap.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zfs_byteswap.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/zfs_byteswap.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ lib/libzpool/zfs_byteswap.c: In function 'zfs_ace_byteswap': lib/libzpool/zfs_byteswap.c:79:33: warning: cast increases required alignment of target type [-Wcast-align] 79 | zacep = (zfs_ace_t *)ptr; | ^ lib/libzpool/zfs_byteswap.c:91:32: warning: cast increases required alignment of target type [-Wcast-align] 91 | acep = (ace_t *)ptr; | ^ lib/libzpool/zfs_byteswap.c: In function 'zfs_znode_byteswap': lib/libzpool/zfs_byteswap.c:196:37: warning: cast increases required alignment of target type [-Wcast-align] 196 | zfs_oldace_byteswap((ace_t *)&zp->zp_acl.z_ace_data[0], | ^ gcc -o lib/libzpool/build-user/zfs_fm.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zfs_fm.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzpool/zfs_fm.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/zfs_fm.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/zfs_fuid.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zfs_fuid.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/zfs_fuid.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/zfs_fuid.c:29: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/zfs_znode.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zfs_znode.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/refcount.h:31, from lib/libzpool/zfs_znode.c:60: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/zfs_znode.c:59: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/zil.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zil.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/zil.c:27: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34, from lib/libzfscommon/include/sys/zil_impl.h:31, from lib/libzpool/zil.c:35: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/zil.c: In function 'zil_read_log_block': lib/libzpool/zil.c:224:45: warning: cast increases required alignment of target type [-Wcast-align] 224 | zil_chain_t *zilc = (zil_chain_t *)(lr + size) - 1; | ^ lib/libzpool/zil.c: In function 'zil_parse': lib/libzpool/zil.c:338:36: warning: cast increases required alignment of target type [-Wcast-align] 338 | lr_t *lr = (lr_t *)lrp; | ^ lib/libzpool/zil.c: In function 'zil_lwb_write_start': lib/libzpool/zil.c:857:24: warning: cast increases required alignment of target type [-Wcast-align] 857 | zilc = (zil_chain_t *)lwb->lwb_buf; | ^ lib/libzpool/zil.c:860:24: warning: cast increases required alignment of target type [-Wcast-align] 860 | zilc = (zil_chain_t *)(lwb->lwb_buf + lwb->lwb_sz); | ^ lib/libzpool/zil.c: In function 'zil_lwb_commit': lib/libzpool/zil.c:995:15: warning: cast increases required alignment of target type [-Wcast-align] 995 | lrc = (lr_t *)lr_buf; | ^ lib/libzpool/zil.c: In function 'zil_clean': lib/libzpool/zil.c:1278:69: warning: comparison between pointer and integer 1278 | (void (*)(void *))zil_itxg_clean, clean_me, TQ_NOSLEEP) == NULL) | ^~ gcc -o lib/libzpool/build-user/zio.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zio.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/zio.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/zio.c:29: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/zio.c: In function 'zio_wait': lib/libzpool/zio.c:1204:9: warning: 'pthread_yield' is deprecated: pthread_yield is deprecated, use sched_yield instead [-Wdeprecated-declarations] 1204 | pthread_yield(); | ^~~~~~~~~~~~~ In file included from /usr/include/features.h:524, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from lib/libzpool/include/sys/zfs_context.h:43: /usr/include/pthread.h:479:12: note: declared here 479 | extern int __REDIRECT_NTH (pthread_yield, (void), sched_yield) | ^~~~~~~~~~~~~~ lib/libzpool/zio.c: In function 'zio_write_gang_member_ready': lib/libzpool/include/sys/zfs_context.h:150:45: warning: '%s' directive output truncated writing 293 bytes into a region of size 230 [-Wformat-truncation=] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1655:9: note: in expansion of macro 'ASSERT3U' 1655 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(zio->io_bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:52: note: format string is defined here 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~ lib/libzpool/include/sys/zfs_context.h:150:45: note: directive argument in the range [1, 255] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1655:9: note: in expansion of macro 'ASSERT3U' 1655 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(zio->io_bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:45: note: directive argument in the range [0, 3] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1655:9: note: in expansion of macro 'ASSERT3U' 1655 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(zio->io_bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:24: note: 'snprintf' output between 333 and 334 bytes into a destination of size 256 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | #LEFT, #OP, #RIGHT, \ | ~~~~~~~~~~~~~~~~~~~~~ 152 | (u_longlong_t)__left, #OP, (u_longlong_t)__right); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1655:9: note: in expansion of macro 'ASSERT3U' 1655 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(zio->io_bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:45: warning: '%s' directive output truncated writing 293 bytes into a region of size 230 [-Wformat-truncation=] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1656:9: note: in expansion of macro 'ASSERT3U' 1656 | ASSERT3U(pio->io_prop.zp_copies, <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:52: note: format string is defined here 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~ lib/libzpool/include/sys/zfs_context.h:150:45: note: directive argument in the range [1, 255] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1656:9: note: in expansion of macro 'ASSERT3U' 1656 | ASSERT3U(pio->io_prop.zp_copies, <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:45: note: directive argument in the range [0, 3] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1656:9: note: in expansion of macro 'ASSERT3U' 1656 | ASSERT3U(pio->io_prop.zp_copies, <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:24: note: 'snprintf' output between 333 and 334 bytes into a destination of size 256 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | #LEFT, #OP, #RIGHT, \ | ~~~~~~~~~~~~~~~~~~~~~ 152 | (u_longlong_t)__left, #OP, (u_longlong_t)__right); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1656:9: note: in expansion of macro 'ASSERT3U' 1656 | ASSERT3U(pio->io_prop.zp_copies, <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:45: warning: '%s' directive output truncated writing 293 bytes into a region of size 256 [-Wformat-truncation=] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1657:9: note: in expansion of macro 'ASSERT3U' 1657 | ASSERT3U(BP_GET_NDVAS(zio->io_bp), <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:46: note: format string is defined here 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~ lib/libzpool/include/sys/zfs_context.h:150:45: note: directive argument in the range [1, 3] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1657:9: note: in expansion of macro 'ASSERT3U' 1657 | ASSERT3U(BP_GET_NDVAS(zio->io_bp), <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:45: note: directive argument in the range [0, 2] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1657:9: note: in expansion of macro 'ASSERT3U' 1657 | ASSERT3U(BP_GET_NDVAS(zio->io_bp), <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:24: note: 'snprintf' output 604 bytes into a destination of size 256 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | #LEFT, #OP, #RIGHT, \ | ~~~~~~~~~~~~~~~~~~~~~ 152 | (u_longlong_t)__left, #OP, (u_longlong_t)__right); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1657:9: note: in expansion of macro 'ASSERT3U' 1657 | ASSERT3U(BP_GET_NDVAS(zio->io_bp), <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libzpool/zio.c: In function 'zio_dva_allocate': lib/libzpool/include/sys/zfs_context.h:150:45: warning: '%s' directive output truncated writing 269 bytes into a region of size 256 [-Wformat-truncation=] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2132:9: note: in expansion of macro 'ASSERT3U' 2132 | ASSERT3U(BP_GET_NDVAS(bp), ==, 0); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:46: note: format string is defined here 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~ lib/libzpool/include/sys/zfs_context.h:150:45: note: directive argument in the range [1, 3] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2132:9: note: in expansion of macro 'ASSERT3U' 2132 | ASSERT3U(BP_GET_NDVAS(bp), ==, 0); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:45: note: directive argument '0' 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2132:9: note: in expansion of macro 'ASSERT3U' 2132 | ASSERT3U(BP_GET_NDVAS(bp), ==, 0); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:24: note: 'snprintf' output 288 bytes into a destination of size 256 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | #LEFT, #OP, #RIGHT, \ | ~~~~~~~~~~~~~~~~~~~~~ 152 | (u_longlong_t)__left, #OP, (u_longlong_t)__right); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2132:9: note: in expansion of macro 'ASSERT3U' 2132 | ASSERT3U(BP_GET_NDVAS(bp), ==, 0); | ^~~~~~~~ lib/libzpool/zio.c: In function 'zio_done': lib/libzpool/include/sys/zfs_context.h:150:45: warning: '%s' directive output truncated writing 269 bytes into a region of size 230 [-Wformat-truncation=] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2695:25: note: in expansion of macro 'ASSERT3U' 2695 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:52: note: format string is defined here 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~ lib/libzpool/include/sys/zfs_context.h:150:45: note: directive argument in the range [1, 255] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2695:25: note: in expansion of macro 'ASSERT3U' 2695 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:45: note: directive argument in the range [0, 3] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2695:25: note: in expansion of macro 'ASSERT3U' 2695 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:24: note: 'snprintf' output between 309 and 310 bytes into a destination of size 256 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | #LEFT, #OP, #RIGHT, \ | ~~~~~~~~~~~~~~~~~~~~~ 152 | (u_longlong_t)__left, #OP, (u_longlong_t)__right); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2695:25: note: in expansion of macro 'ASSERT3U' 2695 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(bp)); | ^~~~~~~~ gcc -o lib/libzpool/build-user/zio_checksum.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zio_checksum.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/zio_checksum.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ lib/libzpool/zio_checksum.c: In function 'zio_checksum_compute': lib/libzpool/zio_checksum.c:172:31: warning: cast increases required alignment of target type [-Wcast-align] 172 | eck = (zio_eck_t *)((char *)data + size) - 1; | ^ lib/libzpool/zio_checksum.c: In function 'zio_checksum_error': lib/libzpool/zio_checksum.c:226:31: warning: cast increases required alignment of target type [-Wcast-align] 226 | eck = (zio_eck_t *)((char *)data + size) - 1; | ^ gcc -o lib/libzpool/build-user/zio_compress.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zio_compress.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/zio_compress.c:27: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ lib/libzpool/zio_compress.c: In function 'zio_compress_data': lib/libzpool/zio_compress.c:113:20: warning: cast increases required alignment of target type [-Wcast-align] 113 | word_end = (uint64_t *)((char *)src + s_len); | ^ gcc -o lib/libzpool/build-user/zio_inject.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zio_inject.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/arc.h:28, from lib/libzpool/zio_inject.c:42: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32, from lib/libzpool/zio_inject.c:44: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/kmem_asprintf.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/kmem_asprintf.c gcc -o lib/libzpool/build-user/ddt.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/ddt.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/ddt.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/ddt.c:28: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/ddt_zap.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/ddt_zap.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/ddt_zap.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dmu_tx.h:32, from lib/libzpool/ddt_zap.c:31: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/ddt_zap.c: In function 'ddt_zap_walk': lib/libzpool/ddt_zap.c:122:55: warning: cast increases required alignment of target type [-Wcast-align] 122 | error = zap_lookup_uint64(os, object, (uint64_t *)za.za_name, | ^ lib/libzpool/ddt_zap.c:128:41: warning: cast increases required alignment of target type [-Wcast-align] 128 | dde->dde_key = *(ddt_key_t *)za.za_name; | ^ gcc -o lib/libzpool/build-user/zle.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zle.c In file included from lib/libzpool/zle.c:34: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzpool/zle.c:33: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/sa.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/sa.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/sa.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_impl.h:31, from lib/libzpool/sa.c:31: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/sa.c: In function 'sa_attr_register_sync': lib/libzpool/sa.c:1558:65: warning: comparison between pointer and integer 1558 | if (!sa->sa_need_attr_registration || sa->sa_master_obj == NULL) { | ^~ lib/libzpool/sa.c:1563:33: warning: comparison between pointer and integer 1563 | if (sa->sa_reg_attr_obj == NULL) { | ^~ gcc -o lib/libzpool/build-user/zfs_sa.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zfs_sa.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/zfs_sa.c:27: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzpool/zfs_sa.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/zfs_debug.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zfs_debug.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/zfs_debug.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/bpobj.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/bpobj.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/bpobj.h:29, from lib/libzpool/bpobj.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzfscommon/include/sys/bpobj.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/bpobj.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dsl_deadlist.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dsl_deadlist.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dsl_dataset.h:29, from lib/libzpool/dsl_deadlist.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzfscommon/include/sys/dsl_dataset.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/dsl_deadlist.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/zrlock.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zrlock.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zrlock.h:28, from lib/libzpool/zrlock.c:39: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/lzo.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/lzo.c gcc -o lib/libzpool/build-user/bzip2.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/bzip2.c gcc -o lib/libzpool/build-user/lzma.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/lzma.c gcc -o lib/libzpool/build-user/kernel.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/kernel.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzpool/kernel.c:33: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/kernel.c:30: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/taskq.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/taskq.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/taskq.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ ar rc lib/libzpool/libzpool-user.a lib/libzpool/build-user/arc.o lib/libzpool/build-user/bplist.o lib/libzpool/build-user/dbuf.o lib/libzpool/build-user/dnode_sync.o lib/libzpool/build-user/dmu.o lib/libzpool/build-user/dmu_object.o lib/libzpool/build-user/dmu_objset.o lib/libzpool/build-user/dmu_send.o lib/libzpool/build-user/dmu_traverse.o lib/libzpool/build-user/dmu_tx.o lib/libzpool/build-user/dmu_zfetch.o lib/libzpool/build-user/dnode.o lib/libzpool/build-user/dsl_dataset.o lib/libzpool/build-user/dsl_deleg.o lib/libzpool/build-user/dsl_dir.o lib/libzpool/build-user/dsl_pool.o lib/libzpool/build-user/dsl_prop.o lib/libzpool/build-user/dsl_scan.o lib/libzpool/build-user/dsl_synctask.o lib/libzpool/build-user/fletcher.o lib/libzpool/build-user/flushwc.o lib/libzpool/build-user/gzip.o lib/libzpool/build-user/lzjb.o lib/libzpool/build-user/metaslab.o lib/libzpool/build-user/refcount.o lib/libzpool/build-user/rprwlock.o lib/libzpool/build-user/rrwlock.o lib/libzpool/build-user/sha256.o lib/libzpool/build-user/spa.o lib/libzpool/build-user/spa_config.o lib/libzpool/build-user/spa_errlog.o lib/libzpool/build-user/spa_history.o lib/libzpool/build-user/spa_misc.o lib/libzpool/build-user/space_map.o lib/libzpool/build-user/txg.o lib/libzpool/build-user/uberblock.o lib/libzpool/build-user/unique.o lib/libzpool/build-user/util.o lib/libzpool/build-user/vdev.o lib/libzpool/build-user/vdev_cache.o lib/libzpool/build-user/vdev_file.o lib/libzpool/build-user/vdev_label.o lib/libzpool/build-user/vdev_mirror.o lib/libzpool/build-user/vdev_missing.o lib/libzpool/build-user/vdev_queue.o lib/libzpool/build-user/vdev_raidz.o lib/libzpool/build-user/vdev_root.o lib/libzpool/build-user/zap.o lib/libzpool/build-user/zap_leaf.o lib/libzpool/build-user/zap_micro.o lib/libzpool/build-user/zfs_byteswap.o lib/libzpool/build-user/zfs_fm.o lib/libzpool/build-user/zfs_fuid.o lib/libzpool/build-user/zfs_znode.o lib/libzpool/build-user/zil.o lib/libzpool/build-user/zio.o lib/libzpool/build-user/zio_checksum.o lib/libzpool/build-user/zio_compress.o lib/libzpool/build-user/zio_inject.o lib/libzpool/build-user/kmem_asprintf.o lib/libzpool/build-user/ddt.o lib/libzpool/build-user/ddt_zap.o lib/libzpool/build-user/zle.o lib/libzpool/build-user/sa.o lib/libzpool/build-user/zfs_sa.o lib/libzpool/build-user/zfs_debug.o lib/libzpool/build-user/bpobj.o lib/libzpool/build-user/dsl_deadlist.o lib/libzpool/build-user/zrlock.o lib/libzpool/build-user/lzo.o lib/libzpool/build-user/bzip2.o lib/libzpool/build-user/lzma.o lib/libzpool/build-user/kernel.o lib/libzpool/build-user/taskq.o ranlib lib/libzpool/libzpool-user.a gcc -o cmd/zdb/zdb -pipe -Wall -ltirpc -ggdb -fPIC -rdynamic cmd/zdb/zdb.o cmd/zdb/zdb_il.o cmd/zdb/ptrace.o lib/libavl/libavl.a lib/libnvpair/libnvpair-user.a lib/libumem/libumem.a lib/libzfs/libzfs.a lib/libzpool/libzpool-user.a lib/libzfscommon/libzfscommon-user.a lib/libuutil/libuutil.a lib/libsolcompat/libsolcompat.a -lrt -lpthread -ldl -lz -lm -laio -lcrypto -lbz2 -llzo2 -llzma gcc -o cmd/zfs/ptrace.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzfs/include -Ilib/libsolcompat/include -Ilib/libavl/include cmd/zfs/ptrace.c gcc -o cmd/zfs/zfs_main.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzfs/include -Ilib/libsolcompat/include -Ilib/libavl/include cmd/zfs/zfs_main.c In file included from cmd/zfs/zfs_main.c:50: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libsolcompat/include/libgen.h:31, from cmd/zfs/zfs_main.c:29: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o cmd/zfs/zfs_iter.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzfs/include -Ilib/libsolcompat/include -Ilib/libavl/include cmd/zfs/zfs_iter.c gcc -o cmd/zfs/zfs -pipe -Wall -ltirpc -ggdb -fPIC -rdynamic cmd/zfs/zfs_main.o cmd/zfs/zfs_iter.o cmd/zfs/ptrace.o lib/libzfs/libzfs.a lib/libzfscommon/libzfscommon-user.a lib/libnvpair/libnvpair-user.a lib/libumem/libumem.a lib/libuutil/libuutil.a lib/libavl/libavl.a lib/libsolcompat/libsolcompat.a -lpthread -lm -ldl -lcrypto gcc -o cmd/zpool/ptrace.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzfs/include -Ilib/libsolcompat/include -Ilib/libavl/include -Icmd/stat/common cmd/zpool/ptrace.c gcc -o cmd/zpool/zpool_iter.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzfs/include -Ilib/libsolcompat/include -Ilib/libavl/include -Icmd/stat/common cmd/zpool/zpool_iter.c gcc -o cmd/zpool/zpool_main.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzfs/include -Ilib/libsolcompat/include -Ilib/libavl/include -Icmd/stat/common cmd/zpool/zpool_main.c gcc -o cmd/zpool/zpool_util.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzfs/include -Ilib/libsolcompat/include -Ilib/libavl/include -Icmd/stat/common cmd/zpool/zpool_util.c gcc -o cmd/zpool/zpool_vdev.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzfs/include -Ilib/libsolcompat/include -Ilib/libavl/include -Icmd/stat/common cmd/zpool/zpool_vdev.c cmd/zpool/zpool_vdev.c: In function 'make_leaf_vdev': cmd/zpool/zpool_vdev.c:536:9: warning: 'THRESH_4K' redefined 536 | #define THRESH_4K (128 * 1024LL*1024) /* 128 MB for testing */ | ^~~~~~~~~ cmd/zpool/zpool_vdev.c:535:9: note: this is the location of the previous definition 535 | #define THRESH_4K (512 * 1024LL*1024*1024) /* 512 GB */ | ^~~~~~~~~ gcc -o cmd/zpool/zpool -pipe -Wall -ltirpc -ggdb -fPIC -rdynamic cmd/zpool/zpool_iter.o cmd/zpool/zpool_main.o cmd/zpool/zpool_util.o cmd/zpool/zpool_vdev.o cmd/zpool/ptrace.o lib/libnvpair/libnvpair-user.a lib/libzfs/libzfs.a lib/libumem/libumem.a lib/libzfscommon/libzfscommon-user.a lib/libuutil/libuutil.a lib/libavl/libavl.a lib/libsolcompat/libsolcompat.a cmd/stat/common/timestamp.o -lpthread -lm -ldl -lcrypto gcc -o cmd/zstreamdump/zstreamdump.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzfs/include -Ilib/libsolcompat/include -Ilib/libzpool/include -Ilib/libavl/include cmd/zstreamdump/zstreamdump.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from cmd/zstreamdump/zstreamdump.c:34: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libnvpair/include/sys/nvpair.h:29, from lib/libnvpair/include/libnvpair.h:28, from cmd/zstreamdump/zstreamdump.c:27: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o cmd/zstreamdump/zstreamdump -pipe -Wall -ltirpc -ggdb -fPIC -rdynamic cmd/zstreamdump/zstreamdump.o lib/libzfs/libzfs.a lib/libnvpair/libnvpair-user.a -lpthread -lm -ldl gcc -o cmd/ztest/ztest.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libsolcompat/include cmd/ztest/ztest.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from cmd/ztest/ztest.c:74: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dbuf.h:34, from cmd/ztest/ztest.c:78: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ cmd/ztest/ztest.c: In function 'ztest_dmu_read_write': cmd/ztest/ztest.c:3308:24: warning: cast increases required alignment of target type [-Wcast-align] 3308 | pack = (bufwad_t *)((char *)packbuf + i * sizeof (bufwad_t)); | ^ cmd/ztest/ztest.c:3310:24: warning: cast increases required alignment of target type [-Wcast-align] 3310 | bigH = (bufwad_t *)((char *)bigbuf + i * chunksize); | ^ cmd/ztest/ztest.c:3312:24: warning: cast increases required alignment of target type [-Wcast-align] 3312 | bigT = (bufwad_t *)((char *)bigH + chunksize) - 1; | ^ cmd/ztest/ztest.c: In function 'compare_and_update_pbbufs': cmd/ztest/ztest.c:3410:24: warning: cast increases required alignment of target type [-Wcast-align] 3410 | pack = (bufwad_t *)((char *)packbuf + i * sizeof (bufwad_t)); | ^ cmd/ztest/ztest.c:3412:24: warning: cast increases required alignment of target type [-Wcast-align] 3412 | bigH = (bufwad_t *)((char *)bigbuf + i * chunksize); | ^ cmd/ztest/ztest.c:3414:24: warning: cast increases required alignment of target type [-Wcast-align] 3414 | bigT = (bufwad_t *)((char *)bigH + chunksize) - 1; | ^ cmd/ztest/ztest.c: In function 'ztest_dmu_snapshot_hold': cmd/ztest/ztest.c:4294:41: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 100 [-Wformat-truncation=] 4294 | (void) snprintf(fullname, 100, "%s@%s", osname, snapname); | ^~ ~~~~~~ cmd/ztest/ztest.c:4294:16: note: 'snprintf' output between 2 and 356 bytes into a destination of size 100 4294 | (void) snprintf(fullname, 100, "%s@%s", osname, snapname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd/ztest/ztest.c:4295:42: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 100 [-Wformat-truncation=] 4295 | (void) snprintf(clonename, 100, "%s/ch1_%" FU64, osname, id); | ^~ ~~~~~~ cmd/ztest/ztest.c:4295:16: note: 'snprintf' output between 7 and 281 bytes into a destination of size 100 4295 | (void) snprintf(clonename, 100, "%s/ch1_%" FU64, osname, id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd/ztest/ztest.c: In function 'ztest_dsl_dataset_cleanup': cmd/ztest/ztest.c:3032:51: warning: '@s2_' directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 3032 | (void) snprintf(snap2name, MAXNAMELEN, "%s@s2_%" FU64, clone1name, id); | ^~~~ cmd/ztest/ztest.c:3032:16: note: 'snprintf' output between 6 and 280 bytes into a destination of size 256 3032 | (void) snprintf(snap2name, MAXNAMELEN, "%s@s2_%" FU64, clone1name, id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd/ztest/ztest.c:3034:51: warning: '@s3_' directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 3034 | (void) snprintf(snap3name, MAXNAMELEN, "%s@s3_%" FU64, clone1name, id); | ^~~~ cmd/ztest/ztest.c:3034:16: note: 'snprintf' output between 6 and 280 bytes into a destination of size 256 3034 | (void) snprintf(snap3name, MAXNAMELEN, "%s@s3_%" FU64, clone1name, id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd/ztest/ztest.c: In function 'ztest_dsl_dataset_promote_busy': cmd/ztest/ztest.c:3074:51: warning: '@s1_' directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 3074 | (void) snprintf(snap1name, MAXNAMELEN, "%s@s1_%" FU64, osname, id); | ^~~~ cmd/ztest/ztest.c:3074:16: note: 'snprintf' output between 6 and 280 bytes into a destination of size 256 3074 | (void) snprintf(snap1name, MAXNAMELEN, "%s@s1_%" FU64, osname, id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd/ztest/ztest.c:3075:52: warning: '/c1_' directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 3075 | (void) snprintf(clone1name, MAXNAMELEN, "%s/c1_%" FU64, osname, id); | ^~~~ cmd/ztest/ztest.c:3075:16: note: 'snprintf' output between 6 and 280 bytes into a destination of size 256 3075 | (void) snprintf(clone1name, MAXNAMELEN, "%s/c1_%" FU64, osname, id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd/ztest/ztest.c:3076:51: warning: '@s2_' directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 3076 | (void) snprintf(snap2name, MAXNAMELEN, "%s@s2_%" FU64, clone1name, id); | ^~~~ cmd/ztest/ztest.c:3076:16: note: 'snprintf' output between 6 and 280 bytes into a destination of size 256 3076 | (void) snprintf(snap2name, MAXNAMELEN, "%s@s2_%" FU64, clone1name, id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd/ztest/ztest.c:3077:52: warning: '/c2_' directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 3077 | (void) snprintf(clone2name, MAXNAMELEN, "%s/c2_%" FU64, osname, id); | ^~~~ cmd/ztest/ztest.c:3077:16: note: 'snprintf' output between 6 and 280 bytes into a destination of size 256 3077 | (void) snprintf(clone2name, MAXNAMELEN, "%s/c2_%" FU64, osname, id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd/ztest/ztest.c:3078:51: warning: '@s3_' directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 3078 | (void) snprintf(snap3name, MAXNAMELEN, "%s@s3_%" FU64, clone1name, id); | ^~~~ cmd/ztest/ztest.c:3078:16: note: 'snprintf' output between 6 and 280 bytes into a destination of size 256 3078 | (void) snprintf(snap3name, MAXNAMELEN, "%s@s3_%" FU64, clone1name, id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o cmd/ztest/ztest -pipe -Wall -ltirpc -ggdb -fPIC -rdynamic cmd/ztest/ztest.o lib/libzpool/libzpool-user.a lib/libzfscommon/libzfscommon-user.a lib/libnvpair/libnvpair-user.a lib/libavl/libavl.a lib/libumem/libumem.a lib/libsolcompat/libsolcompat.a -lm -ldl -lrt -lpthread -lz -laio -lcrypto -lbz2 -llzo2 -llzma gcc -o lib/libnvpair/build-kernel/libnvpair.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libnvpair/include1 -Ilib/libsolcompat/include lib/libnvpair/libnvpair.c lib/libnvpair/libnvpair.c: In function 'nvprint_double': lib/libnvpair/libnvpair.c:213:40: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=] 213 | NVLIST_PRTFUNC(double, double, double, "0x%llf") | ^~~~~~~~ lib/libnvpair/libnvpair.c:198:28: note: in definition of macro 'NVLIST_PRTFUNC' 198 | (void) fprintf(fp, vfmt, (ptype)value); \ | ^~~~ lib/libnvpair/libnvpair.c:213:46: note: format string is defined here 213 | NVLIST_PRTFUNC(double, double, double, "0x%llf") | ^ gcc -o lib/libnvpair/build-kernel/nvpair.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libnvpair/include1 -Ilib/libsolcompat/include lib/libnvpair/nvpair.c In file included from lib/libnvpair/nvpair.c:34: lib/libnvpair/../libsolcompat/include/rpc/xdr.h:46:9: warning: 'xdr_control' redefined 46 | #define xdr_control(a,b,c) xdrmem_control(a,b,c) | ^~~~~~~~~~~ In file included from lib/libnvpair/../libsolcompat/include/rpc/xdr.h:38: /usr/include/tirpc/rpc/xdr.h:223:9: note: this is the location of the previous definition 223 | #define xdr_control(xdrs, req, op) XDR_CONTROL(xdrs, req, op) | ^~~~~~~~~~~ lib/libnvpair/nvpair.c: In function 'nvlist_remove_all': lib/libnvpair/nvpair.c:650:21: warning: 'strcmp' reading 1 or more bytes from a region of size 0 [-Wstringop-overread] 650 | if (strcmp(name, NVP_NAME(nvp)) != 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from lib/libnvpair/nvpair.c:32: lib/libnvpair/include/sys/nvpair_impl.h:56:18: note: at offset 16 into source object 'nvi_nvp' of size 16 56 | nvpair_t nvi_nvp; /* nvpair */ | ^~~~~~~ lib/libnvpair/nvpair.c: In function 'nvlist_remove': lib/libnvpair/nvpair.c:680:21: warning: 'strcmp' reading 1 or more bytes from a region of size 0 [-Wstringop-overread] 680 | if (strcmp(name, NVP_NAME(nvp)) == 0 && NVP_TYPE(nvp) == type) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libnvpair/include/sys/nvpair_impl.h:56:18: note: at offset 16 into source object 'nvi_nvp' of size 16 56 | nvpair_t nvi_nvp; /* nvpair */ | ^~~~~~~ lib/libnvpair/nvpair.c: In function 'nvlist_lookup_common': lib/libnvpair/nvpair.c:1336:21: warning: 'strcmp' reading 1 or more bytes from a region of size 0 [-Wstringop-overread] 1336 | if (strcmp(name, NVP_NAME(nvp)) == 0 && NVP_TYPE(nvp) == type) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libnvpair/include/sys/nvpair_impl.h:56:18: note: at offset 16 into source object 'nvi_nvp' of size 16 56 | nvpair_t nvi_nvp; /* nvpair */ | ^~~~~~~ lib/libnvpair/nvpair.c: In function 'nvlist_exists': lib/libnvpair/nvpair.c:1799:21: warning: 'strcmp' reading 1 or more bytes from a region of size 0 [-Wstringop-overread] 1799 | if (strcmp(name, NVP_NAME(nvp)) == 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libnvpair/include/sys/nvpair_impl.h:56:18: note: at offset 16 into source object 'nvi_nvp' of size 16 56 | nvpair_t nvi_nvp; /* nvpair */ | ^~~~~~~ gcc -o lib/libnvpair/build-kernel/nvpair_alloc_fixed.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libnvpair/include1 -Ilib/libsolcompat/include lib/libnvpair/nvpair_alloc_fixed.c In file included from lib/libnvpair/nvpair_alloc_fixed.c:32: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libnvpair/include/sys/nvpair.h:29, from lib/libnvpair/nvpair_alloc_fixed.c:31: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libnvpair/build-kernel/nvpair_alloc_system.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libnvpair/include1 -Ilib/libsolcompat/include lib/libnvpair/nvpair_alloc_system.c ar rc lib/libnvpair/libnvpair-kernel.a lib/libnvpair/build-kernel/libnvpair.o lib/libnvpair/build-kernel/nvpair.o lib/libnvpair/build-kernel/nvpair_alloc_fixed.o lib/libnvpair/build-kernel/nvpair_alloc_system.o ranlib lib/libnvpair/libnvpair-kernel.a gcc -o lib/libsolkerncompat/acl_common.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/acl_common.c In file included from lib/libsolkerncompat/acl_common.c:33: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/acl_common.c:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libsolkerncompat/callb.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/callb.c In file included from lib/libsolkerncompat/callb.c:30: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/callb.c:26: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libsolkerncompat/clock.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/clock.c gcc -o lib/libsolkerncompat/cmn_err.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/cmn_err.c gcc -o lib/libsolkerncompat/condvar.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/condvar.c gcc -o lib/libsolkerncompat/flock.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/flock.c gcc -o lib/libsolkerncompat/fs_subr.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/fs_subr.c gcc -o lib/libsolkerncompat/generic/atomic.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/generic/atomic.c gcc -o lib/libsolkerncompat/kcf_random.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/kcf_random.c lib/libsolkerncompat/kcf_random.c: In function 'random_get_bytes': lib/libsolkerncompat/kcf_random.c:58:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 58 | if (-1==random_fd) | ^~ lib/libsolkerncompat/kcf_random.c:61:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 61 | return (random_get_bytes_common(ptr, len, random_fd)); | ^~~~~~ lib/libsolkerncompat/kcf_random.c: In function 'random_get_pseudo_bytes': lib/libsolkerncompat/kcf_random.c:68:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 68 | if (-1==urandom_fd) | ^~ lib/libsolkerncompat/kcf_random.c:71:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 71 | return (random_get_bytes_common(ptr, len, urandom_fd)); | ^~~~~~ gcc -o lib/libsolkerncompat/kmem.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/kmem.c gcc -o lib/libsolkerncompat/kobj.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/kobj.c gcc -o lib/libsolkerncompat/kobj_subr.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/kobj_subr.c gcc -o lib/libsolkerncompat/kstat.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/kstat.c gcc -o lib/libsolkerncompat/main.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/main.c gcc -o lib/libsolkerncompat/move.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/move.c gcc -o lib/libsolkerncompat/mutex.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/mutex.c gcc -o lib/libsolkerncompat/pathname.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/pathname.c gcc -o lib/libsolkerncompat/policy.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/policy.c gcc -o lib/libsolkerncompat/refstr.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/refstr.c gcc -o lib/libsolkerncompat/rwlock.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/rwlock.c gcc -o lib/libsolkerncompat/sid.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/sid.c In file included from lib/libsolkerncompat/sid.c:38: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/atomic.h:32, from lib/libsolkerncompat/sid.c:31: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libsolkerncompat/strlcpy.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/strlcpy.c gcc -o lib/libsolkerncompat/taskq.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/taskq.c In file included from lib/libsolkerncompat/taskq.c:458: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/taskq.h:29, from lib/libzfscommon/include/sys/taskq_impl.h:29, from lib/libsolkerncompat/taskq.c:448: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libsolkerncompat/thread.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/thread.c gcc -o lib/libsolkerncompat/u8_textprep.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/u8_textprep.c In file included from lib/libsolkerncompat/u8_textprep.c:39: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/u8_textprep.c:37: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libsolkerncompat/vfs.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/vfs.c lib/libsolkerncompat/vfs.c: In function 'fs_build_vector': lib/libsolkerncompat/vfs.c:237:28: warning: cast increases required alignment of target type [-Wcast-align] 237 | location = (fs_generic_func_p *) | ^ gcc -o lib/libsolkerncompat/vnode.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/vnode.c In file included from lib/libsolkerncompat/vnode.c:55: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/vnode.h:31, from lib/libsolkerncompat/vnode.c:39: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libsolkerncompat/zmod.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/zmod.c ar rc lib/libsolkerncompat/libsolkerncompat.a lib/libsolkerncompat/main.o lib/libsolkerncompat/acl_common.o lib/libsolkerncompat/clock.o lib/libsolkerncompat/cmn_err.o lib/libsolkerncompat/condvar.o lib/libsolkerncompat/flock.o lib/libsolkerncompat/fs_subr.o lib/libsolkerncompat/kcf_random.o lib/libsolkerncompat/kmem.o lib/libsolkerncompat/kobj.o lib/libsolkerncompat/kobj_subr.o lib/libsolkerncompat/kstat.o lib/libsolkerncompat/move.o lib/libsolkerncompat/mutex.o lib/libsolkerncompat/pathname.o lib/libsolkerncompat/policy.o lib/libsolkerncompat/refstr.o lib/libsolkerncompat/rwlock.o lib/libsolkerncompat/sid.o lib/libsolkerncompat/strlcpy.o lib/libsolkerncompat/taskq.o lib/libsolkerncompat/thread.o lib/libsolkerncompat/u8_textprep.o lib/libsolkerncompat/vfs.o lib/libsolkerncompat/vnode.o lib/libsolkerncompat/zmod.o lib/libsolkerncompat/callb.o lib/libsolkerncompat/generic/atomic.o ranlib lib/libsolkerncompat/libsolkerncompat.a gcc -o lib/libzfscommon/build-kernel/compress.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzfscommon/compress.c gcc -o lib/libzfscommon/build-kernel/list.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzfscommon/list.c In file included from lib/libzfscommon/list.c:35: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/list_impl.h:32, from lib/libzfscommon/include/sys/list.h:31, from lib/libzfscommon/list.c:32: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ lib/libzfscommon/list.c: In function 'list_insert_after': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:94:37: note: in expansion of macro 'list_d2l' 94 | list_node_t *lold = list_d2l(list, object); | ^~~~~~~~ lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:43:29: note: in expansion of macro 'list_d2l' 43 | list_node_t *lnew = list_d2l(list, object); \ | ^~~~~~~~ lib/libzfscommon/list.c:95:17: note: in expansion of macro 'list_insert_after_node' 95 | list_insert_after_node(list, lold, nobject); | ^~~~~~~~~~~~~~~~~~~~~~ lib/libzfscommon/list.c: In function 'list_insert_before': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:105:37: note: in expansion of macro 'list_d2l' 105 | list_node_t *lold = list_d2l(list, object); | ^~~~~~~~ lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:51:29: note: in expansion of macro 'list_d2l' 51 | list_node_t *lnew = list_d2l(list, object); \ | ^~~~~~~~ lib/libzfscommon/list.c:106:17: note: in expansion of macro 'list_insert_before_node' 106 | list_insert_before_node(list, lold, nobject); | ^~~~~~~~~~~~~~~~~~~~~~~ lib/libzfscommon/list.c: In function 'list_insert_head': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:43:29: note: in expansion of macro 'list_d2l' 43 | list_node_t *lnew = list_d2l(list, object); \ | ^~~~~~~~ lib/libzfscommon/list.c:114:9: note: in expansion of macro 'list_insert_after_node' 114 | list_insert_after_node(list, lold, object); | ^~~~~~~~~~~~~~~~~~~~~~ lib/libzfscommon/list.c: In function 'list_insert_tail': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:51:29: note: in expansion of macro 'list_d2l' 51 | list_node_t *lnew = list_d2l(list, object); \ | ^~~~~~~~ lib/libzfscommon/list.c:121:9: note: in expansion of macro 'list_insert_before_node' 121 | list_insert_before_node(list, lold, object); | ^~~~~~~~~~~~~~~~~~~~~~~ lib/libzfscommon/list.c: In function 'list_remove': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:127:29: note: in expansion of macro 'list_d2l' 127 | list_node_t *lold = list_d2l(list, object); | ^~~~~~~~ lib/libzfscommon/list.c: In function 'list_next': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:172:29: note: in expansion of macro 'list_d2l' 172 | list_node_t *node = list_d2l(list, object); | ^~~~~~~~ lib/libzfscommon/list.c: In function 'list_prev': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:183:29: note: in expansion of macro 'list_d2l' 183 | list_node_t *node = list_d2l(list, object); | ^~~~~~~~ gcc -o lib/libzfscommon/build-kernel/zfs_comutil.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzfscommon/zfs_comutil.c gcc -o lib/libzfscommon/build-kernel/zfs_deleg.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzfscommon/zfs_deleg.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dsl_pool.h:28, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/zfs_deleg.c:38: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/systm.h:31, from lib/libzfscommon/zfs_deleg.c:27: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzfscommon/build-kernel/zfs_namecheck.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzfscommon/zfs_namecheck.c gcc -o lib/libzfscommon/build-kernel/zfs_prop.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzfscommon/zfs_prop.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/zfs_prop.c:27: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34, from lib/libzfscommon/include/sys/zfs_fuid.h:33, from lib/libzfscommon/include/sys/zfs_acl.h:34, from lib/libzfscommon/zfs_prop.c:30: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzfscommon/build-kernel/zpool_prop.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzfscommon/zpool_prop.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/zpool_prop.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34, from lib/libzfscommon/include/sys/zfs_fuid.h:33, from lib/libzfscommon/include/sys/zfs_acl.h:34, from lib/libzfscommon/zpool_prop.c:28: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzfscommon/build-kernel/zprop_common.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzfscommon/zprop_common.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/zprop_common.c:30: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34, from lib/libzfscommon/include/sys/zfs_fuid.h:33, from lib/libzfscommon/include/sys/zfs_acl.h:34, from lib/libzfscommon/zprop_common.c:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ ar rc lib/libzfscommon/libzfscommon-kernel.a lib/libzfscommon/build-kernel/compress.o lib/libzfscommon/build-kernel/list.o lib/libzfscommon/build-kernel/zfs_comutil.o lib/libzfscommon/build-kernel/zfs_deleg.o lib/libzfscommon/build-kernel/zfs_namecheck.o lib/libzfscommon/build-kernel/zfs_prop.o lib/libzfscommon/build-kernel/zpool_prop.o lib/libzfscommon/build-kernel/zprop_common.o ranlib lib/libzfscommon/libzfscommon-kernel.a gcc -o lib/libzpool/build-kernel/arc.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/arc.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzpool/arc.c:119: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/arc.c:123: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/bplist.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/bplist.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/bplist.h:28, from lib/libzpool/bplist.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/bpobj.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/bpobj.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/bpobj.h:29, from lib/libzpool/bpobj.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzfscommon/include/sys/bpobj.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/bpobj.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/bzip2.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/bzip2.c gcc -o lib/libzpool/build-kernel/dbuf.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dbuf.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/dbuf.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_impl.h:31, from lib/libzpool/dbuf.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/dbuf.c: In function 'dbuf_write_done': lib/libzpool/dbuf.c:2582:9: warning: 'pthread_yield' is deprecated: pthread_yield is deprecated, use sched_yield instead [-Wdeprecated-declarations] 2582 | pthread_yield(); | ^~~~~~~~~~~~~ In file included from /usr/include/features.h:524, from /usr/include/sys/types.h:25, from lib/libsolkerncompat/include/sys/types.h:32: /usr/include/pthread.h:479:12: note: declared here 479 | extern int __REDIRECT_NTH (pthread_yield, (void), sched_yield) | ^~~~~~~~~~~~~~ gcc -o lib/libzpool/build-kernel/ddt.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/ddt.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/ddt.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/ddt.c:28: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/ddt_zap.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/ddt_zap.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/ddt_zap.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dmu_tx.h:32, from lib/libzpool/ddt_zap.c:31: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/ddt_zap.c: In function 'ddt_zap_walk': lib/libzpool/ddt_zap.c:122:55: warning: cast increases required alignment of target type [-Wcast-align] 122 | error = zap_lookup_uint64(os, object, (uint64_t *)za.za_name, | ^ lib/libzpool/ddt_zap.c:128:41: warning: cast increases required alignment of target type [-Wcast-align] 128 | dde->dde_key = *(ddt_key_t *)za.za_name; | ^ gcc -o lib/libzpool/build-kernel/dmu.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dmu.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/txg_impl.h:29, from lib/libzfscommon/include/sys/dmu_impl.h:29, from lib/libzpool/dmu.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dmu.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_impl.h:31: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dmu_object.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dmu_object.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dmu_objset.h:30, from lib/libzpool/dmu_object.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dmu_object.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dmu_objset.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dmu_objset.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/dmu_objset.c:28: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/cred.h:41, from lib/libzpool/dmu_objset.c:27: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34, from lib/libzpool/dmu_objset.c:29: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dmu_send.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dmu_send.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/txg_impl.h:29, from lib/libzfscommon/include/sys/dmu_impl.h:29, from lib/libzpool/dmu_send.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dmu_send.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_impl.h:31: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dmu_traverse.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dmu_traverse.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/dmu_traverse.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34, from lib/libzpool/dmu_traverse.c:26: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dmu_tx.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dmu_tx.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/txg_impl.h:29, from lib/libzfscommon/include/sys/dmu_impl.h:29, from lib/libzpool/dmu_tx.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dmu_tx.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_impl.h:31: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/dmu_tx.c: In function 'dmu_tx_commit': lib/libzpool/dmu_tx.c:1143:17: warning: 'pthread_yield' is deprecated: pthread_yield is deprecated, use sched_yield instead [-Wdeprecated-declarations] 1143 | pthread_yield(); | ^~~~~~~~~~~~~ In file included from /usr/include/features.h:524, from /usr/include/inttypes.h:25, from lib/libsolkerncompat/include/sys/inttypes.h:30, from lib/libzfscommon/include/sys/dmu.h:38: /usr/include/pthread.h:479:12: note: declared here 479 | extern int __REDIRECT_NTH (pthread_yield, (void), sched_yield) | ^~~~~~~~~~~~~~ gcc -o lib/libzpool/build-kernel/dmu_zfetch.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dmu_zfetch.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/dmu_zfetch.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzpool/dmu_zfetch.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dnode.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dnode.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/dnode.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dbuf.h:34, from lib/libzpool/dnode.c:26: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dnode_sync.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dnode_sync.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/dnode_sync.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dbuf.h:34, from lib/libzpool/dnode_sync.c:26: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dsl_dataset.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dsl_dataset.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dmu_objset.h:30, from lib/libzpool/dsl_dataset.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dsl_deadlist.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dsl_deadlist.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dsl_dataset.h:29, from lib/libzpool/dsl_deadlist.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzfscommon/include/sys/dsl_dataset.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/dsl_deadlist.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dsl_deleg.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dsl_deleg.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dmu_objset.h:30, from lib/libzpool/dsl_deleg.c:69: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dsl_deleg.c:68: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dsl_dir.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dsl_dir.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dmu_objset.h:30, from lib/libzpool/dsl_dir.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dsl_dir.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dsl_pool.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dsl_pool.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dsl_pool.h:28, from lib/libzpool/dsl_pool.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dsl_prop.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dsl_prop.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/dsl_prop.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34, from lib/libzpool/dsl_prop.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dsl_scan.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dsl_scan.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/dsl_scan.h:28, from lib/libzpool/dsl_scan.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzpool/dsl_scan.c:26: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dsl_synctask.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dsl_synctask.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/txg.h:29, from lib/libzfscommon/include/sys/dmu_tx.h:31, from lib/libzpool/dsl_synctask.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dsl_synctask.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dmu_tx.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/fletcher.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/fletcher.c In file included from lib/libzpool/fletcher.c:129: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzpool/fletcher.c:128: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/flushwc.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/flushwc.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/flushwc.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzpool/flushwc.c:19: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/gzip.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/gzip.c gcc -o lib/libzpool/build-kernel/kmem_asprintf.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/kmem_asprintf.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/kmem_asprintf.c:2: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/lzjb.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/lzjb.c gcc -o lib/libzpool/build-kernel/lzma.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/lzma.c gcc -o lib/libzpool/build-kernel/lzo.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/lzo.c gcc -o lib/libzpool/build-kernel/metaslab.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/metaslab.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/metaslab.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dmu_tx.h:32, from lib/libzpool/metaslab.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/refcount.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/refcount.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/refcount.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/refcount.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/rprwlock.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/rprwlock.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/rprwlock.c:28: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/rprwlock.c:29: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/rrwlock.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/rrwlock.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/refcount.h:31, from lib/libzpool/rrwlock.c:28: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/list_impl.h:32, from lib/libzfscommon/include/sys/list.h:31, from lib/libzfscommon/include/sys/refcount.h:30: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/sa.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/sa.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/sa.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_impl.h:31, from lib/libzpool/sa.c:31: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/sa.c: In function 'sa_attr_register_sync': lib/libzpool/sa.c:1558:65: warning: comparison between pointer and integer 1558 | if (!sa->sa_need_attr_registration || sa->sa_master_obj == NULL) { | ^~ lib/libzpool/sa.c:1563:33: warning: comparison between pointer and integer 1563 | if (sa->sa_reg_attr_obj == NULL) { | ^~ gcc -o lib/libzpool/build-kernel/sha256.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/sha256.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/sha256.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ lib/libzpool/sha256.c: In function 'zio_checksum_SHA256': lib/libzpool/sha256.c:35:9: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 35 | SHA256_Init(&ctx); | ^~~~~~~~~~~ In file included from lib/libzpool/sha256.c:27: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ lib/libzpool/sha256.c:36:9: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 36 | SHA256_Update(&ctx, buf, size); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ lib/libzpool/sha256.c:37:9: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 37 | SHA256_Final((unsigned char*)&tmp, &ctx); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ gcc -o lib/libzpool/build-kernel/spa.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/spa.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/spa.c:32: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/spa.c:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/spa_config.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/spa_config.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzpool/spa_config.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/spa_config.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/spa_errlog.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/spa_errlog.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/txg.h:29, from lib/libzfscommon/include/sys/dmu_tx.h:31, from lib/libzpool/spa_errlog.c:50: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzfscommon/include/sys/dmu_tx.h:30: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dmu_tx.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/spa_history.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/spa_history.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzpool/spa_history.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/spa_history.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ In file included from lib/libsolkerncompat/include/sys/zfs_context.h:51: lib/libzpool/spa_history.c: In function 'spa_history_advance_bof': lib/libzpool/spa_history.c:138:26: warning: cast increases required alignment of target type [-Wcast-align] 138 | reclen = LE_64(*((uint64_t *)buf)); | ^ lib/libsolkerncompat/include/sys/byteorder.h:106:26: note: in definition of macro 'BMASK_64' 106 | #define BMASK_64(x) (x) | ^ lib/libzpool/spa_history.c:138:18: note: in expansion of macro 'LE_64' 138 | reclen = LE_64(*((uint64_t *)buf)); | ^~~~~ gcc -o lib/libzpool/build-kernel/spa_misc.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/spa_misc.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/spa_misc.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/spa_misc.c:26: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/space_map.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/space_map.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/space_map.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/txg.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/txg.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/txg.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_impl.h:31, from lib/libzpool/txg.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/txg.c: In function 'txg_list_add': lib/libzpool/txg.c:616:26: warning: cast increases required alignment of target type [-Wcast-align] 616 | txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); | ^ lib/libzpool/txg.c: In function 'txg_list_add_tail': lib/libzpool/txg.c:639:26: warning: cast increases required alignment of target type [-Wcast-align] 639 | txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); | ^ lib/libzpool/txg.c: In function 'txg_list_member': lib/libzpool/txg.c:711:26: warning: cast increases required alignment of target type [-Wcast-align] 711 | txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); | ^ lib/libzpool/txg.c: In function 'txg_list_next': lib/libzpool/txg.c:732:26: warning: cast increases required alignment of target type [-Wcast-align] 732 | txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); | ^ gcc -o lib/libzpool/build-kernel/uberblock.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/uberblock.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/uberblock.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/unique.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/unique.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/unique.c:28: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/util.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/util.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/util.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/util.c:33: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/vdev.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/vdev.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/vdev.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/vdev.c:29: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ In file included from lib/libsolkerncompat/include/sys/time.h:32, from lib/libsolkerncompat/include/sys/types.h:89: lib/libzpool/vdev.c: In function 'vdev_open_children': lib/libzpool/vdev.c:1094:31: warning: comparison between pointer and integer 1094 | TQ_SLEEP) != NULL); | ^~ lib/libsolkerncompat/include/sys/debug.h:38:30: note: in definition of macro 'VERIFY' 38 | #define VERIFY(EX) do { if(!(EX)) ASSERT_FAIL(#EX, __FILE__, __LINE__); } while(0) | ^~ gcc -o lib/libzpool/build-kernel/vdev_cache.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/vdev_cache.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/vdev_cache.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/vdev_file.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/vdev_file.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/vdev_file.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/vdev_label.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/vdev_label.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/vdev_label.c:133: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/vdev_label.c:135: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/vdev_mirror.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/vdev_mirror.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/vdev_mirror.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/vdev_missing.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/vdev_missing.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/vdev_missing.c:35: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/vdev_queue.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/vdev_queue.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/vdev_queue.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/vdev_raidz.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/vdev_raidz.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/vdev_raidz.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/vdev_root.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/vdev_root.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/vdev_root.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/zap.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zap.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzpool/zap.c:40: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34, from lib/libzfscommon/include/sys/zfs_znode.h:35, from lib/libzpool/zap.c:43: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ In file included from lib/libsolkerncompat/include/sys/time.h:32, from lib/libsolkerncompat/include/sys/types.h:89: lib/libzpool/zap.c: In function 'zap_open_leaf': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libsolkerncompat/include/sys/debug.h:55:36: note: in definition of macro 'VERIFY3_IMPL' 55 | const TYPE __left = (TYPE)(LEFT); \ | ^~~~ lib/libsolkerncompat/include/sys/debug.h:79:33: note: in expansion of macro 'VERIFY3P' 79 | #define ASSERT3P(x, y, z) VERIFY3P(x, y, z) | ^~~~~~~~ lib/libzpool/zap.c:486:9: note: in expansion of macro 'ASSERT3P' 486 | ASSERT3P(&ZAP_LEAF_CHUNK(l, 0), ==, | ^~~~~~~~ lib/libzpool/zap.c:486:19: note: in expansion of macro 'ZAP_LEAF_CHUNK' 486 | ASSERT3P(&ZAP_LEAF_CHUNK(l, 0), ==, | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libsolkerncompat/include/sys/debug.h:55:36: note: in definition of macro 'VERIFY3_IMPL' 55 | const TYPE __left = (TYPE)(LEFT); \ | ^~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zap.c:490:9: note: in expansion of macro 'ASSERT3U' 490 | ASSERT3U((uintptr_t)&ZAP_LEAF_CHUNK(l, ZAP_LEAF_NUMCHUNKS(l)) - | ^~~~~~~~ lib/libzpool/zap.c:490:30: note: in expansion of macro 'ZAP_LEAF_CHUNK' 490 | ASSERT3U((uintptr_t)&ZAP_LEAF_CHUNK(l, ZAP_LEAF_NUMCHUNKS(l)) - | ^~~~~~~~~~~~~~ gcc -o lib/libzpool/build-kernel/zap_leaf.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zap_leaf.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzpool/zap_leaf.c:31: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/zap_leaf.c:38: lib/libzpool/zap_leaf.c: In function 'zap_leaf_byteswap': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:122:41: note: in expansion of macro 'ZAP_LEAF_CHUNK' 122 | zap_leaf_chunk_t *lc = &ZAP_LEAF_CHUNK(&l, i); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_init': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:163:17: note: in expansion of macro 'ZAP_LEAF_CHUNK' 163 | ZAP_LEAF_CHUNK(l, i).l_free.lf_type = ZAP_CHUNK_FREE; | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:164:17: note: in expansion of macro 'ZAP_LEAF_CHUNK' 164 | ZAP_LEAF_CHUNK(l, i).l_free.lf_next = i+1; | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:166:9: note: in expansion of macro 'ZAP_LEAF_CHUNK' 166 | ZAP_LEAF_CHUNK(l, ZAP_LEAF_NUMCHUNKS(l)-1).l_free.lf_next = CHAIN_END; | ^~~~~~~~~~~~~~ In file included from lib/libsolkerncompat/include/sys/time.h:32, from lib/libsolkerncompat/include/sys/types.h:89: lib/libzpool/zap_leaf.c: In function 'zap_leaf_chunk_alloc': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libsolkerncompat/include/sys/debug.h:55:36: note: in definition of macro 'VERIFY3_IMPL' 55 | const TYPE __left = (TYPE)(LEFT); \ | ^~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zap_leaf.c:187:9: note: in expansion of macro 'ASSERT3U' 187 | ASSERT3U(ZAP_LEAF_CHUNK(l, chunk).l_free.lf_type, ==, ZAP_CHUNK_FREE); | ^~~~~~~~ lib/libzpool/zap_leaf.c:187:18: note: in expansion of macro 'ZAP_LEAF_CHUNK' 187 | ASSERT3U(ZAP_LEAF_CHUNK(l, chunk).l_free.lf_type, ==, ZAP_CHUNK_FREE); | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:189:40: note: in expansion of macro 'ZAP_LEAF_CHUNK' 189 | l->l_phys->l_hdr.lh_freelist = ZAP_LEAF_CHUNK(l, chunk).l_free.lf_next; | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_chunk_free': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:199:38: note: in expansion of macro 'ZAP_LEAF_CHUNK' 199 | struct zap_leaf_free *zlf = &ZAP_LEAF_CHUNK(l, chunk).l_free; | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_array_create': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:231:46: note: in expansion of macro 'ZAP_LEAF_CHUNK' 231 | struct zap_leaf_array *la = &ZAP_LEAF_CHUNK(l, chunk).l_array; | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_array_free': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:264:33: note: in expansion of macro 'ZAP_LEAF_CHUNK' 264 | int nextchunk = ZAP_LEAF_CHUNK(l, chunk).l_array.la_next; | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libsolkerncompat/include/sys/debug.h:55:36: note: in definition of macro 'VERIFY3_IMPL' 55 | const TYPE __left = (TYPE)(LEFT); \ | ^~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zap_leaf.c:265:17: note: in expansion of macro 'ASSERT3U' 265 | ASSERT3U(ZAP_LEAF_CHUNK(l, chunk).l_array.la_type, ==, | ^~~~~~~~ lib/libzpool/zap_leaf.c:265:26: note: in expansion of macro 'ZAP_LEAF_CHUNK' 265 | ASSERT3U(ZAP_LEAF_CHUNK(l, chunk).l_array.la_type, ==, | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_array_read': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:287:46: note: in expansion of macro 'ZAP_LEAF_CHUNK' 287 | struct zap_leaf_array *la = &ZAP_LEAF_CHUNK(l, chunk).l_array; | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:303:30: note: in expansion of macro 'ZAP_LEAF_CHUNK' 303 | &ZAP_LEAF_CHUNK(l, chunk).l_array; | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:312:46: note: in expansion of macro 'ZAP_LEAF_CHUNK' 312 | struct zap_leaf_array *la = &ZAP_LEAF_CHUNK(l, chunk).l_array; | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_array_match': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:374:46: note: in expansion of macro 'ZAP_LEAF_CHUNK' 374 | struct zap_leaf_array *la = &ZAP_LEAF_CHUNK(l, chunk).l_array; | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_lookup': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:401:22: note: in expansion of macro 'ZAP_LEAF_ENTRY' 401 | le = ZAP_LEAF_ENTRY(l, chunk); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_lookup_closest': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:460:30: note: in expansion of macro 'ZAP_LEAF_ENTRY' 460 | le = ZAP_LEAF_ENTRY(l, chunk); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_entry_read': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:491:13: note: in expansion of macro 'ZAP_LEAF_ENTRY' 491 | ZAP_LEAF_ENTRY(zeh->zeh_leaf, *zeh->zeh_chunkp); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_entry_read_name': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:512:13: note: in expansion of macro 'ZAP_LEAF_ENTRY' 512 | ZAP_LEAF_ENTRY(zeh->zeh_leaf, *zeh->zeh_chunkp); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_entry_update': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:533:37: note: in expansion of macro 'ZAP_LEAF_ENTRY' 533 | struct zap_leaf_entry *le = ZAP_LEAF_ENTRY(l, *zeh->zeh_chunkp); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_entry_remove': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:559:14: note: in expansion of macro 'ZAP_LEAF_ENTRY' 559 | le = ZAP_LEAF_ENTRY(l, entry_chunk); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_entry_create': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:597:38: note: in expansion of macro 'ZAP_LEAF_ENTRY' 597 | le = ZAP_LEAF_ENTRY(l, chunk); | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:610:46: note: in expansion of macro 'ZAP_LEAF_ENTRY' 610 | le = ZAP_LEAF_ENTRY(l, chunk); | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:633:14: note: in expansion of macro 'ZAP_LEAF_ENTRY' 633 | le = ZAP_LEAF_ENTRY(l, chunk); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_entry_normalization_conflict': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:684:22: note: in expansion of macro 'ZAP_LEAF_ENTRY' 684 | le = ZAP_LEAF_ENTRY(zeh->zeh_leaf, chunk); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_rehash_entry': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:713:37: note: in expansion of macro 'ZAP_LEAF_ENTRY' 713 | struct zap_leaf_entry *le = ZAP_LEAF_ENTRY(l, entry); | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:724:23: note: in expansion of macro 'ZAP_LEAF_ENTRY' 724 | le2 = ZAP_LEAF_ENTRY(l, *chunkp); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_transfer_array': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:743:22: note: in expansion of macro 'ZAP_LEAF_CHUNK' 743 | &ZAP_LEAF_CHUNK(nl, nchunk).l_array; | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:745:22: note: in expansion of macro 'ZAP_LEAF_CHUNK' 745 | &ZAP_LEAF_CHUNK(l, chunk).l_array; | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_transfer_entry': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:768:14: note: in expansion of macro 'ZAP_LEAF_ENTRY' 768 | le = ZAP_LEAF_ENTRY(l, entry); | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:772:15: note: in expansion of macro 'ZAP_LEAF_ENTRY' 772 | nle = ZAP_LEAF_ENTRY(nl, chunk); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_split': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:818:45: note: in expansion of macro 'ZAP_LEAF_ENTRY' 818 | struct zap_leaf_entry *le = ZAP_LEAF_ENTRY(l, i); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_stats': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:856:29: note: in expansion of macro 'ZAP_LEAF_ENTRY' 856 | ZAP_LEAF_ENTRY(l, chunk); | ^~~~~~~~~~~~~~ gcc -o lib/libzpool/build-kernel/zap_micro.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zap_micro.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzpool/zap_micro.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/zap_micro.c:30: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/zfs_byteswap.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zfs_byteswap.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/zfs_byteswap.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34, from lib/libzfscommon/include/sys/zfs_znode.h:35, from lib/libzpool/zfs_byteswap.c:29: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/zfs_byteswap.c: In function 'zfs_ace_byteswap': lib/libzpool/zfs_byteswap.c:79:33: warning: cast increases required alignment of target type [-Wcast-align] 79 | zacep = (zfs_ace_t *)ptr; | ^ lib/libzpool/zfs_byteswap.c:91:32: warning: cast increases required alignment of target type [-Wcast-align] 91 | acep = (ace_t *)ptr; | ^ lib/libzpool/zfs_byteswap.c: In function 'zfs_znode_byteswap': lib/libzpool/zfs_byteswap.c:196:37: warning: cast increases required alignment of target type [-Wcast-align] 196 | zfs_oldace_byteswap((ace_t *)&zp->zp_acl.z_ace_data[0], | ^ gcc -o lib/libzpool/build-kernel/zfs_debug.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zfs_debug.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/zfs_debug.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/zfs_fm.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zfs_fm.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzpool/zfs_fm.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/zfs_fm.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/zfs_fuid.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zfs_fuid.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/zfs_fuid.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/zfs_fuid.c:29: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/zfs_sa.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zfs_sa.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/zfs_sa.c:27: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzpool/zfs_sa.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34, from lib/libzfscommon/include/sys/zfs_fuid.h:33, from lib/libzfscommon/include/sys/zfs_acl.h:34, from lib/libzpool/zfs_sa.c:30: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/zfs_znode.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zfs_znode.c In file included from lib/libzpool/zfs_znode.c:32: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzpool/zfs_znode.c:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34, from lib/libzfscommon/include/sys/zfs_znode.h:35, from lib/libzfscommon/include/sys/zfs_dir.h:31, from lib/libzpool/zfs_znode.c:49: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/zil.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zil.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/zil.c:27: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34, from lib/libzfscommon/include/sys/zil_impl.h:31, from lib/libzpool/zil.c:35: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/zil.c: In function 'zil_read_log_block': lib/libzpool/zil.c:224:45: warning: cast increases required alignment of target type [-Wcast-align] 224 | zil_chain_t *zilc = (zil_chain_t *)(lr + size) - 1; | ^ lib/libzpool/zil.c: In function 'zil_parse': lib/libzpool/zil.c:338:36: warning: cast increases required alignment of target type [-Wcast-align] 338 | lr_t *lr = (lr_t *)lrp; | ^ lib/libzpool/zil.c: In function 'zil_lwb_write_start': lib/libzpool/zil.c:857:24: warning: cast increases required alignment of target type [-Wcast-align] 857 | zilc = (zil_chain_t *)lwb->lwb_buf; | ^ lib/libzpool/zil.c:860:24: warning: cast increases required alignment of target type [-Wcast-align] 860 | zilc = (zil_chain_t *)(lwb->lwb_buf + lwb->lwb_sz); | ^ lib/libzpool/zil.c: In function 'zil_lwb_commit': lib/libzpool/zil.c:995:15: warning: cast increases required alignment of target type [-Wcast-align] 995 | lrc = (lr_t *)lr_buf; | ^ lib/libzpool/zil.c: In function 'zil_clean': lib/libzpool/zil.c:1278:69: warning: comparison between pointer and integer 1278 | (void (*)(void *))zil_itxg_clean, clean_me, TQ_NOSLEEP) == NULL) | ^~ gcc -o lib/libzpool/build-kernel/zio.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zio.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/zio.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/zio.c:29: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/zio.c: In function 'zio_wait': lib/libzpool/zio.c:1204:9: warning: 'pthread_yield' is deprecated: pthread_yield is deprecated, use sched_yield instead [-Wdeprecated-declarations] 1204 | pthread_yield(); | ^~~~~~~~~~~~~ In file included from /usr/include/features.h:524, from /usr/include/sys/types.h:25, from lib/libsolkerncompat/include/sys/types.h:32: /usr/include/pthread.h:479:12: note: declared here 479 | extern int __REDIRECT_NTH (pthread_yield, (void), sched_yield) | ^~~~~~~~~~~~~~ In file included from lib/libsolkerncompat/include/sys/time.h:32, from lib/libsolkerncompat/include/sys/types.h:89: lib/libzpool/zio.c: In function 'zio_write_gang_member_ready': lib/libsolkerncompat/include/sys/debug.h:59:45: warning: '%s' directive output truncated writing 293 bytes into a region of size 256 [-Wformat-truncation=] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1657:9: note: in expansion of macro 'ASSERT3U' 1657 | ASSERT3U(BP_GET_NDVAS(zio->io_bp), <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:46: note: format string is defined here 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~ lib/libsolkerncompat/include/sys/debug.h:59:45: note: directive argument in the range [1, 3] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1657:9: note: in expansion of macro 'ASSERT3U' 1657 | ASSERT3U(BP_GET_NDVAS(zio->io_bp), <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:45: note: directive argument in the range [0, 2] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1657:9: note: in expansion of macro 'ASSERT3U' 1657 | ASSERT3U(BP_GET_NDVAS(zio->io_bp), <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:24: note: 'snprintf' output 604 bytes into a destination of size 256 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 | #LEFT, #OP, #RIGHT, \ | ~~~~~~~~~~~~~~~~~~~~~ 61 | (u_longlong_t)__left, #OP, (u_longlong_t)__right); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1657:9: note: in expansion of macro 'ASSERT3U' 1657 | ASSERT3U(BP_GET_NDVAS(zio->io_bp), <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:45: warning: '%s' directive output truncated writing 293 bytes into a region of size 230 [-Wformat-truncation=] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1656:9: note: in expansion of macro 'ASSERT3U' 1656 | ASSERT3U(pio->io_prop.zp_copies, <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:52: note: format string is defined here 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~ lib/libsolkerncompat/include/sys/debug.h:59:45: note: directive argument in the range [1, 255] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1656:9: note: in expansion of macro 'ASSERT3U' 1656 | ASSERT3U(pio->io_prop.zp_copies, <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:45: note: directive argument in the range [0, 3] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1656:9: note: in expansion of macro 'ASSERT3U' 1656 | ASSERT3U(pio->io_prop.zp_copies, <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:24: note: 'snprintf' output between 333 and 334 bytes into a destination of size 256 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 | #LEFT, #OP, #RIGHT, \ | ~~~~~~~~~~~~~~~~~~~~~ 61 | (u_longlong_t)__left, #OP, (u_longlong_t)__right); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1656:9: note: in expansion of macro 'ASSERT3U' 1656 | ASSERT3U(pio->io_prop.zp_copies, <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:45: warning: '%s' directive output truncated writing 293 bytes into a region of size 230 [-Wformat-truncation=] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1655:9: note: in expansion of macro 'ASSERT3U' 1655 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(zio->io_bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:52: note: format string is defined here 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~ lib/libsolkerncompat/include/sys/debug.h:59:45: note: directive argument in the range [1, 255] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1655:9: note: in expansion of macro 'ASSERT3U' 1655 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(zio->io_bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:45: note: directive argument in the range [0, 3] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1655:9: note: in expansion of macro 'ASSERT3U' 1655 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(zio->io_bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:24: note: 'snprintf' output between 333 and 334 bytes into a destination of size 256 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 | #LEFT, #OP, #RIGHT, \ | ~~~~~~~~~~~~~~~~~~~~~ 61 | (u_longlong_t)__left, #OP, (u_longlong_t)__right); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1655:9: note: in expansion of macro 'ASSERT3U' 1655 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(zio->io_bp)); | ^~~~~~~~ lib/libzpool/zio.c: In function 'zio_dva_allocate': lib/libsolkerncompat/include/sys/debug.h:59:45: warning: '%s' directive output truncated writing 269 bytes into a region of size 256 [-Wformat-truncation=] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2132:9: note: in expansion of macro 'ASSERT3U' 2132 | ASSERT3U(BP_GET_NDVAS(bp), ==, 0); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:46: note: format string is defined here 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~ lib/libsolkerncompat/include/sys/debug.h:59:45: note: directive argument in the range [1, 3] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2132:9: note: in expansion of macro 'ASSERT3U' 2132 | ASSERT3U(BP_GET_NDVAS(bp), ==, 0); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:45: note: directive argument '0' 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2132:9: note: in expansion of macro 'ASSERT3U' 2132 | ASSERT3U(BP_GET_NDVAS(bp), ==, 0); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:24: note: 'snprintf' output 288 bytes into a destination of size 256 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 | #LEFT, #OP, #RIGHT, \ | ~~~~~~~~~~~~~~~~~~~~~ 61 | (u_longlong_t)__left, #OP, (u_longlong_t)__right); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2132:9: note: in expansion of macro 'ASSERT3U' 2132 | ASSERT3U(BP_GET_NDVAS(bp), ==, 0); | ^~~~~~~~ lib/libzpool/zio.c: In function 'zio_done': lib/libsolkerncompat/include/sys/debug.h:59:45: warning: '%s' directive output truncated writing 269 bytes into a region of size 230 [-Wformat-truncation=] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2695:25: note: in expansion of macro 'ASSERT3U' 2695 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:52: note: format string is defined here 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~ lib/libsolkerncompat/include/sys/debug.h:59:45: note: directive argument in the range [1, 255] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2695:25: note: in expansion of macro 'ASSERT3U' 2695 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:45: note: directive argument in the range [0, 3] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2695:25: note: in expansion of macro 'ASSERT3U' 2695 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:24: note: 'snprintf' output between 309 and 310 bytes into a destination of size 256 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 | #LEFT, #OP, #RIGHT, \ | ~~~~~~~~~~~~~~~~~~~~~ 61 | (u_longlong_t)__left, #OP, (u_longlong_t)__right); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2695:25: note: in expansion of macro 'ASSERT3U' 2695 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(bp)); | ^~~~~~~~ gcc -o lib/libzpool/build-kernel/zio_checksum.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zio_checksum.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/zio_checksum.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ lib/libzpool/zio_checksum.c: In function 'zio_checksum_compute': lib/libzpool/zio_checksum.c:172:31: warning: cast increases required alignment of target type [-Wcast-align] 172 | eck = (zio_eck_t *)((char *)data + size) - 1; | ^ lib/libzpool/zio_checksum.c: In function 'zio_checksum_error': lib/libzpool/zio_checksum.c:226:31: warning: cast increases required alignment of target type [-Wcast-align] 226 | eck = (zio_eck_t *)((char *)data + size) - 1; | ^ gcc -o lib/libzpool/build-kernel/zio_compress.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zio_compress.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/zio_compress.c:27: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ lib/libzpool/zio_compress.c: In function 'zio_compress_data': lib/libzpool/zio_compress.c:113:20: warning: cast increases required alignment of target type [-Wcast-align] 113 | word_end = (uint64_t *)((char *)src + s_len); | ^ gcc -o lib/libzpool/build-kernel/zio_inject.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zio_inject.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/arc.h:28, from lib/libzpool/zio_inject.c:42: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32, from lib/libzpool/zio_inject.c:44: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/zle.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zle.c In file included from lib/libzpool/zle.c:34: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzpool/zle.c:33: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/zrlock.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zrlock.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/zrlock.h:28, from lib/libzpool/zrlock.c:39: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ ar rc lib/libzpool/libzpool-kernel.a lib/libzpool/build-kernel/arc.o lib/libzpool/build-kernel/bplist.o lib/libzpool/build-kernel/dbuf.o lib/libzpool/build-kernel/dnode_sync.o lib/libzpool/build-kernel/dmu.o lib/libzpool/build-kernel/dmu_object.o lib/libzpool/build-kernel/dmu_objset.o lib/libzpool/build-kernel/dmu_send.o lib/libzpool/build-kernel/dmu_traverse.o lib/libzpool/build-kernel/dmu_tx.o lib/libzpool/build-kernel/dmu_zfetch.o lib/libzpool/build-kernel/dnode.o lib/libzpool/build-kernel/dsl_dataset.o lib/libzpool/build-kernel/dsl_deleg.o lib/libzpool/build-kernel/dsl_dir.o lib/libzpool/build-kernel/dsl_pool.o lib/libzpool/build-kernel/dsl_prop.o lib/libzpool/build-kernel/dsl_scan.o lib/libzpool/build-kernel/dsl_synctask.o lib/libzpool/build-kernel/fletcher.o lib/libzpool/build-kernel/flushwc.o lib/libzpool/build-kernel/gzip.o lib/libzpool/build-kernel/lzjb.o lib/libzpool/build-kernel/metaslab.o lib/libzpool/build-kernel/refcount.o lib/libzpool/build-kernel/rprwlock.o lib/libzpool/build-kernel/rrwlock.o lib/libzpool/build-kernel/sha256.o lib/libzpool/build-kernel/spa.o lib/libzpool/build-kernel/spa_config.o lib/libzpool/build-kernel/spa_errlog.o lib/libzpool/build-kernel/spa_history.o lib/libzpool/build-kernel/spa_misc.o lib/libzpool/build-kernel/space_map.o lib/libzpool/build-kernel/txg.o lib/libzpool/build-kernel/uberblock.o lib/libzpool/build-kernel/unique.o lib/libzpool/build-kernel/util.o lib/libzpool/build-kernel/vdev.o lib/libzpool/build-kernel/vdev_cache.o lib/libzpool/build-kernel/vdev_file.o lib/libzpool/build-kernel/vdev_label.o lib/libzpool/build-kernel/vdev_mirror.o lib/libzpool/build-kernel/vdev_missing.o lib/libzpool/build-kernel/vdev_queue.o lib/libzpool/build-kernel/vdev_raidz.o lib/libzpool/build-kernel/vdev_root.o lib/libzpool/build-kernel/zap.o lib/libzpool/build-kernel/zap_leaf.o lib/libzpool/build-kernel/zap_micro.o lib/libzpool/build-kernel/zfs_byteswap.o lib/libzpool/build-kernel/zfs_fm.o lib/libzpool/build-kernel/zfs_fuid.o lib/libzpool/build-kernel/zfs_znode.o lib/libzpool/build-kernel/zil.o lib/libzpool/build-kernel/zio.o lib/libzpool/build-kernel/zio_checksum.o lib/libzpool/build-kernel/zio_compress.o lib/libzpool/build-kernel/zio_inject.o lib/libzpool/build-kernel/kmem_asprintf.o lib/libzpool/build-kernel/ddt.o lib/libzpool/build-kernel/ddt_zap.o lib/libzpool/build-kernel/zle.o lib/libzpool/build-kernel/sa.o lib/libzpool/build-kernel/zfs_sa.o lib/libzpool/build-kernel/zfs_debug.o lib/libzpool/build-kernel/bpobj.o lib/libzpool/build-kernel/dsl_deadlist.o lib/libzpool/build-kernel/zrlock.o lib/libzpool/build-kernel/lzo.o lib/libzpool/build-kernel/bzip2.o lib/libzpool/build-kernel/lzma.o ranlib lib/libzpool/libzpool-kernel.a gcc -o zfs-fuse/cmd_listener.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/cmd_listener.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from zfs-fuse/zfsfuse_socket.h:30, from zfs-fuse/cmd_listener.c:38: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from zfs-fuse/cmd_listener.c:27: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o zfs-fuse/fuse_listener.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/fuse_listener.c gcc -o zfs-fuse/main.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/main.c zfs-fuse/main.c: In function 'parse_args': zfs-fuse/main.c:344:105: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 344 | syslog(LOG_WARNING,"%s: conflicting stack_size, prior setting %lu ignored", progname, stack_size); | ~~^ ~~~~~~~~~~ | | | | long unsigned int size_t {aka unsigned int} | %u gcc -o zfs-fuse/ptrace.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/ptrace.c gcc -o zfs-fuse/util.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/util.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from zfs-fuse/zfsfuse_socket.h:30, from zfs-fuse/util.c:40: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from zfs-fuse/util.c:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ zfs-fuse/util.c: In function 'do_mount': zfs-fuse/util.c:344:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 344 | if (fuse_mount_options == NULL) | ^~ zfs-fuse/util.c:346:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 346 | char real_opts[1024]; | ^~~~ gcc -o zfs-fuse/zfs_acl.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/zfs_acl.c In file included from zfs-fuse/zfs_acl.c:29: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from zfs-fuse/zfs_acl.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34, from lib/libzfscommon/include/sys/zfs_znode.h:35, from zfs-fuse/zfs_acl.c:44: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ zfs-fuse/zfs_acl.c: In function 'zfs_copy_ace_2_fuid': zfs-fuse/zfs_acl.c:702:32: warning: cast increases required alignment of target type [-Wcast-align] 702 | acep = (ace_t *)((caddr_t)acep + sizeof (ace_object_t)); | ^ zfs-fuse/zfs_acl.c:705:32: warning: cast increases required alignment of target type [-Wcast-align] 705 | acep = (ace_t *)((caddr_t)acep + sizeof (ace_t)); | ^ zfs-fuse/zfs_acl.c:708:26: warning: cast increases required alignment of target type [-Wcast-align] 708 | aceptr = (zfs_ace_t *)((caddr_t)aceptr + | ^ zfs-fuse/zfs_acl.c: In function 'zfs_copy_fuid_2_ace': zfs-fuse/zfs_acl.c:745:36: warning: cast increases required alignment of target type [-Wcast-align] 745 | zobjacep = (zfs_object_ace_t *)zacep; | ^ zfs-fuse/zfs_acl.c:773:24: warning: cast increases required alignment of target type [-Wcast-align] 773 | acep = (ace_t *)((caddr_t)acep + ace_size); | ^ gcc -o zfs-fuse/zfs_dir.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/zfs_dir.c In file included from zfs-fuse/zfs_dir.c:29: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from zfs-fuse/zfs_dir.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34, from lib/libzfscommon/include/sys/zfs_znode.h:35, from lib/libzfscommon/include/sys/zfs_dir.h:31, from zfs-fuse/zfs_dir.c:45: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o zfs-fuse/zfs_ioctl.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/zfs_ioctl.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from zfs-fuse/zfs_ioctl.c:37: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from zfs-fuse/zfs_ioctl.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ zfs-fuse/zfs_ioctl.c: In function 'zfs_ioc_set_prop': zfs-fuse/zfs_ioctl.c:2297:31: warning: comparison between pointer and integer 2297 | if (zc->zc_nvlist_dst != NULL && errors != NULL) { | ^~ gcc -o zfs-fuse/zfs_log.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/zfs_log.c In file included from zfs-fuse/zfs_log.c:28: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from zfs-fuse/zfs_log.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34, from lib/libzfscommon/include/sys/zfs_znode.h:35, from zfs-fuse/zfs_log.c:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ zfs-fuse/zfs_log.c: In function 'zfs_log_xvattr': zfs-fuse/zfs_log.c:128:17: warning: cast increases required alignment of target type [-Wcast-align] 128 | attrs = (uint64_t *)bitmap; | ^ zfs-fuse/zfs_log.c: In function 'zfs_log_create': zfs-fuse/zfs_log.c:301:32: warning: cast increases required alignment of target type [-Wcast-align] 301 | zfs_log_xvattr((lr_attr_t *)((caddr_t)lr + lrsize), xvap); | ^ gcc -o zfs-fuse/zfs_replay.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/zfs_replay.c In file included from zfs-fuse/zfs_replay.c:28: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from zfs-fuse/zfs_replay.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34, from lib/libzfscommon/include/sys/zfs_znode.h:35, from zfs-fuse/zfs_replay.c:36: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ zfs-fuse/zfs_replay.c: In function 'zfs_replay_xvattr': zfs-fuse/zfs_replay.c:98:17: warning: cast increases required alignment of target type [-Wcast-align] 98 | attrs = (uint64_t *)(lrattr + lrattr->lr_attr_masksize - 1); | ^ zfs-fuse/zfs_replay.c: In function 'zfs_replay_create_acl': zfs-fuse/zfs_replay.c:282:34: warning: cast increases required alignment of target type [-Wcast-align] 282 | lrattr = (lr_attr_t *)(caddr_t)(lracl + 1); | ^ zfs-fuse/zfs_replay.c:331:34: warning: cast increases required alignment of target type [-Wcast-align] 331 | lrattr = (lr_attr_t *)(caddr_t)(lracl + 1); | ^ zfs-fuse/zfs_replay.c:363:34: warning: cast increases required alignment of target type [-Wcast-align] 363 | lrattr = (lr_attr_t *)(caddr_t)(lracl + 1); | ^ zfs-fuse/zfs_replay.c: In function 'zfs_replay_create': zfs-fuse/zfs_replay.c:465:26: warning: cast increases required alignment of target type [-Wcast-align] 465 | lrattr = (lr_attr_t *)(caddr_t)(lr + 1); | ^ zfs-fuse/zfs_replay.c:467:35: warning: cast increases required alignment of target type [-Wcast-align] 467 | zfs_replay_xvattr((lr_attr_t *)((caddr_t)lr + lrsize), &xva); | ^ zfs-fuse/zfs_replay.c:483:26: warning: cast increases required alignment of target type [-Wcast-align] 483 | lrattr = (lr_attr_t *)(caddr_t)(lr + 1); | ^ zfs-fuse/zfs_replay.c:485:35: warning: cast increases required alignment of target type [-Wcast-align] 485 | zfs_replay_xvattr((lr_attr_t *)((caddr_t)lr + lrsize), &xva); | ^ gcc -o zfs-fuse/zfs_rlock.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/zfs_rlock.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/zil.h:31, from lib/libzfscommon/include/sys/zfs_vfsops.h:32, from lib/libzfscommon/include/sys/zfs_znode.h:35, from lib/libzfscommon/include/sys/zfs_rlock.h:37, from zfs-fuse/zfs_rlock.c:95: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/list_impl.h:32, from lib/libzfscommon/include/sys/list.h:31, from lib/libzfscommon/include/sys/zfs_znode.h:32: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o zfs-fuse/zfs_vfsops.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/zfs_vfsops.c In file included from zfs-fuse/zfs_vfsops.c:30: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from zfs-fuse/zfs_vfsops.c:27: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34, from lib/libzfscommon/include/sys/zfs_znode.h:35, from zfs-fuse/zfs_vfsops.c:40: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o zfs-fuse/zfs_vnops.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/zfs_vnops.c In file included from zfs-fuse/zfs_vnops.c:32: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from zfs-fuse/zfs_vnops.c:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34, from lib/libzfscommon/include/sys/zfs_znode.h:35, from lib/libzfscommon/include/sys/zfs_dir.h:31, from zfs-fuse/zfs_vnops.c:55: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ zfs-fuse/zfs_vnops.c: In function 'zfs_readdir': zfs-fuse/zfs_vnops.c:2198:23: warning: cast increases required alignment of target type [-Wcast-align] 2198 | odp = (struct dirent64 *)outbuf; | ^ In file included from lib/libsolkerncompat/include/sys/time.h:32, from lib/libsolkerncompat/include/sys/types.h:89: zfs-fuse/zfs_vnops.c: In function 'zfs_setattr': lib/libsolkerncompat/include/sys/debug.h:56:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 56 | const TYPE __right = (TYPE)(RIGHT); \ | ^ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ zfs-fuse/zfs_vnops.c:3095:17: note: in expansion of macro 'ASSERT3U' 3095 | ASSERT3U((uintptr_t)aclp, !=, NULL); | ^~~~~~~~ gcc -o zfs-fuse/zvol.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/zvol.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from zfs-fuse/zvol.c:53: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from zfs-fuse/zvol.c:41: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from zfs-fuse/zvol.c:56: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o zfs-fuse/zfsfuse_socket.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/zfsfuse_socket.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from zfs-fuse/zfsfuse_socket.h:30, from zfs-fuse/zfsfuse_socket.c:44: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from zfs-fuse/zfsfuse_socket.c:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ zfs-fuse/zfsfuse_socket.c: In function 'getf': zfs-fuse/zfsfuse_socket.c:323:17: warning: cast increases required alignment of target type [-Wcast-align] 323 | fdptr = (int *) CMSG_DATA(cmsg); | ^ gcc -o zfs-fuse/zfs_operations.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/zfs_operations.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/zil.h:31, from lib/libzfscommon/include/sys/zfs_vfsops.h:32, from zfs-fuse/zfs_operations.c:34: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from /usr/include/fuse/fuse_common.h:20, from /usr/include/fuse/fuse_lowlevel.h:26, from zfs-fuse/fuse.h:31, from zfs-fuse/zfs_operations.c:27: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o zfs-fuse/zfs-fuse -pipe -Wall -ltirpc -ggdb -fPIC -rdynamic zfs-fuse/main.o zfs-fuse/cmd_listener.o zfs-fuse/ptrace.o zfs-fuse/util.o zfs-fuse/zfs_acl.o zfs-fuse/zfs_dir.o zfs-fuse/zfs_ioctl.o zfs-fuse/zfs_log.o zfs-fuse/zfs_replay.o zfs-fuse/zfs_rlock.o zfs-fuse/zfs_vfsops.o zfs-fuse/zfs_vnops.o zfs-fuse/zvol.o zfs-fuse/fuse_listener.o zfs-fuse/zfsfuse_socket.o zfs-fuse/zfs_operations.o lib/libzpool/libzpool-kernel.a lib/libzfscommon/libzfscommon-kernel.a lib/libnvpair/libnvpair-kernel.a lib/libavl/libavl.a lib/libumem/libumem.a lib/libsolkerncompat/libsolkerncompat.a -lrt -lpthread -lfuse -ldl -lz -laio -lcrypto -lbz2 -llzo2 -llzma scons: done building targets. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.v4hxcm + umask 022 + cd /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT ++ dirname /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT + mkdir -p /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build + mkdir /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT + CFLAGS=-fcommon + export CFLAGS + CXXFLAGS=-fcommon + export CXXFLAGS + FFLAGS='-fcommon ' + export FFLAGS + FCFLAGS='-fcommon ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd zfs-fuse-0.7.2.2 + '[' 1 -eq 1 ']' + pushd src ~/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/src ~/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2 + /usr/bin/scons install DESTDIR=/home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT debug=1 install_dir=/usr/sbin man_dir=/usr/share/man/man8/ cfg_dir=/etc/zfs-fuse scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... gcc -o cmd/mount_zfs/mount_zfs.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libzfs/include -Ilib/libsolcompat/include -Ilib/libavl/include cmd/mount_zfs/mount_zfs.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from cmd/mount_zfs/mount_zfs.c:32: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libsolcompat/include/sys/ioctl.h:30, from lib/libsolcompat/include/unistd.h:33, from cmd/mount_zfs/mount_zfs.c:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32, from lib/libzfs/include/libzfs_impl.h:32, from cmd/mount_zfs/mount_zfs.c:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o cmd/mount_zfs/ptrace.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libzfs/include -Ilib/libsolcompat/include -Ilib/libavl/include cmd/mount_zfs/ptrace.c gcc -o lib/libzfs/libzfs_dataset.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfs/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libuutil/include -Ilib/libsolcompat/include -Ilib/libzfs/include lib/libzfs/libzfs_dataset.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/dnode.h:28, from lib/libzfs/libzfs_dataset.c:46: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzfs/libzfs_dataset.c:31: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzfs/libzfs_dataset.c: In function 'zfs_valid_proplist': lib/libzfs/libzfs_dataset.c:879:37: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 126 [-Wformat-truncation=] 879 | "%s%llx-%s", zfs_userquota_prop_prefixes[uqtype], | ^~ 880 | (longlong_t)rid, domain); | ~~~~~~ lib/libzfs/libzfs_dataset.c:878:32: note: 'snprintf' output 3 or more bytes (assuming 130) into a destination of size 128 878 | (void) snprintf(newpropname, sizeof (newpropname), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 879 | "%s%llx-%s", zfs_userquota_prop_prefixes[uqtype], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 880 | (longlong_t)rid, domain); | ~~~~~~~~~~~~~~~~~~~~~~~~ In function 'parent_name', inlined from 'check_parents' at lib/libzfs/libzfs_dataset.c:2666:8: lib/libzfs/libzfs_dataset.c:2613:16: warning: 'strncpy' source argument is the same as destination [-Wrestrict] 2613 | (void) strncpy(buf, path, MIN(buflen, loc - path)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o lib/libzfs/libzfs_util.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfs/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libuutil/include -Ilib/libsolcompat/include -Ilib/libzfs/include lib/libzfs/libzfs_util.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from lib/libzfs/include/libzfs_impl.h:32, from lib/libzfs/libzfs_util.c:47: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzfs/libzfs_util.c:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzfs/libzfs_graph.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfs/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libuutil/include -Ilib/libsolcompat/include -Ilib/libzfs/include lib/libzfs/libzfs_graph.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from lib/libzfs/include/libzfs_impl.h:32, from lib/libzfs/libzfs_graph.c:82: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzfs/libzfs_graph.c:75: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzfs/libzfs_mount.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfs/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libuutil/include -Ilib/libsolcompat/include -Ilib/libzfs/include lib/libzfs/libzfs_mount.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from lib/libzfs/include/libzfs_impl.h:32, from lib/libzfs/libzfs_mount.c:80: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libsolcompat/include/libgen.h:31, from lib/libzfs/libzfs_mount.c:65: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzfs/libzfs_mount.c: In function 'zfsfuse_findshare': lib/libzfs/libzfs_mount.c:642:9: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 642 | strncpy(s,"\\040",4); // replaces the space with \040 (encoded space) | ^~~~~~~~~~~~~~~~~~~~ gcc -o lib/libzfs/libzfs_pool.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfs/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libuutil/include -Ilib/libsolcompat/include -Ilib/libzfs/include lib/libzfs/libzfs_pool.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from lib/libzfs/libzfs_pool.c:41: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libsolcompat/include/devid.h:30, from lib/libzfs/libzfs_pool.c:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzfs/libzfs_pool.c: In function 'zpool_vdev_name': lib/libzfs/libzfs_pool.c:3138:64: warning: '%llu' directive output may be truncated writing between 1 and 20 bytes into a region of size between 0 and 63 [-Wformat-truncation=] 3138 | (void) snprintf(buf, sizeof (buf), "%s-%llu", str, | ^~~~ lib/libzfs/libzfs_pool.c:3138:32: note: 'snprintf' output between 3 and 85 bytes into a destination of size 64 3138 | (void) snprintf(buf, sizeof (buf), "%s-%llu", str, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3139 | (u_longlong_t)id); | ~~~~~~~~~~~~~~~~~ gcc -o lib/libzfs/libzfs_changelist.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfs/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libuutil/include -Ilib/libsolcompat/include -Ilib/libzfs/include lib/libzfs/libzfs_changelist.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from lib/libzfs/include/libzfs_impl.h:32, from lib/libzfs/libzfs_changelist.c:39: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libuutil/include/libuutil.h:29, from lib/libzfs/libzfs_changelist.c:30: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzfs/libzfs_config.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfs/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libuutil/include -Ilib/libsolcompat/include -Ilib/libzfs/include lib/libzfs/libzfs_config.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from lib/libzfs/include/libzfs_impl.h:32, from lib/libzfs/libzfs_config.c:44: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libsolcompat/include/sys/ioctl.h:30, from lib/libsolcompat/include/sys/stat.h:37, from lib/libzfs/libzfs_config.c:36: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzfs/libzfs_import.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfs/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libuutil/include -Ilib/libsolcompat/include -Ilib/libzfs/include lib/libzfs/libzfs_import.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/metaslab.h:28, from lib/libzfscommon/include/sys/vdev_impl.h:30, from lib/libzfs/libzfs_import.c:52: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libsolcompat/include/devid.h:30, from lib/libzfs/libzfs_import.c:42: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32, from lib/libzfs/include/libzfs_impl.h:32, from lib/libzfs/libzfs_import.c:55: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzfs/libzfs_status.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfs/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libuutil/include -Ilib/libsolcompat/include -Ilib/libzfs/include lib/libzfs/libzfs_status.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from lib/libzfs/include/libzfs_impl.h:32, from lib/libzfs/libzfs_status.c:44: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libnvpair/include/sys/nvpair.h:29, from lib/libnvpair/include/libnvpair.h:28, from lib/libzfs/include/libzfs.h:30, from lib/libzfs/libzfs_status.c:41: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzfs/libzfs_sendrecv.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfs/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libuutil/include -Ilib/libsolcompat/include -Ilib/libzfs/include lib/libzfs/libzfs_sendrecv.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/zfs_fletcher.h:30, from lib/libzfs/libzfs_sendrecv.c:44: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzfs/libzfs_sendrecv.c:31: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32, from lib/libzfs/include/libzfs_impl.h:32, from lib/libzfs/libzfs_sendrecv.c:45: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzfs/libzfs_sendrecv.c: In function 'cksummer': lib/libzfs/libzfs_sendrecv.c:343:33: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 343 | SHA256_Init(&ctx); | ^~~~~~~~~~~ In file included from lib/libzfs/libzfs_sendrecv.c:46: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ lib/libzfs/libzfs_sendrecv.c:344:33: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | SHA256_Update(&ctx, buf, drrw->drr_length); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ lib/libzfs/libzfs_sendrecv.c:345:33: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 345 | SHA256_Final((unsigned char *)&tmpsha256, &ctx); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ lib/libzfs/libzfs_sendrecv.c: In function 'zfs_receive_one': lib/libzfs/libzfs_sendrecv.c:2419:16: warning: 'strncat' specified bound 8192 equals destination size [-Wstringop-truncation] 2419 | (void) strncat(zc.zc_value, chopprefix, sizeof (zc.zc_value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzfs/libzfs_sendrecv.c:2419:16: warning: 'strncat' specified bound 8192 equals destination size [-Wstringop-overflow=] lib/libzfs/libzfs_sendrecv.c: In function 'zfs_send': lib/libzfs/libzfs_sendrecv.c:1322:27: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 1322 | "%s@%s", zhp->zfs_name, tosnap); | ^ lib/libzfs/libzfs_sendrecv.c:1320:24: note: 'snprintf' output 2 or more bytes (assuming 257) into a destination of size 256 1320 | (void) snprintf(drr.drr_u.drr_begin.drr_toname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1321 | sizeof (drr.drr_u.drr_begin.drr_toname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1322 | "%s@%s", zhp->zfs_name, tosnap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o lib/libzfs/libzfs_zfsfuse.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfs/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libuutil/include -Ilib/libsolcompat/include -Ilib/libzfs/include lib/libzfs/libzfs_zfsfuse.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from lib/libzfs/include/libzfs_impl.h:32, from lib/libzfs/libzfs_zfsfuse.c:38: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfs/libzfs_zfsfuse.c:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzfs/libzfs_zfsfuse.c: In function 'zfsfuse_sendfd': lib/libzfs/libzfs_zfsfuse.c:131:17: warning: cast increases required alignment of target type [-Wcast-align] 131 | fdptr = (int *) CMSG_DATA(cmsg); | ^ gcc -o lib/libzfs/zfs_fletcher.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfs/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libuutil/include -Ilib/libsolcompat/include -Ilib/libzfs/include lib/libzfs/zfs_fletcher.c In file included from lib/libzfs/zfs_fletcher.c:129: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfs/zfs_fletcher.c:128: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ ar rc lib/libzfs/libzfs.a lib/libzfs/libzfs_dataset.o lib/libzfs/libzfs_util.o lib/libzfs/libzfs_graph.o lib/libzfs/libzfs_mount.o lib/libzfs/libzfs_pool.o lib/libzfs/libzfs_changelist.o lib/libzfs/libzfs_config.o lib/libzfs/libzfs_import.o lib/libzfs/libzfs_status.o lib/libzfs/libzfs_sendrecv.o lib/libzfs/libzfs_zfsfuse.o lib/libzfs/zfs_fletcher.o ranlib lib/libzfs/libzfs.a gcc -o lib/libzfscommon/build-user/compress.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzfscommon/compress.c gcc -o lib/libzfscommon/build-user/list.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzfscommon/list.c In file included from lib/libzfscommon/list.c:35: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/list_impl.h:32, from lib/libzfscommon/include/sys/list.h:31, from lib/libzfscommon/list.c:32: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ lib/libzfscommon/list.c: In function 'list_insert_after': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:94:37: note: in expansion of macro 'list_d2l' 94 | list_node_t *lold = list_d2l(list, object); | ^~~~~~~~ lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:43:29: note: in expansion of macro 'list_d2l' 43 | list_node_t *lnew = list_d2l(list, object); \ | ^~~~~~~~ lib/libzfscommon/list.c:95:17: note: in expansion of macro 'list_insert_after_node' 95 | list_insert_after_node(list, lold, nobject); | ^~~~~~~~~~~~~~~~~~~~~~ lib/libzfscommon/list.c: In function 'list_insert_before': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:105:37: note: in expansion of macro 'list_d2l' 105 | list_node_t *lold = list_d2l(list, object); | ^~~~~~~~ lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:51:29: note: in expansion of macro 'list_d2l' 51 | list_node_t *lnew = list_d2l(list, object); \ | ^~~~~~~~ lib/libzfscommon/list.c:106:17: note: in expansion of macro 'list_insert_before_node' 106 | list_insert_before_node(list, lold, nobject); | ^~~~~~~~~~~~~~~~~~~~~~~ lib/libzfscommon/list.c: In function 'list_insert_head': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:43:29: note: in expansion of macro 'list_d2l' 43 | list_node_t *lnew = list_d2l(list, object); \ | ^~~~~~~~ lib/libzfscommon/list.c:114:9: note: in expansion of macro 'list_insert_after_node' 114 | list_insert_after_node(list, lold, object); | ^~~~~~~~~~~~~~~~~~~~~~ lib/libzfscommon/list.c: In function 'list_insert_tail': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:51:29: note: in expansion of macro 'list_d2l' 51 | list_node_t *lnew = list_d2l(list, object); \ | ^~~~~~~~ lib/libzfscommon/list.c:121:9: note: in expansion of macro 'list_insert_before_node' 121 | list_insert_before_node(list, lold, object); | ^~~~~~~~~~~~~~~~~~~~~~~ lib/libzfscommon/list.c: In function 'list_remove': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:127:29: note: in expansion of macro 'list_d2l' 127 | list_node_t *lold = list_d2l(list, object); | ^~~~~~~~ lib/libzfscommon/list.c: In function 'list_next': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:172:29: note: in expansion of macro 'list_d2l' 172 | list_node_t *node = list_d2l(list, object); | ^~~~~~~~ lib/libzfscommon/list.c: In function 'list_prev': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:183:29: note: in expansion of macro 'list_d2l' 183 | list_node_t *node = list_d2l(list, object); | ^~~~~~~~ gcc -o lib/libzfscommon/build-user/zfs_comutil.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzfscommon/zfs_comutil.c gcc -o lib/libzfscommon/build-user/zfs_deleg.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzfscommon/zfs_deleg.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dsl_pool.h:28, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/zfs_deleg.c:38: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libsolcompat/include/sys/ioctl.h:30, from lib/libsolcompat/include/unistd.h:33, from lib/libzfscommon/zfs_deleg.c:32: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzfscommon/build-user/zfs_namecheck.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzfscommon/zfs_namecheck.c gcc -o lib/libzfscommon/build-user/zfs_prop.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzfscommon/zfs_prop.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/zfs_prop.c:27: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32, from lib/libzfscommon/zfs_prop.c:31: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzfscommon/build-user/zpool_prop.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzfscommon/zpool_prop.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/zpool_prop.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32, from lib/libzfscommon/zpool_prop.c:29: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzfscommon/build-user/zprop_common.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzfscommon/zprop_common.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/zprop_common.c:30: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32, from lib/libzfscommon/zprop_common.c:33: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ ar rc lib/libzfscommon/libzfscommon-user.a lib/libzfscommon/build-user/compress.o lib/libzfscommon/build-user/list.o lib/libzfscommon/build-user/zfs_comutil.o lib/libzfscommon/build-user/zfs_deleg.o lib/libzfscommon/build-user/zfs_namecheck.o lib/libzfscommon/build-user/zfs_prop.o lib/libzfscommon/build-user/zpool_prop.o lib/libzfscommon/build-user/zprop_common.o ranlib lib/libzfscommon/libzfscommon-user.a gcc -o lib/libnvpair/build-user/libnvpair.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libnvpair/include -Ilib/libsolcompat/include lib/libnvpair/libnvpair.c lib/libnvpair/libnvpair.c: In function 'nvprint_double': lib/libnvpair/libnvpair.c:213:40: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=] 213 | NVLIST_PRTFUNC(double, double, double, "0x%llf") | ^~~~~~~~ lib/libnvpair/libnvpair.c:198:28: note: in definition of macro 'NVLIST_PRTFUNC' 198 | (void) fprintf(fp, vfmt, (ptype)value); \ | ^~~~ lib/libnvpair/libnvpair.c:213:46: note: format string is defined here 213 | NVLIST_PRTFUNC(double, double, double, "0x%llf") | ^ gcc -o lib/libnvpair/build-user/nvpair.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libnvpair/include -Ilib/libsolcompat/include lib/libnvpair/nvpair.c In file included from lib/libnvpair/nvpair.c:34: lib/libnvpair/../libsolcompat/include/rpc/xdr.h:46:9: warning: 'xdr_control' redefined 46 | #define xdr_control(a,b,c) xdrmem_control(a,b,c) | ^~~~~~~~~~~ In file included from lib/libnvpair/../libsolcompat/include/rpc/xdr.h:38: /usr/include/tirpc/rpc/xdr.h:223:9: note: this is the location of the previous definition 223 | #define xdr_control(xdrs, req, op) XDR_CONTROL(xdrs, req, op) | ^~~~~~~~~~~ gcc -o lib/libnvpair/build-user/nvpair_alloc_fixed.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libnvpair/include -Ilib/libsolcompat/include lib/libnvpair/nvpair_alloc_fixed.c In file included from lib/libnvpair/nvpair_alloc_fixed.c:32: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libnvpair/include/sys/nvpair.h:29, from lib/libnvpair/nvpair_alloc_fixed.c:31: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libnvpair/build-user/nvpair_alloc_system.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libnvpair/include -Ilib/libsolcompat/include lib/libnvpair/nvpair_alloc_system.c ar rc lib/libnvpair/libnvpair-user.a lib/libnvpair/build-user/libnvpair.o lib/libnvpair/build-user/nvpair.o lib/libnvpair/build-user/nvpair_alloc_fixed.o lib/libnvpair/build-user/nvpair_alloc_system.o ranlib lib/libnvpair/libnvpair-user.a cd lib/libumem && make && rm -f libumem.a && ln -s .libs/libumem.a make all-am make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/src/lib/libumem' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/src/lib/libumem' gcc -o lib/libuutil/uu_alloc.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -DNATIVE_BUILD -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libavl/include -Ilib/libsolcompat/include lib/libuutil/uu_alloc.c gcc -o lib/libuutil/uu_avl.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -DNATIVE_BUILD -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libavl/include -Ilib/libsolcompat/include lib/libuutil/uu_avl.c gcc -o lib/libuutil/uu_dprintf.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -DNATIVE_BUILD -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libavl/include -Ilib/libsolcompat/include lib/libuutil/uu_dprintf.c gcc -o lib/libuutil/uu_ident.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -DNATIVE_BUILD -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libavl/include -Ilib/libsolcompat/include lib/libuutil/uu_ident.c gcc -o lib/libuutil/uu_list.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -DNATIVE_BUILD -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libavl/include -Ilib/libsolcompat/include lib/libuutil/uu_list.c In function 'list_walk_init', inlined from 'uu_list_walk' at lib/libuutil/uu_list.c:513:3: lib/libuutil/uu_list.c:421:32: warning: storing the address of local variable 'my_walk' in '((uu_list_walk_t *)((char *)lp + 16))[1].ulw_prev' [-Wdangling-pointer=] 421 | next->ulw_prev = wp; | ~~~~~~~~~~~~~~~^~~~ lib/libuutil/uu_list.c: In function 'uu_list_walk': lib/libuutil/uu_list.c:510:32: note: 'my_walk' declared here 510 | uu_list_walk_t my_walk; | ^~~~~~~ lib/libuutil/uu_list.c:495:25: note: 'lp' declared here 495 | uu_list_walk(uu_list_t *lp, uu_walk_fn_t *func, void *private, uint32_t flags) | ~~~~~~~~~~~^~ gcc -o lib/libuutil/uu_misc.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -DNATIVE_BUILD -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libavl/include -Ilib/libsolcompat/include lib/libuutil/uu_misc.c gcc -o lib/libuutil/uu_open.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -DNATIVE_BUILD -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libavl/include -Ilib/libsolcompat/include lib/libuutil/uu_open.c gcc -o lib/libuutil/uu_pname.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -DNATIVE_BUILD -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libavl/include -Ilib/libsolcompat/include lib/libuutil/uu_pname.c gcc -o lib/libuutil/uu_strtoint.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -DNATIVE_BUILD -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libavl/include -Ilib/libsolcompat/include lib/libuutil/uu_strtoint.c gcc -o lib/libsolcompat/getmntany.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolcompat/include -Ilib/libsolcompat/include/generic lib/libsolcompat/getmntany.c In file included from lib/libsolcompat/getmntany.c:39: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libsolcompat/include/sys/mnttab.h:35, from lib/libsolcompat/getmntany.c:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libsolcompat/mkdirp.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolcompat/include -Ilib/libsolcompat/include/generic lib/libsolcompat/mkdirp.c gcc -o lib/libsolcompat/strlcpy.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolcompat/include -Ilib/libsolcompat/include/generic lib/libsolcompat/strlcpy.c gcc -o lib/libsolcompat/strlcat.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolcompat/include -Ilib/libsolcompat/include/generic lib/libsolcompat/strlcat.c gcc -o lib/libsolcompat/u8_textprep.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolcompat/include -Ilib/libsolcompat/include/generic lib/libsolcompat/u8_textprep.c In file included from lib/libsolcompat/u8_textprep.c:39: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libsolcompat/u8_textprep.c:37: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libsolcompat/zone.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolcompat/include -Ilib/libsolcompat/include/generic lib/libsolcompat/zone.c gcc -o lib/libsolcompat/generic/atomic.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolcompat/include -Ilib/libsolcompat/include/generic lib/libsolcompat/generic/atomic.c ar rc lib/libsolcompat/libsolcompat.a lib/libsolcompat/getmntany.o lib/libsolcompat/mkdirp.o lib/libsolcompat/strlcpy.o lib/libsolcompat/strlcat.o lib/libsolcompat/u8_textprep.o lib/libsolcompat/zone.o lib/libsolcompat/generic/atomic.o ranlib lib/libsolcompat/libsolcompat.a ar rc lib/libuutil/libuutil.a lib/libuutil/uu_alloc.o lib/libuutil/uu_avl.o lib/libuutil/uu_dprintf.o lib/libuutil/uu_ident.o lib/libuutil/uu_list.o lib/libuutil/uu_misc.o lib/libuutil/uu_open.o lib/libuutil/uu_pname.o lib/libuutil/uu_strtoint.o lib/libsolcompat/libsolcompat.a ranlib lib/libuutil/libuutil.a gcc -o lib/libavl/avl.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libsolcompat/include lib/libavl/avl.c ar rc lib/libavl/libavl.a lib/libavl/avl.o ranlib lib/libavl/libavl.a gcc -o cmd/mount_zfs/mount.zfs -pipe -Wall -ltirpc -ggdb -fPIC -rdynamic cmd/mount_zfs/mount_zfs.o cmd/mount_zfs/ptrace.o lib/libzfs/libzfs.a lib/libzfscommon/libzfscommon-user.a lib/libnvpair/libnvpair-user.a lib/libumem/libumem.a lib/libuutil/libuutil.a lib/libavl/libavl.a lib/libsolcompat/libsolcompat.a -lpthread -lm -ldl -lcrypto Install file: "cmd/mount_zfs/mount.zfs" as "/home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/sbin/mount.zfs" gcc -o cmd/zdb/zdb.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libsolcompat/include -Ilib/libzfs/include cmd/zdb/zdb.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from cmd/zdb/zdb.c:29: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from cmd/zdb/zdb.c:27: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from cmd/zdb/zdb.c:31: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o cmd/zdb/zdb_il.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libsolcompat/include -Ilib/libzfs/include cmd/zdb/zdb_il.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from cmd/zdb/zdb_il.c:33: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from cmd/zdb/zdb_il.c:31: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34, from lib/libzfscommon/include/sys/zil_impl.h:31, from cmd/zdb/zdb_il.c:39: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o cmd/zdb/ptrace.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libsolcompat/include -Ilib/libzfs/include cmd/zdb/ptrace.c gcc -o lib/libzpool/build-user/arc.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/arc.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzpool/arc.c:119: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/arc.c:123: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/bplist.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/bplist.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/bplist.h:28, from lib/libzpool/bplist.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/dbuf.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dbuf.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/dbuf.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_impl.h:31, from lib/libzpool/dbuf.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/dbuf.c: In function 'dbuf_write_done': lib/libzpool/dbuf.c:2582:9: warning: 'pthread_yield' is deprecated: pthread_yield is deprecated, use sched_yield instead [-Wdeprecated-declarations] 2582 | pthread_yield(); | ^~~~~~~~~~~~~ In file included from /usr/include/features.h:524, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from lib/libzpool/include/sys/zfs_context.h:43: /usr/include/pthread.h:479:12: note: declared here 479 | extern int __REDIRECT_NTH (pthread_yield, (void), sched_yield) | ^~~~~~~~~~~~~~ gcc -o lib/libzpool/build-user/dnode_sync.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dnode_sync.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/dnode_sync.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dbuf.h:34, from lib/libzpool/dnode_sync.c:26: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/dnode_sync.c: In function 'dnode_sync': lib/libzfscommon/include/sys/spa.h:304:38: warning: array subscript 1 is above array bounds of 'blkptr_t[1]' {aka 'struct blkptr[1]'} [-Warray-bounds=] 304 | #define BP_IS_HOLE(bp) ((bp)->blk_birth == 0) | ^~ lib/libzpool/include/sys/zfs_context.h:119:29: note: in definition of macro 'zverify' 119 | #define zverify(EX) (void)((EX) || (aok) || \ | ^~ lib/libzpool/dnode_sync.c:667:40: note: in expansion of macro 'BP_IS_HOLE' 667 | ASSERT(BP_IS_HOLE(&dnp->dn_blkptr[i])); | ^~~~~~~~~~ In file included from lib/libzpool/dnode_sync.c:27: lib/libzfscommon/include/sys/dnode.h:140:18: note: while referencing 'dn_blkptr' 140 | blkptr_t dn_blkptr[1]; | ^~~~~~~~~ gcc -o lib/libzpool/build-user/dmu.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dmu.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/txg_impl.h:29, from lib/libzfscommon/include/sys/dmu_impl.h:29, from lib/libzpool/dmu.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dmu.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_impl.h:31: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dmu_object.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dmu_object.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dmu_objset.h:30, from lib/libzpool/dmu_object.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dmu_object.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dmu_objset.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dmu_objset.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/dmu_objset.c:28: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34, from lib/libzpool/dmu_objset.c:29: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dmu_send.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dmu_send.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/txg_impl.h:29, from lib/libzfscommon/include/sys/dmu_impl.h:29, from lib/libzpool/dmu_send.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dmu_send.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_impl.h:31: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dmu_traverse.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dmu_traverse.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/dmu_traverse.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34, from lib/libzpool/dmu_traverse.c:26: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dmu_tx.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dmu_tx.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/txg_impl.h:29, from lib/libzfscommon/include/sys/dmu_impl.h:29, from lib/libzpool/dmu_tx.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dmu_tx.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_impl.h:31: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/dmu_tx.c: In function 'dmu_tx_commit': lib/libzpool/dmu_tx.c:1143:17: warning: 'pthread_yield' is deprecated: pthread_yield is deprecated, use sched_yield instead [-Wdeprecated-declarations] 1143 | pthread_yield(); | ^~~~~~~~~~~~~ In file included from /usr/include/features.h:524, from /usr/include/inttypes.h:25, from lib/libsolcompat/include/sys/inttypes.h:30, from lib/libzfscommon/include/sys/dmu.h:38: /usr/include/pthread.h:479:12: note: declared here 479 | extern int __REDIRECT_NTH (pthread_yield, (void), sched_yield) | ^~~~~~~~~~~~~~ gcc -o lib/libzpool/build-user/dmu_zfetch.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dmu_zfetch.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/dmu_zfetch.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzpool/dmu_zfetch.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dnode.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dnode.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/dnode.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dbuf.h:34, from lib/libzpool/dnode.c:26: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dsl_dataset.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dsl_dataset.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dmu_objset.h:30, from lib/libzpool/dsl_dataset.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dsl_deleg.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dsl_deleg.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dmu_objset.h:30, from lib/libzpool/dsl_deleg.c:69: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dsl_deleg.c:68: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dsl_dir.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dsl_dir.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dmu_objset.h:30, from lib/libzpool/dsl_dir.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dsl_dir.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dsl_pool.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dsl_pool.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dsl_pool.h:28, from lib/libzpool/dsl_pool.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dsl_prop.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dsl_prop.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/dsl_prop.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34, from lib/libzpool/dsl_prop.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dsl_scan.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dsl_scan.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/dsl_scan.h:28, from lib/libzpool/dsl_scan.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzpool/dsl_scan.c:26: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dsl_synctask.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dsl_synctask.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/txg.h:29, from lib/libzfscommon/include/sys/dmu_tx.h:31, from lib/libzpool/dsl_synctask.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dsl_synctask.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dmu_tx.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/fletcher.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/fletcher.c In file included from lib/libzpool/fletcher.c:129: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzpool/fletcher.c:128: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/flushwc.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/flushwc.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/flushwc.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzpool/flushwc.c:19: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/gzip.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/gzip.c gcc -o lib/libzpool/build-user/lzjb.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/lzjb.c gcc -o lib/libzpool/build-user/metaslab.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/metaslab.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/metaslab.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dmu_tx.h:32, from lib/libzpool/metaslab.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/refcount.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/refcount.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/refcount.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/refcount.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/rprwlock.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/rprwlock.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/rprwlock.c:28: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/rprwlock.c:29: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/rrwlock.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/rrwlock.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/refcount.h:31, from lib/libzpool/rrwlock.c:28: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/list_impl.h:32, from lib/libzfscommon/include/sys/list.h:31, from lib/libzfscommon/include/sys/refcount.h:30: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/sha256.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/sha256.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/sha256.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ lib/libzpool/sha256.c: In function 'zio_checksum_SHA256': lib/libzpool/sha256.c:35:9: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 35 | SHA256_Init(&ctx); | ^~~~~~~~~~~ In file included from lib/libzpool/sha256.c:27: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ lib/libzpool/sha256.c:36:9: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 36 | SHA256_Update(&ctx, buf, size); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ lib/libzpool/sha256.c:37:9: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 37 | SHA256_Final((unsigned char*)&tmp, &ctx); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ gcc -o lib/libzpool/build-user/spa.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/spa.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/spa.c:32: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/spa.c:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/spa_config.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/spa_config.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzpool/spa_config.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/spa_config.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/spa_errlog.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/spa_errlog.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/txg.h:29, from lib/libzfscommon/include/sys/dmu_tx.h:31, from lib/libzpool/spa_errlog.c:50: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzfscommon/include/sys/dmu_tx.h:30: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dmu_tx.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/spa_history.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/spa_history.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzpool/spa_history.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/spa_history.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ In file included from lib/libzpool/include/sys/zfs_context.h:68: lib/libzpool/spa_history.c: In function 'spa_history_advance_bof': lib/libzpool/spa_history.c:138:26: warning: cast increases required alignment of target type [-Wcast-align] 138 | reclen = LE_64(*((uint64_t *)buf)); | ^ lib/libsolcompat/include/sys/byteorder.h:106:26: note: in definition of macro 'BMASK_64' 106 | #define BMASK_64(x) (x) | ^ lib/libzpool/spa_history.c:138:18: note: in expansion of macro 'LE_64' 138 | reclen = LE_64(*((uint64_t *)buf)); | ^~~~~ gcc -o lib/libzpool/build-user/spa_misc.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/spa_misc.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/spa_misc.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/spa_misc.c:26: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/space_map.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/space_map.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/space_map.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/txg.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/txg.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/txg.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_impl.h:31, from lib/libzpool/txg.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/txg.c: In function 'txg_list_add': lib/libzpool/txg.c:616:26: warning: cast increases required alignment of target type [-Wcast-align] 616 | txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); | ^ lib/libzpool/txg.c: In function 'txg_list_add_tail': lib/libzpool/txg.c:639:26: warning: cast increases required alignment of target type [-Wcast-align] 639 | txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); | ^ lib/libzpool/txg.c: In function 'txg_list_member': lib/libzpool/txg.c:711:26: warning: cast increases required alignment of target type [-Wcast-align] 711 | txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); | ^ lib/libzpool/txg.c: In function 'txg_list_next': lib/libzpool/txg.c:732:26: warning: cast increases required alignment of target type [-Wcast-align] 732 | txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); | ^ gcc -o lib/libzpool/build-user/uberblock.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/uberblock.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/uberblock.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/unique.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/unique.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/unique.c:28: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/util.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/util.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/util.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/util.c:33: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/vdev.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/vdev.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/vdev.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/vdev.c:29: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/vdev.c: In function 'vdev_open_children': lib/libzpool/vdev.c:1094:31: warning: comparison between pointer and integer 1094 | TQ_SLEEP) != NULL); | ^~ lib/libzpool/include/sys/zfs_context.h:119:29: note: in definition of macro 'zverify' 119 | #define zverify(EX) (void)((EX) || (aok) || \ | ^~ lib/libzpool/vdev.c:1093:17: note: in expansion of macro 'VERIFY' 1093 | VERIFY(taskq_dispatch(tq, vdev_open_child, vd->vdev_child[c], | ^~~~~~ gcc -o lib/libzpool/build-user/vdev_cache.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/vdev_cache.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/vdev_cache.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/vdev_file.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/vdev_file.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/vdev_file.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/vdev_label.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/vdev_label.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/vdev_label.c:133: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/vdev_label.c:135: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/vdev_mirror.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/vdev_mirror.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/vdev_mirror.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/vdev_missing.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/vdev_missing.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/vdev_missing.c:35: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/vdev_queue.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/vdev_queue.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/vdev_queue.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/vdev_raidz.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/vdev_raidz.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/vdev_raidz.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/vdev_root.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/vdev_root.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/vdev_root.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/zap.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zap.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzpool/zap.c:40: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/zap.c:46: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/zap.c: In function 'zap_open_leaf': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/include/sys/zfs_context.h:146:36: note: in definition of macro 'VERIFY3_IMPL' 146 | const TYPE __left = (TYPE)(LEFT); \ | ^~~~ lib/libzpool/include/sys/zfs_context.h:170:33: note: in expansion of macro 'VERIFY3P' 170 | #define ASSERT3P(x, y, z) VERIFY3P(x, y, z) | ^~~~~~~~ lib/libzpool/zap.c:486:9: note: in expansion of macro 'ASSERT3P' 486 | ASSERT3P(&ZAP_LEAF_CHUNK(l, 0), ==, | ^~~~~~~~ lib/libzpool/zap.c:486:19: note: in expansion of macro 'ZAP_LEAF_CHUNK' 486 | ASSERT3P(&ZAP_LEAF_CHUNK(l, 0), ==, | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/include/sys/zfs_context.h:146:36: note: in definition of macro 'VERIFY3_IMPL' 146 | const TYPE __left = (TYPE)(LEFT); \ | ^~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zap.c:490:9: note: in expansion of macro 'ASSERT3U' 490 | ASSERT3U((uintptr_t)&ZAP_LEAF_CHUNK(l, ZAP_LEAF_NUMCHUNKS(l)) - | ^~~~~~~~ lib/libzpool/zap.c:490:30: note: in expansion of macro 'ZAP_LEAF_CHUNK' 490 | ASSERT3U((uintptr_t)&ZAP_LEAF_CHUNK(l, ZAP_LEAF_NUMCHUNKS(l)) - | ^~~~~~~~~~~~~~ gcc -o lib/libzpool/build-user/zap_leaf.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zap_leaf.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzpool/zap_leaf.c:31: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/zap_leaf.c:38: lib/libzpool/zap_leaf.c: In function 'zap_leaf_byteswap': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:122:41: note: in expansion of macro 'ZAP_LEAF_CHUNK' 122 | zap_leaf_chunk_t *lc = &ZAP_LEAF_CHUNK(&l, i); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_init': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:163:17: note: in expansion of macro 'ZAP_LEAF_CHUNK' 163 | ZAP_LEAF_CHUNK(l, i).l_free.lf_type = ZAP_CHUNK_FREE; | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:164:17: note: in expansion of macro 'ZAP_LEAF_CHUNK' 164 | ZAP_LEAF_CHUNK(l, i).l_free.lf_next = i+1; | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:166:9: note: in expansion of macro 'ZAP_LEAF_CHUNK' 166 | ZAP_LEAF_CHUNK(l, ZAP_LEAF_NUMCHUNKS(l)-1).l_free.lf_next = CHAIN_END; | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_chunk_alloc': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/include/sys/zfs_context.h:146:36: note: in definition of macro 'VERIFY3_IMPL' 146 | const TYPE __left = (TYPE)(LEFT); \ | ^~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zap_leaf.c:187:9: note: in expansion of macro 'ASSERT3U' 187 | ASSERT3U(ZAP_LEAF_CHUNK(l, chunk).l_free.lf_type, ==, ZAP_CHUNK_FREE); | ^~~~~~~~ lib/libzpool/zap_leaf.c:187:18: note: in expansion of macro 'ZAP_LEAF_CHUNK' 187 | ASSERT3U(ZAP_LEAF_CHUNK(l, chunk).l_free.lf_type, ==, ZAP_CHUNK_FREE); | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:189:40: note: in expansion of macro 'ZAP_LEAF_CHUNK' 189 | l->l_phys->l_hdr.lh_freelist = ZAP_LEAF_CHUNK(l, chunk).l_free.lf_next; | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_chunk_free': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:199:38: note: in expansion of macro 'ZAP_LEAF_CHUNK' 199 | struct zap_leaf_free *zlf = &ZAP_LEAF_CHUNK(l, chunk).l_free; | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_array_create': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:231:46: note: in expansion of macro 'ZAP_LEAF_CHUNK' 231 | struct zap_leaf_array *la = &ZAP_LEAF_CHUNK(l, chunk).l_array; | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_array_free': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:264:33: note: in expansion of macro 'ZAP_LEAF_CHUNK' 264 | int nextchunk = ZAP_LEAF_CHUNK(l, chunk).l_array.la_next; | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/include/sys/zfs_context.h:146:36: note: in definition of macro 'VERIFY3_IMPL' 146 | const TYPE __left = (TYPE)(LEFT); \ | ^~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zap_leaf.c:265:17: note: in expansion of macro 'ASSERT3U' 265 | ASSERT3U(ZAP_LEAF_CHUNK(l, chunk).l_array.la_type, ==, | ^~~~~~~~ lib/libzpool/zap_leaf.c:265:26: note: in expansion of macro 'ZAP_LEAF_CHUNK' 265 | ASSERT3U(ZAP_LEAF_CHUNK(l, chunk).l_array.la_type, ==, | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_array_read': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:287:46: note: in expansion of macro 'ZAP_LEAF_CHUNK' 287 | struct zap_leaf_array *la = &ZAP_LEAF_CHUNK(l, chunk).l_array; | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:303:30: note: in expansion of macro 'ZAP_LEAF_CHUNK' 303 | &ZAP_LEAF_CHUNK(l, chunk).l_array; | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:312:46: note: in expansion of macro 'ZAP_LEAF_CHUNK' 312 | struct zap_leaf_array *la = &ZAP_LEAF_CHUNK(l, chunk).l_array; | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_array_match': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:374:46: note: in expansion of macro 'ZAP_LEAF_CHUNK' 374 | struct zap_leaf_array *la = &ZAP_LEAF_CHUNK(l, chunk).l_array; | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_lookup': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:401:22: note: in expansion of macro 'ZAP_LEAF_ENTRY' 401 | le = ZAP_LEAF_ENTRY(l, chunk); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_lookup_closest': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:460:30: note: in expansion of macro 'ZAP_LEAF_ENTRY' 460 | le = ZAP_LEAF_ENTRY(l, chunk); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_entry_read': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:491:13: note: in expansion of macro 'ZAP_LEAF_ENTRY' 491 | ZAP_LEAF_ENTRY(zeh->zeh_leaf, *zeh->zeh_chunkp); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_entry_read_name': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:512:13: note: in expansion of macro 'ZAP_LEAF_ENTRY' 512 | ZAP_LEAF_ENTRY(zeh->zeh_leaf, *zeh->zeh_chunkp); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_entry_update': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:533:37: note: in expansion of macro 'ZAP_LEAF_ENTRY' 533 | struct zap_leaf_entry *le = ZAP_LEAF_ENTRY(l, *zeh->zeh_chunkp); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_entry_remove': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:559:14: note: in expansion of macro 'ZAP_LEAF_ENTRY' 559 | le = ZAP_LEAF_ENTRY(l, entry_chunk); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_entry_create': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:597:38: note: in expansion of macro 'ZAP_LEAF_ENTRY' 597 | le = ZAP_LEAF_ENTRY(l, chunk); | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:610:46: note: in expansion of macro 'ZAP_LEAF_ENTRY' 610 | le = ZAP_LEAF_ENTRY(l, chunk); | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:633:14: note: in expansion of macro 'ZAP_LEAF_ENTRY' 633 | le = ZAP_LEAF_ENTRY(l, chunk); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_entry_normalization_conflict': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:684:22: note: in expansion of macro 'ZAP_LEAF_ENTRY' 684 | le = ZAP_LEAF_ENTRY(zeh->zeh_leaf, chunk); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_rehash_entry': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:713:37: note: in expansion of macro 'ZAP_LEAF_ENTRY' 713 | struct zap_leaf_entry *le = ZAP_LEAF_ENTRY(l, entry); | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:724:23: note: in expansion of macro 'ZAP_LEAF_ENTRY' 724 | le2 = ZAP_LEAF_ENTRY(l, *chunkp); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_transfer_array': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:743:22: note: in expansion of macro 'ZAP_LEAF_CHUNK' 743 | &ZAP_LEAF_CHUNK(nl, nchunk).l_array; | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:745:22: note: in expansion of macro 'ZAP_LEAF_CHUNK' 745 | &ZAP_LEAF_CHUNK(l, chunk).l_array; | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_transfer_entry': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:768:14: note: in expansion of macro 'ZAP_LEAF_ENTRY' 768 | le = ZAP_LEAF_ENTRY(l, entry); | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:772:15: note: in expansion of macro 'ZAP_LEAF_ENTRY' 772 | nle = ZAP_LEAF_ENTRY(nl, chunk); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_split': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:818:45: note: in expansion of macro 'ZAP_LEAF_ENTRY' 818 | struct zap_leaf_entry *le = ZAP_LEAF_ENTRY(l, i); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_stats': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:856:29: note: in expansion of macro 'ZAP_LEAF_ENTRY' 856 | ZAP_LEAF_ENTRY(l, chunk); | ^~~~~~~~~~~~~~ gcc -o lib/libzpool/build-user/zap_micro.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zap_micro.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzpool/zap_micro.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/zap_micro.c:30: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/zfs_byteswap.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zfs_byteswap.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/zfs_byteswap.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ lib/libzpool/zfs_byteswap.c: In function 'zfs_ace_byteswap': lib/libzpool/zfs_byteswap.c:79:33: warning: cast increases required alignment of target type [-Wcast-align] 79 | zacep = (zfs_ace_t *)ptr; | ^ lib/libzpool/zfs_byteswap.c:91:32: warning: cast increases required alignment of target type [-Wcast-align] 91 | acep = (ace_t *)ptr; | ^ lib/libzpool/zfs_byteswap.c: In function 'zfs_znode_byteswap': lib/libzpool/zfs_byteswap.c:196:37: warning: cast increases required alignment of target type [-Wcast-align] 196 | zfs_oldace_byteswap((ace_t *)&zp->zp_acl.z_ace_data[0], | ^ gcc -o lib/libzpool/build-user/zfs_fm.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zfs_fm.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzpool/zfs_fm.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/zfs_fm.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/zfs_fuid.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zfs_fuid.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/zfs_fuid.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/zfs_fuid.c:29: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/zfs_znode.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zfs_znode.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/refcount.h:31, from lib/libzpool/zfs_znode.c:60: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/zfs_znode.c:59: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/zil.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zil.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/zil.c:27: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34, from lib/libzfscommon/include/sys/zil_impl.h:31, from lib/libzpool/zil.c:35: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/zil.c: In function 'zil_read_log_block': lib/libzpool/zil.c:224:45: warning: cast increases required alignment of target type [-Wcast-align] 224 | zil_chain_t *zilc = (zil_chain_t *)(lr + size) - 1; | ^ lib/libzpool/zil.c: In function 'zil_parse': lib/libzpool/zil.c:338:36: warning: cast increases required alignment of target type [-Wcast-align] 338 | lr_t *lr = (lr_t *)lrp; | ^ lib/libzpool/zil.c: In function 'zil_lwb_write_start': lib/libzpool/zil.c:857:24: warning: cast increases required alignment of target type [-Wcast-align] 857 | zilc = (zil_chain_t *)lwb->lwb_buf; | ^ lib/libzpool/zil.c:860:24: warning: cast increases required alignment of target type [-Wcast-align] 860 | zilc = (zil_chain_t *)(lwb->lwb_buf + lwb->lwb_sz); | ^ lib/libzpool/zil.c: In function 'zil_lwb_commit': lib/libzpool/zil.c:995:15: warning: cast increases required alignment of target type [-Wcast-align] 995 | lrc = (lr_t *)lr_buf; | ^ lib/libzpool/zil.c: In function 'zil_clean': lib/libzpool/zil.c:1278:69: warning: comparison between pointer and integer 1278 | (void (*)(void *))zil_itxg_clean, clean_me, TQ_NOSLEEP) == NULL) | ^~ gcc -o lib/libzpool/build-user/zio.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zio.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/zio.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/zio.c:29: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/zio.c: In function 'zio_wait': lib/libzpool/zio.c:1204:9: warning: 'pthread_yield' is deprecated: pthread_yield is deprecated, use sched_yield instead [-Wdeprecated-declarations] 1204 | pthread_yield(); | ^~~~~~~~~~~~~ In file included from /usr/include/features.h:524, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from lib/libzpool/include/sys/zfs_context.h:43: /usr/include/pthread.h:479:12: note: declared here 479 | extern int __REDIRECT_NTH (pthread_yield, (void), sched_yield) | ^~~~~~~~~~~~~~ lib/libzpool/zio.c: In function 'zio_write_gang_member_ready': lib/libzpool/include/sys/zfs_context.h:150:45: warning: '%s' directive output truncated writing 293 bytes into a region of size 230 [-Wformat-truncation=] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1655:9: note: in expansion of macro 'ASSERT3U' 1655 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(zio->io_bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:52: note: format string is defined here 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~ lib/libzpool/include/sys/zfs_context.h:150:45: note: directive argument in the range [1, 255] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1655:9: note: in expansion of macro 'ASSERT3U' 1655 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(zio->io_bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:45: note: directive argument in the range [0, 3] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1655:9: note: in expansion of macro 'ASSERT3U' 1655 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(zio->io_bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:24: note: 'snprintf' output between 333 and 334 bytes into a destination of size 256 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | #LEFT, #OP, #RIGHT, \ | ~~~~~~~~~~~~~~~~~~~~~ 152 | (u_longlong_t)__left, #OP, (u_longlong_t)__right); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1655:9: note: in expansion of macro 'ASSERT3U' 1655 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(zio->io_bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:45: warning: '%s' directive output truncated writing 293 bytes into a region of size 256 [-Wformat-truncation=] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1657:9: note: in expansion of macro 'ASSERT3U' 1657 | ASSERT3U(BP_GET_NDVAS(zio->io_bp), <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:46: note: format string is defined here 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~ lib/libzpool/include/sys/zfs_context.h:150:45: note: directive argument in the range [1, 3] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1657:9: note: in expansion of macro 'ASSERT3U' 1657 | ASSERT3U(BP_GET_NDVAS(zio->io_bp), <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:45: note: directive argument in the range [0, 2] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1657:9: note: in expansion of macro 'ASSERT3U' 1657 | ASSERT3U(BP_GET_NDVAS(zio->io_bp), <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:24: note: 'snprintf' output 604 bytes into a destination of size 256 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | #LEFT, #OP, #RIGHT, \ | ~~~~~~~~~~~~~~~~~~~~~ 152 | (u_longlong_t)__left, #OP, (u_longlong_t)__right); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1657:9: note: in expansion of macro 'ASSERT3U' 1657 | ASSERT3U(BP_GET_NDVAS(zio->io_bp), <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:45: warning: '%s' directive output truncated writing 293 bytes into a region of size 230 [-Wformat-truncation=] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1656:9: note: in expansion of macro 'ASSERT3U' 1656 | ASSERT3U(pio->io_prop.zp_copies, <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:52: note: format string is defined here 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~ lib/libzpool/include/sys/zfs_context.h:150:45: note: directive argument in the range [1, 255] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1656:9: note: in expansion of macro 'ASSERT3U' 1656 | ASSERT3U(pio->io_prop.zp_copies, <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:45: note: directive argument in the range [0, 3] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1656:9: note: in expansion of macro 'ASSERT3U' 1656 | ASSERT3U(pio->io_prop.zp_copies, <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:24: note: 'snprintf' output between 333 and 334 bytes into a destination of size 256 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | #LEFT, #OP, #RIGHT, \ | ~~~~~~~~~~~~~~~~~~~~~ 152 | (u_longlong_t)__left, #OP, (u_longlong_t)__right); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1656:9: note: in expansion of macro 'ASSERT3U' 1656 | ASSERT3U(pio->io_prop.zp_copies, <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libzpool/zio.c: In function 'zio_dva_allocate': lib/libzpool/include/sys/zfs_context.h:150:45: warning: '%s' directive output truncated writing 269 bytes into a region of size 256 [-Wformat-truncation=] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2132:9: note: in expansion of macro 'ASSERT3U' 2132 | ASSERT3U(BP_GET_NDVAS(bp), ==, 0); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:46: note: format string is defined here 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~ lib/libzpool/include/sys/zfs_context.h:150:45: note: directive argument in the range [1, 3] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2132:9: note: in expansion of macro 'ASSERT3U' 2132 | ASSERT3U(BP_GET_NDVAS(bp), ==, 0); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:24: note: 'snprintf' output 288 bytes into a destination of size 256 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | #LEFT, #OP, #RIGHT, \ | ~~~~~~~~~~~~~~~~~~~~~ 152 | (u_longlong_t)__left, #OP, (u_longlong_t)__right); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2132:9: note: in expansion of macro 'ASSERT3U' 2132 | ASSERT3U(BP_GET_NDVAS(bp), ==, 0); | ^~~~~~~~ lib/libzpool/zio.c: In function 'zio_done': lib/libzpool/include/sys/zfs_context.h:150:45: warning: '%s' directive output truncated writing 269 bytes into a region of size 230 [-Wformat-truncation=] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2695:25: note: in expansion of macro 'ASSERT3U' 2695 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:52: note: format string is defined here 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~ lib/libzpool/include/sys/zfs_context.h:150:45: note: directive argument in the range [1, 255] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2695:25: note: in expansion of macro 'ASSERT3U' 2695 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:45: note: directive argument in the range [0, 3] 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2695:25: note: in expansion of macro 'ASSERT3U' 2695 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(bp)); | ^~~~~~~~ lib/libzpool/include/sys/zfs_context.h:150:24: note: 'snprintf' output between 309 and 310 bytes into a destination of size 256 150 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | #LEFT, #OP, #RIGHT, \ | ~~~~~~~~~~~~~~~~~~~~~ 152 | (u_longlong_t)__left, #OP, (u_longlong_t)__right); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:160:33: note: in expansion of macro 'VERIFY3_IMPL' 160 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libzpool/include/sys/zfs_context.h:169:33: note: in expansion of macro 'VERIFY3U' 169 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2695:25: note: in expansion of macro 'ASSERT3U' 2695 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(bp)); | ^~~~~~~~ gcc -o lib/libzpool/build-user/zio_checksum.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zio_checksum.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/zio_checksum.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ lib/libzpool/zio_checksum.c: In function 'zio_checksum_compute': lib/libzpool/zio_checksum.c:172:31: warning: cast increases required alignment of target type [-Wcast-align] 172 | eck = (zio_eck_t *)((char *)data + size) - 1; | ^ lib/libzpool/zio_checksum.c: In function 'zio_checksum_error': lib/libzpool/zio_checksum.c:226:31: warning: cast increases required alignment of target type [-Wcast-align] 226 | eck = (zio_eck_t *)((char *)data + size) - 1; | ^ lib/libzpool/zio_checksum.c: In function 'zio_checksum_compute': lib/libzpool/zio_checksum.c:156:54: warning: array subscript 10 is above array bounds of 'zio_checksum_info_t[10]' {aka 'struct zio_checksum_info[10]'} [-Warray-bounds=] 156 | zio_checksum_info_t *ci = &zio_checksum_table[checksum]; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ lib/libzpool/zio_checksum.c:69:21: note: while referencing 'zio_checksum_table' 69 | zio_checksum_info_t zio_checksum_table[ZIO_CHECKSUM_FUNCTIONS] = { | ^~~~~~~~~~~~~~~~~~ lib/libzpool/zio_checksum.c:156:54: warning: array subscript 10 is above array bounds of 'zio_checksum_info_t[10]' {aka 'struct zio_checksum_info[10]'} [-Warray-bounds=] 156 | zio_checksum_info_t *ci = &zio_checksum_table[checksum]; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ lib/libzpool/zio_checksum.c:69:21: note: while referencing 'zio_checksum_table' 69 | zio_checksum_info_t zio_checksum_table[ZIO_CHECKSUM_FUNCTIONS] = { | ^~~~~~~~~~~~~~~~~~ gcc -o lib/libzpool/build-user/zio_compress.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zio_compress.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/zio_compress.c:27: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ lib/libzpool/zio_compress.c: In function 'zio_compress_data': lib/libzpool/zio_compress.c:113:20: warning: cast increases required alignment of target type [-Wcast-align] 113 | word_end = (uint64_t *)((char *)src + s_len); | ^ gcc -o lib/libzpool/build-user/zio_inject.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zio_inject.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/arc.h:28, from lib/libzpool/zio_inject.c:42: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32, from lib/libzpool/zio_inject.c:44: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/kmem_asprintf.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/kmem_asprintf.c gcc -o lib/libzpool/build-user/ddt.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/ddt.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/ddt.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/ddt.c:28: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/ddt_zap.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/ddt_zap.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/ddt_zap.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dmu_tx.h:32, from lib/libzpool/ddt_zap.c:31: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/ddt_zap.c: In function 'ddt_zap_walk': lib/libzpool/ddt_zap.c:122:55: warning: cast increases required alignment of target type [-Wcast-align] 122 | error = zap_lookup_uint64(os, object, (uint64_t *)za.za_name, | ^ lib/libzpool/ddt_zap.c:128:41: warning: cast increases required alignment of target type [-Wcast-align] 128 | dde->dde_key = *(ddt_key_t *)za.za_name; | ^ gcc -o lib/libzpool/build-user/zle.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zle.c In file included from lib/libzpool/zle.c:34: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzpool/zle.c:33: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/sa.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/sa.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/sa.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_impl.h:31, from lib/libzpool/sa.c:31: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/sa.c: In function 'sa_attr_register_sync': lib/libzpool/sa.c:1558:65: warning: comparison between pointer and integer 1558 | if (!sa->sa_need_attr_registration || sa->sa_master_obj == NULL) { | ^~ lib/libzpool/sa.c:1563:33: warning: comparison between pointer and integer 1563 | if (sa->sa_reg_attr_obj == NULL) { | ^~ gcc -o lib/libzpool/build-user/zfs_sa.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zfs_sa.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/zfs_sa.c:27: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzpool/zfs_sa.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/zfs_debug.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zfs_debug.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/zfs_debug.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/bpobj.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/bpobj.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/bpobj.h:29, from lib/libzpool/bpobj.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzfscommon/include/sys/bpobj.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/bpobj.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/dsl_deadlist.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dsl_deadlist.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dsl_dataset.h:29, from lib/libzpool/dsl_deadlist.c:25: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzfscommon/include/sys/dsl_dataset.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/dsl_deadlist.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-user/zrlock.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zrlock.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zrlock.h:28, from lib/libzpool/zrlock.c:39: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/lzo.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/lzo.c gcc -o lib/libzpool/build-user/bzip2.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/bzip2.c gcc -o lib/libzpool/build-user/lzma.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/lzma.c gcc -o lib/libzpool/build-user/kernel.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/kernel.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzpool/kernel.c:33: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/kernel.c:30: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-user/taskq.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/taskq.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzpool/taskq.c:26: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ ar rc lib/libzpool/libzpool-user.a lib/libzpool/build-user/arc.o lib/libzpool/build-user/bplist.o lib/libzpool/build-user/dbuf.o lib/libzpool/build-user/dnode_sync.o lib/libzpool/build-user/dmu.o lib/libzpool/build-user/dmu_object.o lib/libzpool/build-user/dmu_objset.o lib/libzpool/build-user/dmu_send.o lib/libzpool/build-user/dmu_traverse.o lib/libzpool/build-user/dmu_tx.o lib/libzpool/build-user/dmu_zfetch.o lib/libzpool/build-user/dnode.o lib/libzpool/build-user/dsl_dataset.o lib/libzpool/build-user/dsl_deleg.o lib/libzpool/build-user/dsl_dir.o lib/libzpool/build-user/dsl_pool.o lib/libzpool/build-user/dsl_prop.o lib/libzpool/build-user/dsl_scan.o lib/libzpool/build-user/dsl_synctask.o lib/libzpool/build-user/fletcher.o lib/libzpool/build-user/flushwc.o lib/libzpool/build-user/gzip.o lib/libzpool/build-user/lzjb.o lib/libzpool/build-user/metaslab.o lib/libzpool/build-user/refcount.o lib/libzpool/build-user/rprwlock.o lib/libzpool/build-user/rrwlock.o lib/libzpool/build-user/sha256.o lib/libzpool/build-user/spa.o lib/libzpool/build-user/spa_config.o lib/libzpool/build-user/spa_errlog.o lib/libzpool/build-user/spa_history.o lib/libzpool/build-user/spa_misc.o lib/libzpool/build-user/space_map.o lib/libzpool/build-user/txg.o lib/libzpool/build-user/uberblock.o lib/libzpool/build-user/unique.o lib/libzpool/build-user/util.o lib/libzpool/build-user/vdev.o lib/libzpool/build-user/vdev_cache.o lib/libzpool/build-user/vdev_file.o lib/libzpool/build-user/vdev_label.o lib/libzpool/build-user/vdev_mirror.o lib/libzpool/build-user/vdev_missing.o lib/libzpool/build-user/vdev_queue.o lib/libzpool/build-user/vdev_raidz.o lib/libzpool/build-user/vdev_root.o lib/libzpool/build-user/zap.o lib/libzpool/build-user/zap_leaf.o lib/libzpool/build-user/zap_micro.o lib/libzpool/build-user/zfs_byteswap.o lib/libzpool/build-user/zfs_fm.o lib/libzpool/build-user/zfs_fuid.o lib/libzpool/build-user/zfs_znode.o lib/libzpool/build-user/zil.o lib/libzpool/build-user/zio.o lib/libzpool/build-user/zio_checksum.o lib/libzpool/build-user/zio_compress.o lib/libzpool/build-user/zio_inject.o lib/libzpool/build-user/kmem_asprintf.o lib/libzpool/build-user/ddt.o lib/libzpool/build-user/ddt_zap.o lib/libzpool/build-user/zle.o lib/libzpool/build-user/sa.o lib/libzpool/build-user/zfs_sa.o lib/libzpool/build-user/zfs_debug.o lib/libzpool/build-user/bpobj.o lib/libzpool/build-user/dsl_deadlist.o lib/libzpool/build-user/zrlock.o lib/libzpool/build-user/lzo.o lib/libzpool/build-user/bzip2.o lib/libzpool/build-user/lzma.o lib/libzpool/build-user/kernel.o lib/libzpool/build-user/taskq.o ranlib lib/libzpool/libzpool-user.a gcc -o cmd/zdb/zdb -pipe -Wall -ltirpc -ggdb -fPIC -rdynamic cmd/zdb/zdb.o cmd/zdb/zdb_il.o cmd/zdb/ptrace.o lib/libavl/libavl.a lib/libnvpair/libnvpair-user.a lib/libumem/libumem.a lib/libzfs/libzfs.a lib/libzpool/libzpool-user.a lib/libzfscommon/libzfscommon-user.a lib/libuutil/libuutil.a lib/libsolcompat/libsolcompat.a -lrt -lpthread -ldl -lz -lm -laio -lcrypto -lbz2 -llzo2 -llzma Install file: "cmd/zdb/zdb" as "/home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/sbin/zdb" gcc -o cmd/zfs/zfs_main.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzfs/include -Ilib/libsolcompat/include -Ilib/libavl/include cmd/zfs/zfs_main.c In file included from cmd/zfs/zfs_main.c:50: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libsolcompat/include/libgen.h:31, from cmd/zfs/zfs_main.c:29: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ cmd/zfs/zfs_main.c: In function 'upgrade_set_callback': cmd/zfs/zfs_main.c:1676:22: warning: '%llu' directive output may be truncated writing between 1 and 20 bytes into a region of size 16 [-Wformat-truncation=] 1676 | "%llu", (u_longlong_t) cb->cb_version); | ^~~~ cmd/zfs/zfs_main.c:1676:21: note: directive argument in the range [1, 18446744073709551615] 1676 | "%llu", (u_longlong_t) cb->cb_version); | ^~~~~~ cmd/zfs/zfs_main.c:1675:24: note: 'snprintf' output between 2 and 21 bytes into a destination of size 16 1675 | (void) snprintf(verstr, sizeof (verstr), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1676 | "%llu", (u_longlong_t) cb->cb_version); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o cmd/zfs/zfs_iter.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzfs/include -Ilib/libsolcompat/include -Ilib/libavl/include cmd/zfs/zfs_iter.c gcc -o cmd/zfs/ptrace.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzfs/include -Ilib/libsolcompat/include -Ilib/libavl/include cmd/zfs/ptrace.c gcc -o cmd/zfs/zfs -pipe -Wall -ltirpc -ggdb -fPIC -rdynamic cmd/zfs/zfs_main.o cmd/zfs/zfs_iter.o cmd/zfs/ptrace.o lib/libzfs/libzfs.a lib/libzfscommon/libzfscommon-user.a lib/libnvpair/libnvpair-user.a lib/libumem/libumem.a lib/libuutil/libuutil.a lib/libavl/libavl.a lib/libsolcompat/libsolcompat.a -lpthread -lm -ldl -lcrypto Install file: "cmd/zfs/zfs" as "/home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/sbin/zfs" gcc -o zfs-fuse/main.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/main.c zfs-fuse/main.c: In function 'parse_args': zfs-fuse/main.c:344:105: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 344 | syslog(LOG_WARNING,"%s: conflicting stack_size, prior setting %lu ignored", progname, stack_size); | ~~^ ~~~~~~~~~~ | | | | long unsigned int size_t {aka unsigned int} | %u gcc -o zfs-fuse/cmd_listener.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/cmd_listener.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from zfs-fuse/zfsfuse_socket.h:30, from zfs-fuse/cmd_listener.c:38: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from zfs-fuse/cmd_listener.c:27: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o zfs-fuse/ptrace.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/ptrace.c gcc -o zfs-fuse/util.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/util.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from zfs-fuse/zfsfuse_socket.h:30, from zfs-fuse/util.c:40: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from zfs-fuse/util.c:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ zfs-fuse/util.c: In function 'do_mount': zfs-fuse/util.c:344:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 344 | if (fuse_mount_options == NULL) | ^~ zfs-fuse/util.c:346:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 346 | char real_opts[1024]; | ^~~~ gcc -o zfs-fuse/zfs_acl.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/zfs_acl.c In file included from zfs-fuse/zfs_acl.c:29: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from zfs-fuse/zfs_acl.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34, from lib/libzfscommon/include/sys/zfs_znode.h:35, from zfs-fuse/zfs_acl.c:44: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ zfs-fuse/zfs_acl.c: In function 'zfs_copy_ace_2_fuid': zfs-fuse/zfs_acl.c:702:32: warning: cast increases required alignment of target type [-Wcast-align] 702 | acep = (ace_t *)((caddr_t)acep + sizeof (ace_object_t)); | ^ zfs-fuse/zfs_acl.c:705:32: warning: cast increases required alignment of target type [-Wcast-align] 705 | acep = (ace_t *)((caddr_t)acep + sizeof (ace_t)); | ^ zfs-fuse/zfs_acl.c:708:26: warning: cast increases required alignment of target type [-Wcast-align] 708 | aceptr = (zfs_ace_t *)((caddr_t)aceptr + | ^ zfs-fuse/zfs_acl.c: In function 'zfs_copy_fuid_2_ace': zfs-fuse/zfs_acl.c:745:36: warning: cast increases required alignment of target type [-Wcast-align] 745 | zobjacep = (zfs_object_ace_t *)zacep; | ^ zfs-fuse/zfs_acl.c:773:24: warning: cast increases required alignment of target type [-Wcast-align] 773 | acep = (ace_t *)((caddr_t)acep + ace_size); | ^ gcc -o zfs-fuse/zfs_dir.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/zfs_dir.c In file included from zfs-fuse/zfs_dir.c:29: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from zfs-fuse/zfs_dir.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34, from lib/libzfscommon/include/sys/zfs_znode.h:35, from lib/libzfscommon/include/sys/zfs_dir.h:31, from zfs-fuse/zfs_dir.c:45: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o zfs-fuse/zfs_ioctl.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/zfs_ioctl.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from zfs-fuse/zfs_ioctl.c:37: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from zfs-fuse/zfs_ioctl.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ zfs-fuse/zfs_ioctl.c: In function 'zfs_ioc_set_prop': zfs-fuse/zfs_ioctl.c:2297:31: warning: comparison between pointer and integer 2297 | if (zc->zc_nvlist_dst != NULL && errors != NULL) { | ^~ zfs-fuse/zfs_ioctl.c: In function 'zfs_ioc_send': zfs-fuse/zfs_ioctl.c:3626:24: warning: 'strncat' output may be truncated copying 4096 bytes from a string of length 8191 [-Wstringop-truncation] 3626 | (void) strncat(buf, zc->zc_value, MAXPATHLEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'zfs_get_parent', inlined from 'zfs_secpolicy_create' at zfs-fuse/zfs_ioctl.c:761:15: zfs-fuse/zfs_ioctl.c:591:16: warning: 'strncpy' output may be truncated copying 256 bytes from a string of length 4095 [-Wstringop-truncation] 591 | (void) strncpy(parent, datasetname, parentsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'zfs_get_parent', inlined from 'zfs_secpolicy_rename_perms' at zfs-fuse/zfs_ioctl.c:662:15, inlined from 'zfs_secpolicy_rename_perms' at zfs-fuse/zfs_ioctl.c:649:1: zfs-fuse/zfs_ioctl.c:591:16: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 591 | (void) strncpy(parent, datasetname, parentsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o zfs-fuse/zfs_log.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/zfs_log.c In file included from zfs-fuse/zfs_log.c:28: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from zfs-fuse/zfs_log.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34, from lib/libzfscommon/include/sys/zfs_znode.h:35, from zfs-fuse/zfs_log.c:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ zfs-fuse/zfs_log.c: In function 'zfs_log_xvattr': zfs-fuse/zfs_log.c:128:17: warning: cast increases required alignment of target type [-Wcast-align] 128 | attrs = (uint64_t *)bitmap; | ^ zfs-fuse/zfs_log.c: In function 'zfs_log_create': zfs-fuse/zfs_log.c:301:32: warning: cast increases required alignment of target type [-Wcast-align] 301 | zfs_log_xvattr((lr_attr_t *)((caddr_t)lr + lrsize), xvap); | ^ gcc -o zfs-fuse/zfs_replay.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/zfs_replay.c In file included from zfs-fuse/zfs_replay.c:28: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from zfs-fuse/zfs_replay.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34, from lib/libzfscommon/include/sys/zfs_znode.h:35, from zfs-fuse/zfs_replay.c:36: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ zfs-fuse/zfs_replay.c: In function 'zfs_replay_xvattr': zfs-fuse/zfs_replay.c:98:17: warning: cast increases required alignment of target type [-Wcast-align] 98 | attrs = (uint64_t *)(lrattr + lrattr->lr_attr_masksize - 1); | ^ zfs-fuse/zfs_replay.c: In function 'zfs_replay_create_acl': zfs-fuse/zfs_replay.c:282:34: warning: cast increases required alignment of target type [-Wcast-align] 282 | lrattr = (lr_attr_t *)(caddr_t)(lracl + 1); | ^ zfs-fuse/zfs_replay.c:331:34: warning: cast increases required alignment of target type [-Wcast-align] 331 | lrattr = (lr_attr_t *)(caddr_t)(lracl + 1); | ^ zfs-fuse/zfs_replay.c:363:34: warning: cast increases required alignment of target type [-Wcast-align] 363 | lrattr = (lr_attr_t *)(caddr_t)(lracl + 1); | ^ zfs-fuse/zfs_replay.c: In function 'zfs_replay_create': zfs-fuse/zfs_replay.c:465:26: warning: cast increases required alignment of target type [-Wcast-align] 465 | lrattr = (lr_attr_t *)(caddr_t)(lr + 1); | ^ zfs-fuse/zfs_replay.c:467:35: warning: cast increases required alignment of target type [-Wcast-align] 467 | zfs_replay_xvattr((lr_attr_t *)((caddr_t)lr + lrsize), &xva); | ^ zfs-fuse/zfs_replay.c:483:26: warning: cast increases required alignment of target type [-Wcast-align] 483 | lrattr = (lr_attr_t *)(caddr_t)(lr + 1); | ^ zfs-fuse/zfs_replay.c:485:35: warning: cast increases required alignment of target type [-Wcast-align] 485 | zfs_replay_xvattr((lr_attr_t *)((caddr_t)lr + lrsize), &xva); | ^ gcc -o zfs-fuse/zfs_rlock.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/zfs_rlock.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/zil.h:31, from lib/libzfscommon/include/sys/zfs_vfsops.h:32, from lib/libzfscommon/include/sys/zfs_znode.h:35, from lib/libzfscommon/include/sys/zfs_rlock.h:37, from zfs-fuse/zfs_rlock.c:95: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/list_impl.h:32, from lib/libzfscommon/include/sys/list.h:31, from lib/libzfscommon/include/sys/zfs_znode.h:32: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o zfs-fuse/zfs_vfsops.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/zfs_vfsops.c In file included from zfs-fuse/zfs_vfsops.c:30: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from zfs-fuse/zfs_vfsops.c:27: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34, from lib/libzfscommon/include/sys/zfs_znode.h:35, from zfs-fuse/zfs_vfsops.c:40: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o zfs-fuse/zfs_vnops.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/zfs_vnops.c In file included from zfs-fuse/zfs_vnops.c:32: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from zfs-fuse/zfs_vnops.c:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34, from lib/libzfscommon/include/sys/zfs_znode.h:35, from lib/libzfscommon/include/sys/zfs_dir.h:31, from zfs-fuse/zfs_vnops.c:55: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ zfs-fuse/zfs_vnops.c: In function 'zfs_readdir': zfs-fuse/zfs_vnops.c:2198:23: warning: cast increases required alignment of target type [-Wcast-align] 2198 | odp = (struct dirent64 *)outbuf; | ^ In file included from lib/libsolkerncompat/include/sys/time.h:32, from lib/libsolkerncompat/include/sys/types.h:89: zfs-fuse/zfs_vnops.c: In function 'zfs_setattr': lib/libsolkerncompat/include/sys/debug.h:56:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 56 | const TYPE __right = (TYPE)(RIGHT); \ | ^ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ zfs-fuse/zfs_vnops.c:3095:17: note: in expansion of macro 'ASSERT3U' 3095 | ASSERT3U((uintptr_t)aclp, !=, NULL); | ^~~~~~~~ gcc -o zfs-fuse/zvol.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/zvol.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from zfs-fuse/zvol.c:53: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from zfs-fuse/zvol.c:41: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from zfs-fuse/zvol.c:56: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o zfs-fuse/fuse_listener.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/fuse_listener.c gcc -o zfs-fuse/zfsfuse_socket.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/zfsfuse_socket.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from zfs-fuse/zfsfuse_socket.h:30, from zfs-fuse/zfsfuse_socket.c:44: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from zfs-fuse/zfsfuse_socket.c:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ zfs-fuse/zfsfuse_socket.c: In function 'getf': zfs-fuse/zfsfuse_socket.c:323:17: warning: cast increases required alignment of target type [-Wcast-align] 323 | fdptr = (int *) CMSG_DATA(cmsg); | ^ gcc -o zfs-fuse/zfs_operations.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/zfs_operations.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/zil.h:31, from lib/libzfscommon/include/sys/zfs_vfsops.h:32, from zfs-fuse/zfs_operations.c:34: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from /usr/include/fuse/fuse_common.h:20, from /usr/include/fuse/fuse_lowlevel.h:26, from zfs-fuse/fuse.h:31, from zfs-fuse/zfs_operations.c:27: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/arc.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/arc.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzpool/arc.c:119: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/arc.c:123: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/bplist.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/bplist.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/bplist.h:28, from lib/libzpool/bplist.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/dbuf.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dbuf.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/dbuf.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_impl.h:31, from lib/libzpool/dbuf.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/dbuf.c: In function 'dbuf_write_done': lib/libzpool/dbuf.c:2582:9: warning: 'pthread_yield' is deprecated: pthread_yield is deprecated, use sched_yield instead [-Wdeprecated-declarations] 2582 | pthread_yield(); | ^~~~~~~~~~~~~ In file included from /usr/include/features.h:524, from /usr/include/sys/types.h:25, from lib/libsolkerncompat/include/sys/types.h:32: /usr/include/pthread.h:479:12: note: declared here 479 | extern int __REDIRECT_NTH (pthread_yield, (void), sched_yield) | ^~~~~~~~~~~~~~ gcc -o lib/libzpool/build-kernel/dnode_sync.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dnode_sync.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/dnode_sync.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dbuf.h:34, from lib/libzpool/dnode_sync.c:26: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ In file included from lib/libsolkerncompat/include/sys/debug.h:30, from lib/libsolkerncompat/include/sys/time.h:32, from lib/libsolkerncompat/include/sys/types.h:89: lib/libzpool/dnode_sync.c: In function 'dnode_sync': lib/libzfscommon/include/sys/spa.h:304:38: warning: array subscript 1 is above array bounds of 'blkptr_t[1]' {aka 'struct blkptr[1]'} [-Warray-bounds=] 304 | #define BP_IS_HOLE(bp) ((bp)->blk_birth == 0) | ^~ lib/libzpool/dnode_sync.c:667:33: note: in expansion of macro 'ASSERT' 667 | ASSERT(BP_IS_HOLE(&dnp->dn_blkptr[i])); | ^~~~~~ lib/libzpool/dnode_sync.c:667:40: note: in expansion of macro 'BP_IS_HOLE' 667 | ASSERT(BP_IS_HOLE(&dnp->dn_blkptr[i])); | ^~~~~~~~~~ In file included from lib/libzpool/dnode_sync.c:27: lib/libzfscommon/include/sys/dnode.h:140:18: note: while referencing 'dn_blkptr' 140 | blkptr_t dn_blkptr[1]; | ^~~~~~~~~ gcc -o lib/libzpool/build-kernel/dmu.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dmu.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/txg_impl.h:29, from lib/libzfscommon/include/sys/dmu_impl.h:29, from lib/libzpool/dmu.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dmu.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_impl.h:31: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dmu_object.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dmu_object.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dmu_objset.h:30, from lib/libzpool/dmu_object.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dmu_object.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dmu_objset.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dmu_objset.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/dmu_objset.c:28: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/cred.h:41, from lib/libzpool/dmu_objset.c:27: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34, from lib/libzpool/dmu_objset.c:29: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dmu_send.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dmu_send.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/txg_impl.h:29, from lib/libzfscommon/include/sys/dmu_impl.h:29, from lib/libzpool/dmu_send.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dmu_send.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_impl.h:31: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dmu_traverse.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dmu_traverse.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/dmu_traverse.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34, from lib/libzpool/dmu_traverse.c:26: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dmu_tx.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dmu_tx.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/txg_impl.h:29, from lib/libzfscommon/include/sys/dmu_impl.h:29, from lib/libzpool/dmu_tx.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dmu_tx.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_impl.h:31: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/dmu_tx.c: In function 'dmu_tx_commit': lib/libzpool/dmu_tx.c:1143:17: warning: 'pthread_yield' is deprecated: pthread_yield is deprecated, use sched_yield instead [-Wdeprecated-declarations] 1143 | pthread_yield(); | ^~~~~~~~~~~~~ In file included from /usr/include/features.h:524, from /usr/include/inttypes.h:25, from lib/libsolkerncompat/include/sys/inttypes.h:30, from lib/libzfscommon/include/sys/dmu.h:38: /usr/include/pthread.h:479:12: note: declared here 479 | extern int __REDIRECT_NTH (pthread_yield, (void), sched_yield) | ^~~~~~~~~~~~~~ gcc -o lib/libzpool/build-kernel/dmu_zfetch.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dmu_zfetch.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/dmu_zfetch.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzpool/dmu_zfetch.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dnode.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dnode.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/dnode.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dbuf.h:34, from lib/libzpool/dnode.c:26: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dsl_dataset.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dsl_dataset.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dmu_objset.h:30, from lib/libzpool/dsl_dataset.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dsl_deleg.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dsl_deleg.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dmu_objset.h:30, from lib/libzpool/dsl_deleg.c:69: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dsl_deleg.c:68: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dsl_dir.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dsl_dir.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dmu_objset.h:30, from lib/libzpool/dsl_dir.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dsl_dir.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dsl_pool.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dsl_pool.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dsl_pool.h:28, from lib/libzpool/dsl_pool.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dsl_prop.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dsl_prop.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/dsl_prop.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34, from lib/libzpool/dsl_prop.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dsl_scan.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dsl_scan.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/dsl_scan.h:28, from lib/libzpool/dsl_scan.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzpool/dsl_scan.c:26: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dsl_synctask.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dsl_synctask.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/txg.h:29, from lib/libzfscommon/include/sys/dmu_tx.h:31, from lib/libzpool/dsl_synctask.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzpool/dsl_synctask.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dmu_tx.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/fletcher.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/fletcher.c In file included from lib/libzpool/fletcher.c:129: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzpool/fletcher.c:128: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/flushwc.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/flushwc.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/flushwc.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzpool/flushwc.c:19: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/gzip.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/gzip.c gcc -o lib/libzpool/build-kernel/lzjb.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/lzjb.c gcc -o lib/libzpool/build-kernel/metaslab.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/metaslab.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/metaslab.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dmu_tx.h:32, from lib/libzpool/metaslab.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/refcount.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/refcount.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/refcount.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/refcount.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/rprwlock.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/rprwlock.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/rprwlock.c:28: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/rprwlock.c:29: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/rrwlock.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/rrwlock.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/refcount.h:31, from lib/libzpool/rrwlock.c:28: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/list_impl.h:32, from lib/libzfscommon/include/sys/list.h:31, from lib/libzfscommon/include/sys/refcount.h:30: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/sha256.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/sha256.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/sha256.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ lib/libzpool/sha256.c: In function 'zio_checksum_SHA256': lib/libzpool/sha256.c:35:9: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 35 | SHA256_Init(&ctx); | ^~~~~~~~~~~ In file included from lib/libzpool/sha256.c:27: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ lib/libzpool/sha256.c:36:9: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 36 | SHA256_Update(&ctx, buf, size); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ lib/libzpool/sha256.c:37:9: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 37 | SHA256_Final((unsigned char*)&tmp, &ctx); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ gcc -o lib/libzpool/build-kernel/spa.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/spa.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/spa.c:32: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/spa.c:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/spa_config.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/spa_config.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzpool/spa_config.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/spa_config.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/spa_errlog.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/spa_errlog.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/txg.h:29, from lib/libzfscommon/include/sys/dmu_tx.h:31, from lib/libzpool/spa_errlog.c:50: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzfscommon/include/sys/dmu_tx.h:30: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dmu_tx.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/spa_history.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/spa_history.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzpool/spa_history.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/spa_history.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ In file included from lib/libsolkerncompat/include/sys/zfs_context.h:51: lib/libzpool/spa_history.c: In function 'spa_history_advance_bof': lib/libzpool/spa_history.c:138:26: warning: cast increases required alignment of target type [-Wcast-align] 138 | reclen = LE_64(*((uint64_t *)buf)); | ^ lib/libsolkerncompat/include/sys/byteorder.h:106:26: note: in definition of macro 'BMASK_64' 106 | #define BMASK_64(x) (x) | ^ lib/libzpool/spa_history.c:138:18: note: in expansion of macro 'LE_64' 138 | reclen = LE_64(*((uint64_t *)buf)); | ^~~~~ gcc -o lib/libzpool/build-kernel/spa_misc.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/spa_misc.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/spa_misc.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/spa_misc.c:26: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/space_map.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/space_map.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/space_map.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/txg.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/txg.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/txg.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_impl.h:31, from lib/libzpool/txg.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/txg.c: In function 'txg_list_add': lib/libzpool/txg.c:616:26: warning: cast increases required alignment of target type [-Wcast-align] 616 | txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); | ^ lib/libzpool/txg.c: In function 'txg_list_add_tail': lib/libzpool/txg.c:639:26: warning: cast increases required alignment of target type [-Wcast-align] 639 | txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); | ^ lib/libzpool/txg.c: In function 'txg_list_member': lib/libzpool/txg.c:711:26: warning: cast increases required alignment of target type [-Wcast-align] 711 | txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); | ^ lib/libzpool/txg.c: In function 'txg_list_next': lib/libzpool/txg.c:732:26: warning: cast increases required alignment of target type [-Wcast-align] 732 | txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); | ^ gcc -o lib/libzpool/build-kernel/uberblock.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/uberblock.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/uberblock.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/unique.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/unique.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/unique.c:28: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/util.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/util.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/util.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/util.c:33: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/vdev.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/vdev.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/vdev.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/vdev.c:29: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ In file included from lib/libsolkerncompat/include/sys/time.h:32, from lib/libsolkerncompat/include/sys/types.h:89: lib/libzpool/vdev.c: In function 'vdev_open_children': lib/libzpool/vdev.c:1094:31: warning: comparison between pointer and integer 1094 | TQ_SLEEP) != NULL); | ^~ lib/libsolkerncompat/include/sys/debug.h:38:30: note: in definition of macro 'VERIFY' 38 | #define VERIFY(EX) do { if(!(EX)) ASSERT_FAIL(#EX, __FILE__, __LINE__); } while(0) | ^~ gcc -o lib/libzpool/build-kernel/vdev_cache.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/vdev_cache.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/vdev_cache.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/vdev_file.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/vdev_file.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/vdev_file.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/vdev_label.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/vdev_label.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/vdev_label.c:133: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/vdev_label.c:135: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/vdev_mirror.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/vdev_mirror.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/vdev_mirror.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/vdev_missing.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/vdev_missing.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/vdev_missing.c:35: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/vdev_queue.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/vdev_queue.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/vdev_queue.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/vdev_raidz.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/vdev_raidz.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/vdev_raidz.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/vdev_root.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/vdev_root.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/vdev_root.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/zap.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zap.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzpool/zap.c:40: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34, from lib/libzfscommon/include/sys/zfs_znode.h:35, from lib/libzpool/zap.c:43: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ In file included from lib/libsolkerncompat/include/sys/time.h:32, from lib/libsolkerncompat/include/sys/types.h:89: lib/libzpool/zap.c: In function 'zap_open_leaf': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libsolkerncompat/include/sys/debug.h:55:36: note: in definition of macro 'VERIFY3_IMPL' 55 | const TYPE __left = (TYPE)(LEFT); \ | ^~~~ lib/libsolkerncompat/include/sys/debug.h:79:33: note: in expansion of macro 'VERIFY3P' 79 | #define ASSERT3P(x, y, z) VERIFY3P(x, y, z) | ^~~~~~~~ lib/libzpool/zap.c:486:9: note: in expansion of macro 'ASSERT3P' 486 | ASSERT3P(&ZAP_LEAF_CHUNK(l, 0), ==, | ^~~~~~~~ lib/libzpool/zap.c:486:19: note: in expansion of macro 'ZAP_LEAF_CHUNK' 486 | ASSERT3P(&ZAP_LEAF_CHUNK(l, 0), ==, | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libsolkerncompat/include/sys/debug.h:55:36: note: in definition of macro 'VERIFY3_IMPL' 55 | const TYPE __left = (TYPE)(LEFT); \ | ^~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zap.c:490:9: note: in expansion of macro 'ASSERT3U' 490 | ASSERT3U((uintptr_t)&ZAP_LEAF_CHUNK(l, ZAP_LEAF_NUMCHUNKS(l)) - | ^~~~~~~~ lib/libzpool/zap.c:490:30: note: in expansion of macro 'ZAP_LEAF_CHUNK' 490 | ASSERT3U((uintptr_t)&ZAP_LEAF_CHUNK(l, ZAP_LEAF_NUMCHUNKS(l)) - | ^~~~~~~~~~~~~~ gcc -o lib/libzpool/build-kernel/zap_leaf.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zap_leaf.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzpool/zap_leaf.c:31: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/zap_leaf.c:38: lib/libzpool/zap_leaf.c: In function 'zap_leaf_byteswap': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:122:41: note: in expansion of macro 'ZAP_LEAF_CHUNK' 122 | zap_leaf_chunk_t *lc = &ZAP_LEAF_CHUNK(&l, i); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_init': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:163:17: note: in expansion of macro 'ZAP_LEAF_CHUNK' 163 | ZAP_LEAF_CHUNK(l, i).l_free.lf_type = ZAP_CHUNK_FREE; | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:164:17: note: in expansion of macro 'ZAP_LEAF_CHUNK' 164 | ZAP_LEAF_CHUNK(l, i).l_free.lf_next = i+1; | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:166:9: note: in expansion of macro 'ZAP_LEAF_CHUNK' 166 | ZAP_LEAF_CHUNK(l, ZAP_LEAF_NUMCHUNKS(l)-1).l_free.lf_next = CHAIN_END; | ^~~~~~~~~~~~~~ In file included from lib/libsolkerncompat/include/sys/time.h:32, from lib/libsolkerncompat/include/sys/types.h:89: lib/libzpool/zap_leaf.c: In function 'zap_leaf_chunk_alloc': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libsolkerncompat/include/sys/debug.h:55:36: note: in definition of macro 'VERIFY3_IMPL' 55 | const TYPE __left = (TYPE)(LEFT); \ | ^~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zap_leaf.c:187:9: note: in expansion of macro 'ASSERT3U' 187 | ASSERT3U(ZAP_LEAF_CHUNK(l, chunk).l_free.lf_type, ==, ZAP_CHUNK_FREE); | ^~~~~~~~ lib/libzpool/zap_leaf.c:187:18: note: in expansion of macro 'ZAP_LEAF_CHUNK' 187 | ASSERT3U(ZAP_LEAF_CHUNK(l, chunk).l_free.lf_type, ==, ZAP_CHUNK_FREE); | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:189:40: note: in expansion of macro 'ZAP_LEAF_CHUNK' 189 | l->l_phys->l_hdr.lh_freelist = ZAP_LEAF_CHUNK(l, chunk).l_free.lf_next; | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_chunk_free': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:199:38: note: in expansion of macro 'ZAP_LEAF_CHUNK' 199 | struct zap_leaf_free *zlf = &ZAP_LEAF_CHUNK(l, chunk).l_free; | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_array_create': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:231:46: note: in expansion of macro 'ZAP_LEAF_CHUNK' 231 | struct zap_leaf_array *la = &ZAP_LEAF_CHUNK(l, chunk).l_array; | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_array_free': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:264:33: note: in expansion of macro 'ZAP_LEAF_CHUNK' 264 | int nextchunk = ZAP_LEAF_CHUNK(l, chunk).l_array.la_next; | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libsolkerncompat/include/sys/debug.h:55:36: note: in definition of macro 'VERIFY3_IMPL' 55 | const TYPE __left = (TYPE)(LEFT); \ | ^~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zap_leaf.c:265:17: note: in expansion of macro 'ASSERT3U' 265 | ASSERT3U(ZAP_LEAF_CHUNK(l, chunk).l_array.la_type, ==, | ^~~~~~~~ lib/libzpool/zap_leaf.c:265:26: note: in expansion of macro 'ZAP_LEAF_CHUNK' 265 | ASSERT3U(ZAP_LEAF_CHUNK(l, chunk).l_array.la_type, ==, | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_array_read': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:287:46: note: in expansion of macro 'ZAP_LEAF_CHUNK' 287 | struct zap_leaf_array *la = &ZAP_LEAF_CHUNK(l, chunk).l_array; | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:303:30: note: in expansion of macro 'ZAP_LEAF_CHUNK' 303 | &ZAP_LEAF_CHUNK(l, chunk).l_array; | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:312:46: note: in expansion of macro 'ZAP_LEAF_CHUNK' 312 | struct zap_leaf_array *la = &ZAP_LEAF_CHUNK(l, chunk).l_array; | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_array_match': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:374:46: note: in expansion of macro 'ZAP_LEAF_CHUNK' 374 | struct zap_leaf_array *la = &ZAP_LEAF_CHUNK(l, chunk).l_array; | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_lookup': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:401:22: note: in expansion of macro 'ZAP_LEAF_ENTRY' 401 | le = ZAP_LEAF_ENTRY(l, chunk); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_lookup_closest': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:460:30: note: in expansion of macro 'ZAP_LEAF_ENTRY' 460 | le = ZAP_LEAF_ENTRY(l, chunk); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_entry_read': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:491:13: note: in expansion of macro 'ZAP_LEAF_ENTRY' 491 | ZAP_LEAF_ENTRY(zeh->zeh_leaf, *zeh->zeh_chunkp); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_entry_read_name': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:512:13: note: in expansion of macro 'ZAP_LEAF_ENTRY' 512 | ZAP_LEAF_ENTRY(zeh->zeh_leaf, *zeh->zeh_chunkp); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_entry_update': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:533:37: note: in expansion of macro 'ZAP_LEAF_ENTRY' 533 | struct zap_leaf_entry *le = ZAP_LEAF_ENTRY(l, *zeh->zeh_chunkp); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_entry_remove': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:559:14: note: in expansion of macro 'ZAP_LEAF_ENTRY' 559 | le = ZAP_LEAF_ENTRY(l, entry_chunk); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_entry_create': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:597:38: note: in expansion of macro 'ZAP_LEAF_ENTRY' 597 | le = ZAP_LEAF_ENTRY(l, chunk); | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:610:46: note: in expansion of macro 'ZAP_LEAF_ENTRY' 610 | le = ZAP_LEAF_ENTRY(l, chunk); | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:633:14: note: in expansion of macro 'ZAP_LEAF_ENTRY' 633 | le = ZAP_LEAF_ENTRY(l, chunk); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_entry_normalization_conflict': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:684:22: note: in expansion of macro 'ZAP_LEAF_ENTRY' 684 | le = ZAP_LEAF_ENTRY(zeh->zeh_leaf, chunk); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_rehash_entry': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:713:37: note: in expansion of macro 'ZAP_LEAF_ENTRY' 713 | struct zap_leaf_entry *le = ZAP_LEAF_ENTRY(l, entry); | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:724:23: note: in expansion of macro 'ZAP_LEAF_ENTRY' 724 | le2 = ZAP_LEAF_ENTRY(l, *chunkp); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_transfer_array': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:743:22: note: in expansion of macro 'ZAP_LEAF_CHUNK' 743 | &ZAP_LEAF_CHUNK(nl, nchunk).l_array; | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzpool/zap_leaf.c:745:22: note: in expansion of macro 'ZAP_LEAF_CHUNK' 745 | &ZAP_LEAF_CHUNK(l, chunk).l_array; | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_transfer_entry': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:768:14: note: in expansion of macro 'ZAP_LEAF_ENTRY' 768 | le = ZAP_LEAF_ENTRY(l, entry); | ^~~~~~~~~~~~~~ lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:772:15: note: in expansion of macro 'ZAP_LEAF_ENTRY' 772 | nle = ZAP_LEAF_ENTRY(nl, chunk); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_split': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:818:45: note: in expansion of macro 'ZAP_LEAF_ENTRY' 818 | struct zap_leaf_entry *le = ZAP_LEAF_ENTRY(l, i); | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c: In function 'zap_leaf_stats': lib/libzfscommon/include/sys/zap_leaf.h:85:10: warning: cast increases required alignment of target type [-Wcast-align] 85 | ((zap_leaf_chunk_t *) \ | ^ lib/libzfscommon/include/sys/zap_leaf.h:87:34: note: in expansion of macro 'ZAP_LEAF_CHUNK' 87 | #define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry) | ^~~~~~~~~~~~~~ lib/libzpool/zap_leaf.c:856:29: note: in expansion of macro 'ZAP_LEAF_ENTRY' 856 | ZAP_LEAF_ENTRY(l, chunk); | ^~~~~~~~~~~~~~ gcc -o lib/libzpool/build-kernel/zap_micro.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zap_micro.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzpool/zap_micro.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/zap_micro.c:30: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/zfs_byteswap.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zfs_byteswap.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/zfs_byteswap.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34, from lib/libzfscommon/include/sys/zfs_znode.h:35, from lib/libzpool/zfs_byteswap.c:29: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/zfs_byteswap.c: In function 'zfs_ace_byteswap': lib/libzpool/zfs_byteswap.c:79:33: warning: cast increases required alignment of target type [-Wcast-align] 79 | zacep = (zfs_ace_t *)ptr; | ^ lib/libzpool/zfs_byteswap.c:91:32: warning: cast increases required alignment of target type [-Wcast-align] 91 | acep = (ace_t *)ptr; | ^ lib/libzpool/zfs_byteswap.c: In function 'zfs_znode_byteswap': lib/libzpool/zfs_byteswap.c:196:37: warning: cast increases required alignment of target type [-Wcast-align] 196 | zfs_oldace_byteswap((ace_t *)&zp->zp_acl.z_ace_data[0], | ^ gcc -o lib/libzpool/build-kernel/zfs_fm.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zfs_fm.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzpool/zfs_fm.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libavl/include/sys/avl.h:38, from lib/libzfscommon/include/sys/spa.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/zfs_fm.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/zfs_fuid.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zfs_fuid.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/zfs_fuid.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/zfs_fuid.c:29: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/zfs_znode.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zfs_znode.c In file included from lib/libzpool/zfs_znode.c:32: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzpool/zfs_znode.c:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34, from lib/libzfscommon/include/sys/zfs_znode.h:35, from lib/libzfscommon/include/sys/zfs_dir.h:31, from lib/libzpool/zfs_znode.c:49: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/zil.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zil.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/zil.c:27: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_objset.h:34, from lib/libzfscommon/include/sys/zil_impl.h:31, from lib/libzpool/zil.c:35: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/zil.c: In function 'zil_read_log_block': lib/libzpool/zil.c:224:45: warning: cast increases required alignment of target type [-Wcast-align] 224 | zil_chain_t *zilc = (zil_chain_t *)(lr + size) - 1; | ^ lib/libzpool/zil.c: In function 'zil_parse': lib/libzpool/zil.c:338:36: warning: cast increases required alignment of target type [-Wcast-align] 338 | lr_t *lr = (lr_t *)lrp; | ^ lib/libzpool/zil.c: In function 'zil_lwb_write_start': lib/libzpool/zil.c:857:24: warning: cast increases required alignment of target type [-Wcast-align] 857 | zilc = (zil_chain_t *)lwb->lwb_buf; | ^ lib/libzpool/zil.c:860:24: warning: cast increases required alignment of target type [-Wcast-align] 860 | zilc = (zil_chain_t *)(lwb->lwb_buf + lwb->lwb_sz); | ^ lib/libzpool/zil.c: In function 'zil_lwb_commit': lib/libzpool/zil.c:995:15: warning: cast increases required alignment of target type [-Wcast-align] 995 | lrc = (lr_t *)lr_buf; | ^ lib/libzpool/zil.c: In function 'zil_clean': lib/libzpool/zil.c:1278:69: warning: comparison between pointer and integer 1278 | (void (*)(void *))zil_itxg_clean, clean_me, TQ_NOSLEEP) == NULL) | ^~ gcc -o lib/libzpool/build-kernel/zio.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zio.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/zio.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/zio.c:29: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/zio.c: In function 'zio_wait': lib/libzpool/zio.c:1204:9: warning: 'pthread_yield' is deprecated: pthread_yield is deprecated, use sched_yield instead [-Wdeprecated-declarations] 1204 | pthread_yield(); | ^~~~~~~~~~~~~ In file included from /usr/include/features.h:524, from /usr/include/sys/types.h:25, from lib/libsolkerncompat/include/sys/types.h:32: /usr/include/pthread.h:479:12: note: declared here 479 | extern int __REDIRECT_NTH (pthread_yield, (void), sched_yield) | ^~~~~~~~~~~~~~ In file included from lib/libsolkerncompat/include/sys/time.h:32, from lib/libsolkerncompat/include/sys/types.h:89: lib/libzpool/zio.c: In function 'zio_write_gang_member_ready': lib/libsolkerncompat/include/sys/debug.h:59:45: warning: '%s' directive output truncated writing 293 bytes into a region of size 256 [-Wformat-truncation=] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1657:9: note: in expansion of macro 'ASSERT3U' 1657 | ASSERT3U(BP_GET_NDVAS(zio->io_bp), <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:46: note: format string is defined here 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~ lib/libsolkerncompat/include/sys/debug.h:59:45: note: directive argument in the range [1, 3] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1657:9: note: in expansion of macro 'ASSERT3U' 1657 | ASSERT3U(BP_GET_NDVAS(zio->io_bp), <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:45: note: directive argument in the range [0, 2] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1657:9: note: in expansion of macro 'ASSERT3U' 1657 | ASSERT3U(BP_GET_NDVAS(zio->io_bp), <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:24: note: 'snprintf' output 604 bytes into a destination of size 256 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 | #LEFT, #OP, #RIGHT, \ | ~~~~~~~~~~~~~~~~~~~~~ 61 | (u_longlong_t)__left, #OP, (u_longlong_t)__right); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1657:9: note: in expansion of macro 'ASSERT3U' 1657 | ASSERT3U(BP_GET_NDVAS(zio->io_bp), <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:45: warning: '%s' directive output truncated writing 293 bytes into a region of size 230 [-Wformat-truncation=] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1656:9: note: in expansion of macro 'ASSERT3U' 1656 | ASSERT3U(pio->io_prop.zp_copies, <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:52: note: format string is defined here 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~ lib/libsolkerncompat/include/sys/debug.h:59:45: note: directive argument in the range [1, 255] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1656:9: note: in expansion of macro 'ASSERT3U' 1656 | ASSERT3U(pio->io_prop.zp_copies, <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:45: note: directive argument in the range [0, 3] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1656:9: note: in expansion of macro 'ASSERT3U' 1656 | ASSERT3U(pio->io_prop.zp_copies, <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:24: note: 'snprintf' output between 333 and 334 bytes into a destination of size 256 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 | #LEFT, #OP, #RIGHT, \ | ~~~~~~~~~~~~~~~~~~~~~ 61 | (u_longlong_t)__left, #OP, (u_longlong_t)__right); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1656:9: note: in expansion of macro 'ASSERT3U' 1656 | ASSERT3U(pio->io_prop.zp_copies, <=, BP_GET_NDVAS(pio->io_bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:45: warning: '%s' directive output truncated writing 293 bytes into a region of size 230 [-Wformat-truncation=] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1655:9: note: in expansion of macro 'ASSERT3U' 1655 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(zio->io_bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:52: note: format string is defined here 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~ lib/libsolkerncompat/include/sys/debug.h:59:45: note: directive argument in the range [1, 255] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1655:9: note: in expansion of macro 'ASSERT3U' 1655 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(zio->io_bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:45: note: directive argument in the range [0, 3] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1655:9: note: in expansion of macro 'ASSERT3U' 1655 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(zio->io_bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:24: note: 'snprintf' output between 333 and 334 bytes into a destination of size 256 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 | #LEFT, #OP, #RIGHT, \ | ~~~~~~~~~~~~~~~~~~~~~ 61 | (u_longlong_t)__left, #OP, (u_longlong_t)__right); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:1655:9: note: in expansion of macro 'ASSERT3U' 1655 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(zio->io_bp)); | ^~~~~~~~ lib/libzpool/zio.c: In function 'zio_dva_allocate': lib/libsolkerncompat/include/sys/debug.h:59:45: warning: '%s' directive output truncated writing 269 bytes into a region of size 256 [-Wformat-truncation=] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2132:9: note: in expansion of macro 'ASSERT3U' 2132 | ASSERT3U(BP_GET_NDVAS(bp), ==, 0); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:46: note: format string is defined here 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~ lib/libsolkerncompat/include/sys/debug.h:59:45: note: directive argument in the range [1, 3] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2132:9: note: in expansion of macro 'ASSERT3U' 2132 | ASSERT3U(BP_GET_NDVAS(bp), ==, 0); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:24: note: 'snprintf' output 288 bytes into a destination of size 256 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 | #LEFT, #OP, #RIGHT, \ | ~~~~~~~~~~~~~~~~~~~~~ 61 | (u_longlong_t)__left, #OP, (u_longlong_t)__right); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2132:9: note: in expansion of macro 'ASSERT3U' 2132 | ASSERT3U(BP_GET_NDVAS(bp), ==, 0); | ^~~~~~~~ lib/libzpool/zio.c: In function 'zio_done': lib/libsolkerncompat/include/sys/debug.h:59:45: warning: '%s' directive output truncated writing 269 bytes into a region of size 230 [-Wformat-truncation=] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2695:25: note: in expansion of macro 'ASSERT3U' 2695 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:52: note: format string is defined here 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~ lib/libsolkerncompat/include/sys/debug.h:59:45: note: directive argument in the range [1, 255] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2695:25: note: in expansion of macro 'ASSERT3U' 2695 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:45: note: directive argument in the range [0, 3] 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2695:25: note: in expansion of macro 'ASSERT3U' 2695 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(bp)); | ^~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:59:24: note: 'snprintf' output between 309 and 310 bytes into a destination of size 256 59 | (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 | #LEFT, #OP, #RIGHT, \ | ~~~~~~~~~~~~~~~~~~~~~ 61 | (u_longlong_t)__left, #OP, (u_longlong_t)__right); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:69:33: note: in expansion of macro 'VERIFY3_IMPL' 69 | #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) | ^~~~~~~~~~~~ lib/libsolkerncompat/include/sys/debug.h:78:33: note: in expansion of macro 'VERIFY3U' 78 | #define ASSERT3U(x, y, z) VERIFY3U(x, y, z) | ^~~~~~~~ lib/libzpool/zio.c:2695:25: note: in expansion of macro 'ASSERT3U' 2695 | ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(bp)); | ^~~~~~~~ gcc -o lib/libzpool/build-kernel/zio_checksum.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zio_checksum.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/zio_checksum.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ lib/libzpool/zio_checksum.c: In function 'zio_checksum_compute': lib/libzpool/zio_checksum.c:172:31: warning: cast increases required alignment of target type [-Wcast-align] 172 | eck = (zio_eck_t *)((char *)data + size) - 1; | ^ lib/libzpool/zio_checksum.c: In function 'zio_checksum_error': lib/libzpool/zio_checksum.c:226:31: warning: cast increases required alignment of target type [-Wcast-align] 226 | eck = (zio_eck_t *)((char *)data + size) - 1; | ^ gcc -o lib/libzpool/build-kernel/zio_compress.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zio_compress.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/zio_compress.c:27: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ lib/libzpool/zio_compress.c: In function 'zio_compress_data': lib/libzpool/zio_compress.c:113:20: warning: cast increases required alignment of target type [-Wcast-align] 113 | word_end = (uint64_t *)((char *)src + s_len); | ^ gcc -o lib/libzpool/build-kernel/zio_inject.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zio_inject.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/arc.h:28, from lib/libzpool/zio_inject.c:42: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32, from lib/libzpool/zio_inject.c:44: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/kmem_asprintf.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/kmem_asprintf.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/kmem_asprintf.c:2: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/ddt.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/ddt.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/ddt.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/spa_impl.h:32, from lib/libzpool/ddt.c:28: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/ddt_zap.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/ddt_zap.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/ddt_zap.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dmu_tx.h:32, from lib/libzpool/ddt_zap.c:31: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/ddt_zap.c: In function 'ddt_zap_walk': lib/libzpool/ddt_zap.c:122:55: warning: cast increases required alignment of target type [-Wcast-align] 122 | error = zap_lookup_uint64(os, object, (uint64_t *)za.za_name, | ^ lib/libzpool/ddt_zap.c:128:41: warning: cast increases required alignment of target type [-Wcast-align] 128 | dde->dde_key = *(ddt_key_t *)za.za_name; | ^ gcc -o lib/libzpool/build-kernel/zle.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zle.c In file included from lib/libzpool/zle.c:34: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzpool/zle.c:33: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/sa.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/sa.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/sa.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dmu_impl.h:31, from lib/libzpool/sa.c:31: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ lib/libzpool/sa.c: In function 'sa_attr_register_sync': lib/libzpool/sa.c:1558:65: warning: comparison between pointer and integer 1558 | if (!sa->sa_need_attr_registration || sa->sa_master_obj == NULL) { | ^~ lib/libzpool/sa.c:1563:33: warning: comparison between pointer and integer 1563 | if (sa->sa_reg_attr_obj == NULL) { | ^~ gcc -o lib/libzpool/build-kernel/zfs_sa.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zfs_sa.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/zfs_sa.c:27: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzpool/zfs_sa.c:25: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34, from lib/libzfscommon/include/sys/zfs_fuid.h:33, from lib/libzfscommon/include/sys/zfs_acl.h:34, from lib/libzpool/zfs_sa.c:30: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/zfs_debug.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zfs_debug.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzpool/zfs_debug.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/bpobj.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/bpobj.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/bpobj.h:29, from lib/libzpool/bpobj.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzfscommon/include/sys/bpobj.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/bpobj.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/dsl_deadlist.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/dsl_deadlist.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dsl_dataset.h:29, from lib/libzpool/dsl_deadlist.c:25: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/dmu.h:39, from lib/libzfscommon/include/sys/dsl_dataset.h:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzpool/dsl_deadlist.c:27: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzpool/build-kernel/zrlock.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/zrlock.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/zrlock.h:28, from lib/libzpool/zrlock.c:39: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libzpool/build-kernel/lzo.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/lzo.c gcc -o lib/libzpool/build-kernel/bzip2.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/bzip2.c gcc -o lib/libzpool/build-kernel/lzma.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzpool/lzma.c ar rc lib/libzpool/libzpool-kernel.a lib/libzpool/build-kernel/arc.o lib/libzpool/build-kernel/bplist.o lib/libzpool/build-kernel/dbuf.o lib/libzpool/build-kernel/dnode_sync.o lib/libzpool/build-kernel/dmu.o lib/libzpool/build-kernel/dmu_object.o lib/libzpool/build-kernel/dmu_objset.o lib/libzpool/build-kernel/dmu_send.o lib/libzpool/build-kernel/dmu_traverse.o lib/libzpool/build-kernel/dmu_tx.o lib/libzpool/build-kernel/dmu_zfetch.o lib/libzpool/build-kernel/dnode.o lib/libzpool/build-kernel/dsl_dataset.o lib/libzpool/build-kernel/dsl_deleg.o lib/libzpool/build-kernel/dsl_dir.o lib/libzpool/build-kernel/dsl_pool.o lib/libzpool/build-kernel/dsl_prop.o lib/libzpool/build-kernel/dsl_scan.o lib/libzpool/build-kernel/dsl_synctask.o lib/libzpool/build-kernel/fletcher.o lib/libzpool/build-kernel/flushwc.o lib/libzpool/build-kernel/gzip.o lib/libzpool/build-kernel/lzjb.o lib/libzpool/build-kernel/metaslab.o lib/libzpool/build-kernel/refcount.o lib/libzpool/build-kernel/rprwlock.o lib/libzpool/build-kernel/rrwlock.o lib/libzpool/build-kernel/sha256.o lib/libzpool/build-kernel/spa.o lib/libzpool/build-kernel/spa_config.o lib/libzpool/build-kernel/spa_errlog.o lib/libzpool/build-kernel/spa_history.o lib/libzpool/build-kernel/spa_misc.o lib/libzpool/build-kernel/space_map.o lib/libzpool/build-kernel/txg.o lib/libzpool/build-kernel/uberblock.o lib/libzpool/build-kernel/unique.o lib/libzpool/build-kernel/util.o lib/libzpool/build-kernel/vdev.o lib/libzpool/build-kernel/vdev_cache.o lib/libzpool/build-kernel/vdev_file.o lib/libzpool/build-kernel/vdev_label.o lib/libzpool/build-kernel/vdev_mirror.o lib/libzpool/build-kernel/vdev_missing.o lib/libzpool/build-kernel/vdev_queue.o lib/libzpool/build-kernel/vdev_raidz.o lib/libzpool/build-kernel/vdev_root.o lib/libzpool/build-kernel/zap.o lib/libzpool/build-kernel/zap_leaf.o lib/libzpool/build-kernel/zap_micro.o lib/libzpool/build-kernel/zfs_byteswap.o lib/libzpool/build-kernel/zfs_fm.o lib/libzpool/build-kernel/zfs_fuid.o lib/libzpool/build-kernel/zfs_znode.o lib/libzpool/build-kernel/zil.o lib/libzpool/build-kernel/zio.o lib/libzpool/build-kernel/zio_checksum.o lib/libzpool/build-kernel/zio_compress.o lib/libzpool/build-kernel/zio_inject.o lib/libzpool/build-kernel/kmem_asprintf.o lib/libzpool/build-kernel/ddt.o lib/libzpool/build-kernel/ddt_zap.o lib/libzpool/build-kernel/zle.o lib/libzpool/build-kernel/sa.o lib/libzpool/build-kernel/zfs_sa.o lib/libzpool/build-kernel/zfs_debug.o lib/libzpool/build-kernel/bpobj.o lib/libzpool/build-kernel/dsl_deadlist.o lib/libzpool/build-kernel/zrlock.o lib/libzpool/build-kernel/lzo.o lib/libzpool/build-kernel/bzip2.o lib/libzpool/build-kernel/lzma.o ranlib lib/libzpool/libzpool-kernel.a gcc -o lib/libzfscommon/build-kernel/compress.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzfscommon/compress.c gcc -o lib/libzfscommon/build-kernel/list.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzfscommon/list.c In file included from lib/libzfscommon/list.c:35: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/list_impl.h:32, from lib/libzfscommon/include/sys/list.h:31, from lib/libzfscommon/list.c:32: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ lib/libzfscommon/list.c: In function 'list_insert_after': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:94:37: note: in expansion of macro 'list_d2l' 94 | list_node_t *lold = list_d2l(list, object); | ^~~~~~~~ lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:43:29: note: in expansion of macro 'list_d2l' 43 | list_node_t *lnew = list_d2l(list, object); \ | ^~~~~~~~ lib/libzfscommon/list.c:95:17: note: in expansion of macro 'list_insert_after_node' 95 | list_insert_after_node(list, lold, nobject); | ^~~~~~~~~~~~~~~~~~~~~~ lib/libzfscommon/list.c: In function 'list_insert_before': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:105:37: note: in expansion of macro 'list_d2l' 105 | list_node_t *lold = list_d2l(list, object); | ^~~~~~~~ lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:51:29: note: in expansion of macro 'list_d2l' 51 | list_node_t *lnew = list_d2l(list, object); \ | ^~~~~~~~ lib/libzfscommon/list.c:106:17: note: in expansion of macro 'list_insert_before_node' 106 | list_insert_before_node(list, lold, nobject); | ^~~~~~~~~~~~~~~~~~~~~~~ lib/libzfscommon/list.c: In function 'list_insert_head': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:43:29: note: in expansion of macro 'list_d2l' 43 | list_node_t *lnew = list_d2l(list, object); \ | ^~~~~~~~ lib/libzfscommon/list.c:114:9: note: in expansion of macro 'list_insert_after_node' 114 | list_insert_after_node(list, lold, object); | ^~~~~~~~~~~~~~~~~~~~~~ lib/libzfscommon/list.c: In function 'list_insert_tail': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:51:29: note: in expansion of macro 'list_d2l' 51 | list_node_t *lnew = list_d2l(list, object); \ | ^~~~~~~~ lib/libzfscommon/list.c:121:9: note: in expansion of macro 'list_insert_before_node' 121 | list_insert_before_node(list, lold, object); | ^~~~~~~~~~~~~~~~~~~~~~~ lib/libzfscommon/list.c: In function 'list_remove': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:127:29: note: in expansion of macro 'list_d2l' 127 | list_node_t *lold = list_d2l(list, object); | ^~~~~~~~ lib/libzfscommon/list.c: In function 'list_next': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:172:29: note: in expansion of macro 'list_d2l' 172 | list_node_t *node = list_d2l(list, object); | ^~~~~~~~ lib/libzfscommon/list.c: In function 'list_prev': lib/libzfscommon/list.c:38:27: warning: cast increases required alignment of target type [-Wcast-align] 38 | #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) | ^ lib/libzfscommon/list.c:183:29: note: in expansion of macro 'list_d2l' 183 | list_node_t *node = list_d2l(list, object); | ^~~~~~~~ gcc -o lib/libzfscommon/build-kernel/zfs_comutil.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzfscommon/zfs_comutil.c gcc -o lib/libzfscommon/build-kernel/zfs_deleg.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzfscommon/zfs_deleg.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/spa.h:29, from lib/libzfscommon/include/sys/dsl_pool.h:28, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/zfs_deleg.c:38: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/systm.h:31, from lib/libzfscommon/zfs_deleg.c:27: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzfscommon/build-kernel/zfs_namecheck.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzfscommon/zfs_namecheck.c gcc -o lib/libzfscommon/build-kernel/zfs_prop.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzfscommon/zfs_prop.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/zfs_prop.c:27: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34, from lib/libzfscommon/include/sys/zfs_fuid.h:33, from lib/libzfscommon/include/sys/zfs_acl.h:34, from lib/libzfscommon/zfs_prop.c:30: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzfscommon/build-kernel/zpool_prop.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzfscommon/zpool_prop.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/zpool_prop.c:26: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34, from lib/libzfscommon/include/sys/zfs_fuid.h:33, from lib/libzfscommon/include/sys/zfs_acl.h:34, from lib/libzfscommon/zpool_prop.c:28: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o lib/libzfscommon/build-kernel/zprop_common.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzfscommon/zprop_common.c In file included from lib/libsolkerncompat/include/sys/zfs_context.h:37, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/zprop_common.c:30: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/zfs_context.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/rrwlock.h:37, from lib/libzfscommon/include/sys/zfs_vfsops.h:34, from lib/libzfscommon/include/sys/zfs_fuid.h:33, from lib/libzfscommon/include/sys/zfs_acl.h:34, from lib/libzfscommon/zprop_common.c:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ ar rc lib/libzfscommon/libzfscommon-kernel.a lib/libzfscommon/build-kernel/compress.o lib/libzfscommon/build-kernel/list.o lib/libzfscommon/build-kernel/zfs_comutil.o lib/libzfscommon/build-kernel/zfs_deleg.o lib/libzfscommon/build-kernel/zfs_namecheck.o lib/libzfscommon/build-kernel/zfs_prop.o lib/libzfscommon/build-kernel/zpool_prop.o lib/libzfscommon/build-kernel/zprop_common.o ranlib lib/libzfscommon/libzfscommon-kernel.a gcc -o lib/libnvpair/build-kernel/libnvpair.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libnvpair/include1 -Ilib/libsolcompat/include lib/libnvpair/libnvpair.c lib/libnvpair/libnvpair.c: In function 'nvprint_double': lib/libnvpair/libnvpair.c:213:40: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=] 213 | NVLIST_PRTFUNC(double, double, double, "0x%llf") | ^~~~~~~~ lib/libnvpair/libnvpair.c:198:28: note: in definition of macro 'NVLIST_PRTFUNC' 198 | (void) fprintf(fp, vfmt, (ptype)value); \ | ^~~~ lib/libnvpair/libnvpair.c:213:46: note: format string is defined here 213 | NVLIST_PRTFUNC(double, double, double, "0x%llf") | ^ gcc -o lib/libnvpair/build-kernel/nvpair.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libnvpair/include1 -Ilib/libsolcompat/include lib/libnvpair/nvpair.c In file included from lib/libnvpair/nvpair.c:34: lib/libnvpair/../libsolcompat/include/rpc/xdr.h:46:9: warning: 'xdr_control' redefined 46 | #define xdr_control(a,b,c) xdrmem_control(a,b,c) | ^~~~~~~~~~~ In file included from lib/libnvpair/../libsolcompat/include/rpc/xdr.h:38: /usr/include/tirpc/rpc/xdr.h:223:9: note: this is the location of the previous definition 223 | #define xdr_control(xdrs, req, op) XDR_CONTROL(xdrs, req, op) | ^~~~~~~~~~~ gcc -o lib/libnvpair/build-kernel/nvpair_alloc_fixed.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libnvpair/include1 -Ilib/libsolcompat/include lib/libnvpair/nvpair_alloc_fixed.c In file included from lib/libnvpair/nvpair_alloc_fixed.c:32: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libnvpair/include/sys/nvpair.h:29, from lib/libnvpair/nvpair_alloc_fixed.c:31: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libnvpair/build-kernel/nvpair_alloc_system.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libnvpair/include1 -Ilib/libsolcompat/include lib/libnvpair/nvpair_alloc_system.c ar rc lib/libnvpair/libnvpair-kernel.a lib/libnvpair/build-kernel/libnvpair.o lib/libnvpair/build-kernel/nvpair.o lib/libnvpair/build-kernel/nvpair_alloc_fixed.o lib/libnvpair/build-kernel/nvpair_alloc_system.o ranlib lib/libnvpair/libnvpair-kernel.a gcc -o lib/libsolkerncompat/main.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/main.c gcc -o lib/libsolkerncompat/acl_common.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/acl_common.c In file included from lib/libsolkerncompat/acl_common.c:33: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/acl_common.c:28: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libsolkerncompat/clock.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/clock.c gcc -o lib/libsolkerncompat/cmn_err.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/cmn_err.c gcc -o lib/libsolkerncompat/condvar.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/condvar.c gcc -o lib/libsolkerncompat/flock.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/flock.c gcc -o lib/libsolkerncompat/fs_subr.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/fs_subr.c gcc -o lib/libsolkerncompat/kcf_random.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/kcf_random.c lib/libsolkerncompat/kcf_random.c: In function 'random_get_bytes': lib/libsolkerncompat/kcf_random.c:58:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 58 | if (-1==random_fd) | ^~ lib/libsolkerncompat/kcf_random.c:61:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 61 | return (random_get_bytes_common(ptr, len, random_fd)); | ^~~~~~ lib/libsolkerncompat/kcf_random.c: In function 'random_get_pseudo_bytes': lib/libsolkerncompat/kcf_random.c:68:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 68 | if (-1==urandom_fd) | ^~ lib/libsolkerncompat/kcf_random.c:71:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 71 | return (random_get_bytes_common(ptr, len, urandom_fd)); | ^~~~~~ gcc -o lib/libsolkerncompat/kmem.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/kmem.c gcc -o lib/libsolkerncompat/kobj.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/kobj.c gcc -o lib/libsolkerncompat/kobj_subr.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/kobj_subr.c gcc -o lib/libsolkerncompat/kstat.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/kstat.c gcc -o lib/libsolkerncompat/move.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/move.c gcc -o lib/libsolkerncompat/mutex.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/mutex.c gcc -o lib/libsolkerncompat/pathname.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/pathname.c gcc -o lib/libsolkerncompat/policy.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/policy.c gcc -o lib/libsolkerncompat/refstr.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/refstr.c gcc -o lib/libsolkerncompat/rwlock.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/rwlock.c gcc -o lib/libsolkerncompat/sid.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/sid.c In file included from lib/libsolkerncompat/sid.c:38: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/include/sys/atomic.h:32, from lib/libsolkerncompat/sid.c:31: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libsolkerncompat/strlcpy.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/strlcpy.c gcc -o lib/libsolkerncompat/taskq.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/taskq.c In file included from lib/libsolkerncompat/taskq.c:458: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/taskq.h:29, from lib/libzfscommon/include/sys/taskq_impl.h:29, from lib/libsolkerncompat/taskq.c:448: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ lib/libsolkerncompat/taskq.c: In function 'taskq_create_common': lib/libsolkerncompat/taskq.c:1636:16: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 1636 | (void) strncpy(tq->tq_name, name, TASKQ_NAMELEN + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o lib/libsolkerncompat/thread.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/thread.c gcc -o lib/libsolkerncompat/u8_textprep.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/u8_textprep.c In file included from lib/libsolkerncompat/u8_textprep.c:39: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libsolkerncompat/u8_textprep.c:37: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libsolkerncompat/vfs.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/vfs.c lib/libsolkerncompat/vfs.c: In function 'fs_build_vector': lib/libsolkerncompat/vfs.c:237:28: warning: cast increases required alignment of target type [-Wcast-align] 237 | location = (fs_generic_func_p *) | ^ gcc -o lib/libsolkerncompat/vnode.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/vnode.c In file included from lib/libsolkerncompat/vnode.c:55: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/include/sys/types.h:34, from lib/libzfscommon/include/sys/vnode.h:31, from lib/libsolkerncompat/vnode.c:39: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libsolkerncompat/zmod.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/zmod.c gcc -o lib/libsolkerncompat/callb.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/callb.c In file included from lib/libsolkerncompat/callb.c:30: lib/libsolkerncompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolkerncompat/include/sys/param_aux.h:30, from lib/libsolkerncompat/include/sys/param.h:30, from lib/libsolkerncompat/callb.c:26: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolkerncompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ gcc -o lib/libsolkerncompat/generic/atomic.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -D_KERNEL -DLINUX_AIO -I/usr/include/tirpc -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/generic -Ilib/libumem/include -Ilib/libavl/include -Ilib/libzfscommon/include lib/libsolkerncompat/generic/atomic.c ar rc lib/libsolkerncompat/libsolkerncompat.a lib/libsolkerncompat/main.o lib/libsolkerncompat/acl_common.o lib/libsolkerncompat/clock.o lib/libsolkerncompat/cmn_err.o lib/libsolkerncompat/condvar.o lib/libsolkerncompat/flock.o lib/libsolkerncompat/fs_subr.o lib/libsolkerncompat/kcf_random.o lib/libsolkerncompat/kmem.o lib/libsolkerncompat/kobj.o lib/libsolkerncompat/kobj_subr.o lib/libsolkerncompat/kstat.o lib/libsolkerncompat/move.o lib/libsolkerncompat/mutex.o lib/libsolkerncompat/pathname.o lib/libsolkerncompat/policy.o lib/libsolkerncompat/refstr.o lib/libsolkerncompat/rwlock.o lib/libsolkerncompat/sid.o lib/libsolkerncompat/strlcpy.o lib/libsolkerncompat/taskq.o lib/libsolkerncompat/thread.o lib/libsolkerncompat/u8_textprep.o lib/libsolkerncompat/vfs.o lib/libsolkerncompat/vnode.o lib/libsolkerncompat/zmod.o lib/libsolkerncompat/callb.o lib/libsolkerncompat/generic/atomic.o ranlib lib/libsolkerncompat/libsolkerncompat.a gcc -o zfs-fuse/zfs-fuse -pipe -Wall -ltirpc -ggdb -fPIC -rdynamic zfs-fuse/main.o zfs-fuse/cmd_listener.o zfs-fuse/ptrace.o zfs-fuse/util.o zfs-fuse/zfs_acl.o zfs-fuse/zfs_dir.o zfs-fuse/zfs_ioctl.o zfs-fuse/zfs_log.o zfs-fuse/zfs_replay.o zfs-fuse/zfs_rlock.o zfs-fuse/zfs_vfsops.o zfs-fuse/zfs_vnops.o zfs-fuse/zvol.o zfs-fuse/fuse_listener.o zfs-fuse/zfsfuse_socket.o zfs-fuse/zfs_operations.o lib/libzpool/libzpool-kernel.a lib/libzfscommon/libzfscommon-kernel.a lib/libnvpair/libnvpair-kernel.a lib/libavl/libavl.a lib/libumem/libumem.a lib/libsolkerncompat/libsolkerncompat.a -lrt -lpthread -lfuse -ldl -lz -laio -lcrypto -lbz2 -llzo2 -llzma Install file: "zfs-fuse/zfs-fuse" as "/home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/sbin/zfs-fuse" gcc -o cmd/zpool/zpool_iter.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzfs/include -Ilib/libsolcompat/include -Ilib/libavl/include -Icmd/stat/common cmd/zpool/zpool_iter.c gcc -o cmd/zpool/zpool_main.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzfs/include -Ilib/libsolcompat/include -Ilib/libavl/include -Icmd/stat/common cmd/zpool/zpool_main.c gcc -o cmd/zpool/zpool_util.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzfs/include -Ilib/libsolcompat/include -Ilib/libavl/include -Icmd/stat/common cmd/zpool/zpool_util.c gcc -o cmd/zpool/zpool_vdev.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzfs/include -Ilib/libsolcompat/include -Ilib/libavl/include -Icmd/stat/common cmd/zpool/zpool_vdev.c cmd/zpool/zpool_vdev.c: In function 'make_leaf_vdev': cmd/zpool/zpool_vdev.c:536:9: warning: 'THRESH_4K' redefined 536 | #define THRESH_4K (128 * 1024LL*1024) /* 128 MB for testing */ | ^~~~~~~~~ cmd/zpool/zpool_vdev.c:535:9: note: this is the location of the previous definition 535 | #define THRESH_4K (512 * 1024LL*1024*1024) /* 512 GB */ | ^~~~~~~~~ gcc -o cmd/zpool/ptrace.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzfs/include -Ilib/libsolcompat/include -Ilib/libavl/include -Icmd/stat/common cmd/zpool/ptrace.c gcc -o cmd/stat/common/timestamp.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzfs/include -Ilib/libsolcompat/include -Ilib/libavl/include -Icmd/stat/common cmd/stat/common/timestamp.c gcc -o cmd/zpool/zpool -pipe -Wall -ltirpc -ggdb -fPIC -rdynamic cmd/zpool/zpool_iter.o cmd/zpool/zpool_main.o cmd/zpool/zpool_util.o cmd/zpool/zpool_vdev.o cmd/zpool/ptrace.o lib/libnvpair/libnvpair-user.a lib/libzfs/libzfs.a lib/libumem/libumem.a lib/libzfscommon/libzfscommon-user.a lib/libuutil/libuutil.a lib/libavl/libavl.a lib/libsolcompat/libsolcompat.a cmd/stat/common/timestamp.o -lpthread -lm -ldl -lcrypto Install file: "cmd/zpool/zpool" as "/home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/sbin/zpool" gcc -o cmd/zstreamdump/zstreamdump.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzfs/include -Ilib/libsolcompat/include -Ilib/libzpool/include -Ilib/libavl/include cmd/zstreamdump/zstreamdump.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from lib/libzfscommon/include/sys/zio.h:29, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from cmd/zstreamdump/zstreamdump.c:34: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from lib/libnvpair/include/sys/nvpair.h:29, from lib/libnvpair/include/libnvpair.h:28, from cmd/zstreamdump/zstreamdump.c:27: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ gcc -o cmd/zstreamdump/zstreamdump -pipe -Wall -ltirpc -ggdb -fPIC -rdynamic cmd/zstreamdump/zstreamdump.o lib/libzfs/libzfs.a lib/libnvpair/libnvpair-user.a -lpthread -lm -ldl Install file: "cmd/zstreamdump/zstreamdump" as "/home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/sbin/zstreamdump" gcc -o cmd/ztest/ztest.o -c -fcommon -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libsolcompat/include cmd/ztest/ztest.c In file included from lib/libzpool/include/sys/zfs_context.h:65, from cmd/ztest/ztest.c:74: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: 'howmany' redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:514, from lib/libzpool/include/sys/zfs_context.h:44: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: 'roundup' redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ In file included from lib/libzfscommon/include/sys/dbuf.h:34, from cmd/ztest/ztest.c:78: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ cmd/ztest/ztest.c: In function 'ztest_dmu_read_write': cmd/ztest/ztest.c:3308:24: warning: cast increases required alignment of target type [-Wcast-align] 3308 | pack = (bufwad_t *)((char *)packbuf + i * sizeof (bufwad_t)); | ^ cmd/ztest/ztest.c:3310:24: warning: cast increases required alignment of target type [-Wcast-align] 3310 | bigH = (bufwad_t *)((char *)bigbuf + i * chunksize); | ^ cmd/ztest/ztest.c:3312:24: warning: cast increases required alignment of target type [-Wcast-align] 3312 | bigT = (bufwad_t *)((char *)bigH + chunksize) - 1; | ^ cmd/ztest/ztest.c: In function 'compare_and_update_pbbufs': cmd/ztest/ztest.c:3410:24: warning: cast increases required alignment of target type [-Wcast-align] 3410 | pack = (bufwad_t *)((char *)packbuf + i * sizeof (bufwad_t)); | ^ cmd/ztest/ztest.c:3412:24: warning: cast increases required alignment of target type [-Wcast-align] 3412 | bigH = (bufwad_t *)((char *)bigbuf + i * chunksize); | ^ cmd/ztest/ztest.c:3414:24: warning: cast increases required alignment of target type [-Wcast-align] 3414 | bigT = (bufwad_t *)((char *)bigH + chunksize) - 1; | ^ cmd/ztest/ztest.c: In function 'ztest_dmu_snapshot_hold': cmd/ztest/ztest.c:4294:41: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 100 [-Wformat-truncation=] 4294 | (void) snprintf(fullname, 100, "%s@%s", osname, snapname); | ^~ ~~~~~~ cmd/ztest/ztest.c:4294:16: note: 'snprintf' output between 2 and 356 bytes into a destination of size 100 4294 | (void) snprintf(fullname, 100, "%s@%s", osname, snapname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd/ztest/ztest.c:4295:42: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 100 [-Wformat-truncation=] 4295 | (void) snprintf(clonename, 100, "%s/ch1_%" FU64, osname, id); | ^~ ~~~~~~ cmd/ztest/ztest.c:4295:16: note: 'snprintf' output between 7 and 281 bytes into a destination of size 100 4295 | (void) snprintf(clonename, 100, "%s/ch1_%" FU64, osname, id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd/ztest/ztest.c: In function 'ztest_dmu_snapshot_create_destroy': cmd/ztest/ztest.c:2892:51: warning: '%llu' directive output may be truncated writing between 1 and 20 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 2892 | (void) snprintf(snapname, MAXNAMELEN, "%s@%llu", osname, | ^~~~ In function 'ztest_snapshot_destroy', inlined from 'ztest_dmu_snapshot_create_destroy' at cmd/ztest/ztest.c:3012:9: cmd/ztest/ztest.c:2892:16: note: 'snprintf' output between 3 and 277 bytes into a destination of size 256 2892 | (void) snprintf(snapname, MAXNAMELEN, "%s@%llu", osname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2893 | (u_longlong_t)id); | ~~~~~~~~~~~~~~~~~ cmd/ztest/ztest.c: In function 'ztest_dsl_dataset_cleanup': cmd/ztest/ztest.c:3032:51: warning: '@s2_' directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 3032 | (void) snprintf(snap2name, MAXNAMELEN, "%s@s2_%" FU64, clone1name, id); | ^~~~ cmd/ztest/ztest.c:3032:16: note: 'snprintf' output between 6 and 280 bytes into a destination of size 256 3032 | (void) snprintf(snap2name, MAXNAMELEN, "%s@s2_%" FU64, clone1name, id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd/ztest/ztest.c:3034:51: warning: '@s3_' directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 3034 | (void) snprintf(snap3name, MAXNAMELEN, "%s@s3_%" FU64, clone1name, id); | ^~~~ cmd/ztest/ztest.c:3034:16: note: 'snprintf' output between 6 and 280 bytes into a destination of size 256 3034 | (void) snprintf(snap3name, MAXNAMELEN, "%s@s3_%" FU64, clone1name, id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd/ztest/ztest.c: In function 'ztest_dsl_dataset_promote_busy': cmd/ztest/ztest.c:3074:51: warning: '@s1_' directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 3074 | (void) snprintf(snap1name, MAXNAMELEN, "%s@s1_%" FU64, osname, id); | ^~~~ cmd/ztest/ztest.c:3074:16: note: 'snprintf' output between 6 and 280 bytes into a destination of size 256 3074 | (void) snprintf(snap1name, MAXNAMELEN, "%s@s1_%" FU64, osname, id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd/ztest/ztest.c:3075:52: warning: '/c1_' directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 3075 | (void) snprintf(clone1name, MAXNAMELEN, "%s/c1_%" FU64, osname, id); | ^~~~ cmd/ztest/ztest.c:3075:16: note: 'snprintf' output between 6 and 280 bytes into a destination of size 256 3075 | (void) snprintf(clone1name, MAXNAMELEN, "%s/c1_%" FU64, osname, id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd/ztest/ztest.c:3076:51: warning: '@s2_' directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 3076 | (void) snprintf(snap2name, MAXNAMELEN, "%s@s2_%" FU64, clone1name, id); | ^~~~ cmd/ztest/ztest.c:3076:16: note: 'snprintf' output between 6 and 280 bytes into a destination of size 256 3076 | (void) snprintf(snap2name, MAXNAMELEN, "%s@s2_%" FU64, clone1name, id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd/ztest/ztest.c:3077:52: warning: '/c2_' directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 3077 | (void) snprintf(clone2name, MAXNAMELEN, "%s/c2_%" FU64, osname, id); | ^~~~ cmd/ztest/ztest.c:3077:16: note: 'snprintf' output between 6 and 280 bytes into a destination of size 256 3077 | (void) snprintf(clone2name, MAXNAMELEN, "%s/c2_%" FU64, osname, id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd/ztest/ztest.c:3078:51: warning: '@s3_' directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 3078 | (void) snprintf(snap3name, MAXNAMELEN, "%s@s3_%" FU64, clone1name, id); | ^~~~ cmd/ztest/ztest.c:3078:16: note: 'snprintf' output between 6 and 280 bytes into a destination of size 256 3078 | (void) snprintf(snap3name, MAXNAMELEN, "%s@s3_%" FU64, clone1name, id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o cmd/ztest/ztest -pipe -Wall -ltirpc -ggdb -fPIC -rdynamic cmd/ztest/ztest.o lib/libzpool/libzpool-user.a lib/libzfscommon/libzfscommon-user.a lib/libnvpair/libnvpair-user.a lib/libavl/libavl.a lib/libumem/libumem.a lib/libsolcompat/libsolcompat.a -lm -ldl -lrt -lpthread -lz -laio -lcrypto -lbz2 -llzo2 -llzma Install file: "cmd/ztest/ztest" as "/home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/sbin/ztest" Install file: "/home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/doc/zdb.8" as "/home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/share/man/man8/zdb.8" Install file: "/home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/doc/zfs-fuse.8" as "/home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/share/man/man8/zfs-fuse.8" Install file: "/home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/doc/zfs.8" as "/home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/share/man/man8/zfs.8" Install file: "/home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/doc/zpool.8" as "/home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/share/man/man8/zpool.8" Install file: "/home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/doc/zstreamdump.8" as "/home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/share/man/man8/zstreamdump.8" Install file: "/home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/contrib/zfs_pool_alert" as "/home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/etc/zfs-fuse/zfs_pool_alert" scons: done building targets. + install -Dp -m 0644 /home/iurt/rpmbuild/SOURCES/zfs-fuse.service /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/lib/systemd/system/zfs-fuse.service + install -Dp -m 0755 /home/iurt/rpmbuild/SOURCES/zfs-fuse.scrub /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/etc/cron.weekly/98-zfs-fuse-scrub + install -Dp -m 0644 /home/iurt/rpmbuild/SOURCES/zfs-fuse.sysconfig /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/etc/sysconfig/zfs-fuse + install -Dp -m 0755 /home/iurt/rpmbuild/SOURCES/zfs-fuse-helper /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/sbin/zfs-fuse-helper + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.7.2.2-9.mga10 --unique-debug-suffix -0.7.2.2-9.mga10.arm --unique-debug-src-base zfs-fuse-0.7.2.2-9.mga10.arm --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2 find-debuginfo: starting Extracting debug info from 7 files DWARF-compressing 7 files sepdebugcrcfix: Updated 7 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/zfs-fuse-0.7.2.2-9.mga10.arm find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files Warning: unused libraries in /usr/sbin/zstreamdump: libm.so.6 + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/sbin/zfs-fuse-helper from /bin/bash to #!/usr/bin/bash mangling shebang in /etc/cron.weekly/98-zfs-fuse-scrub from /bin/bash to #!/usr/bin/bash + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/SPECPARTS/rpm-debuginfo.specpart Processing files: zfs-fuse-0.7.2.2-9.mga10.armv7hl Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.BPXPkT + umask 022 + cd /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build + cd zfs-fuse-0.7.2.2 + DOCDIR=/home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/share/doc/zfs-fuse + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/share/doc/zfs-fuse + cp -pr /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/BUGS /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/share/doc/zfs-fuse + cp -pr /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/CHANGES /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/share/doc/zfs-fuse + cp -pr /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/contrib /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/share/doc/zfs-fuse + cp -pr /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/HACKING /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/share/doc/zfs-fuse + cp -pr /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/README /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/share/doc/zfs-fuse + cp -pr /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/README.NFS /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/share/doc/zfs-fuse + cp -pr /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/STATUS /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/share/doc/zfs-fuse + cp -pr /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/TESTING /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/share/doc/zfs-fuse + cp -pr /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/TODO /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/share/doc/zfs-fuse + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.yi9Rn0 + umask 022 + cd /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build + cd zfs-fuse-0.7.2.2 + LICENSEDIR=/home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/share/licenses/zfs-fuse + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/share/licenses/zfs-fuse + cp -pr /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/LICENSE /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT/usr/share/licenses/zfs-fuse + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(zfs-fuse) = 0.7.2.2-9.mga10 zfs-fuse = 0.7.2.2-9.mga10 zfs-fuse(armv7hl-32) = 0.7.2.2-9.mga10 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libaio.so.1 libaio.so.1(LIBAIO_0.1) libaio.so.1(LIBAIO_0.4) libbz2.so.1 libc.so.6 libc.so.6(GLIBC_2.17) libc.so.6(GLIBC_2.28) libc.so.6(GLIBC_2.32) libc.so.6(GLIBC_2.33) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.38) libc.so.6(GLIBC_2.4) libcrypto.so.3 libcrypto.so.3(OPENSSL_3.0.0) libfuse.so.2 libfuse.so.2(FUSE_2.4) libfuse.so.2(FUSE_2.5) libfuse.so.2(FUSE_2.6) libfuse.so.2(FUSE_2.7) libfuse.so.2(FUSE_2.8) liblzma.so.5 liblzma.so.5(XZ_5.0) liblzo2.so.2 libm.so.6 libm.so.6(GLIBC_2.29) libtirpc.so.3 libtirpc.so.3(TIRPC_0.3.0) libz.so.1 perl(strict) perl-base >= 2:5.42.0 Processing files: zfs-fuse-debugsource-0.7.2.2-9.mga10.armv7hl Provides: zfs-fuse-debugsource = 0.7.2.2-9.mga10 zfs-fuse-debugsource(armv7hl-32) = 0.7.2.2-9.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: zfs-fuse-debuginfo-0.7.2.2-9.mga10.armv7hl Provides: debuginfo(build-id) = 4a96bc4e1ffcf541a52725b5334922ffd451905e debuginfo(build-id) = 730a8a47880bf8f68f47a255a4638918ba4fc31e debuginfo(build-id) = 947a20b5593311ed4d3230592e1c0dec0ba790cd debuginfo(build-id) = adf30e3c097eeffcb184457b81110bd6544ed0ad debuginfo(build-id) = b2f89115c8b8f92a80be0b42a110690c1bb9dc0b debuginfo(build-id) = bfd10436e4796fb2c5e4dcd8ac3cf741be1e1948 debuginfo(build-id) = dc5c912e9193a5ecf0dfca3171f43cd32d4ba928 zfs-fuse-debuginfo = 0.7.2.2-9.mga10 zfs-fuse-debuginfo(armv7hl-32) = 0.7.2.2-9.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: zfs-fuse-debugsource(armv7hl-32) = 0.7.2.2-9.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/BUILDROOT Wrote: /home/iurt/rpmbuild/RPMS/armv7hl/zfs-fuse-0.7.2.2-9.mga10.armv7hl.rpm Wrote: /home/iurt/rpmbuild/RPMS/armv7hl/zfs-fuse-debugsource-0.7.2.2-9.mga10.armv7hl.rpm Wrote: /home/iurt/rpmbuild/RPMS/armv7hl/zfs-fuse-debuginfo-0.7.2.2-9.mga10.armv7hl.rpm Executing(rmbuild): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.MrUqUv + umask 022 + cd /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build + test -d /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build + rm -rf /home/iurt/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!