D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/zfs-fuse-0.7.0-4.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nuysv9 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf zfs-fuse-0.7.0 + /usr/bin/bzip2 -dc /home/pterjan/rpmbuild/SOURCES/zfs-fuse-0.7.0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd zfs-fuse-0.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (zfs-fuse-0.7.0-umem.patch):' Patch #0 (zfs-fuse-0.7.0-umem.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file src/lib/libumem/malloc.c + echo 'Patch #1 (zfs-fuse-0.7.0-stack.patch):' Patch #1 (zfs-fuse-0.7.0-stack.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/lib/libumem/Makefile.in patching file src/SConstruct + echo 'Patch #2 (zfs-fuse-printf-format.patch):' Patch #2 (zfs-fuse-printf-format.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file src/cmd/zdb/zdb.c + echo 'Patch #3 (zfs-fuse-0.7.0-ppc64le.patch):' Patch #3 (zfs-fuse-0.7.0-ppc64le.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ppc64le --fuzz=0 patching file src/lib/libsolcompat/include/sys/isa_defs.h + echo 'Patch #4 (zfs-fuse-0.7.0-scons3.patch):' Patch #4 (zfs-fuse-0.7.0-scons3.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .scons3 --fuzz=0 patching file src/SConstruct + 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 + cp -f /usr/lib/rpm/config.guess /usr/lib/rpm/config.sub src/lib/libumem/ + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KVnmKT + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd zfs-fuse-0.7.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CCFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + CCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + pushd src ~/rpmbuild/BUILD/zfs-fuse-0.7.0/src ~/rpmbuild/BUILD/zfs-fuse-0.7.0 + /usr/bin/scons -j8 debug=1 'optim=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' scons: Reading SConscript files ... scons: warning: BuildDir() and the build_dir keyword have been deprecated; use VariantDir() and the variant_dir keyword instead. File "/home/pterjan/rpmbuild/BUILD/zfs-fuse-0.7.0/src/lib/libnvpair/SConscript", line 3, in scons: warning: BuildDir() and the build_dir keyword have been deprecated; use VariantDir() and the variant_dir keyword instead. File "/home/pterjan/rpmbuild/BUILD/zfs-fuse-0.7.0/src/lib/libnvpair/SConscript", line 4, in scons: warning: BuildDir() and the build_dir keyword have been deprecated; use VariantDir() and the variant_dir keyword instead. File "/home/pterjan/rpmbuild/BUILD/zfs-fuse-0.7.0/src/lib/libzfscommon/SConscript", line 3, in scons: warning: BuildDir() and the build_dir keyword have been deprecated; use VariantDir() and the variant_dir keyword instead. File "/home/pterjan/rpmbuild/BUILD/zfs-fuse-0.7.0/src/lib/libzfscommon/SConscript", line 4, in scons: warning: BuildDir() and the build_dir keyword have been deprecated; use VariantDir() and the variant_dir keyword instead. File "/home/pterjan/rpmbuild/BUILD/zfs-fuse-0.7.0/src/lib/libzpool/SConscript", line 3, in scons: warning: BuildDir() and the build_dir keyword have been deprecated; use VariantDir() and the variant_dir keyword instead. File "/home/pterjan/rpmbuild/BUILD/zfs-fuse-0.7.0/src/lib/libzpool/SConscript", line 4, in scons: done reading SConscript files. scons: Building targets ... gcc -o cmd/stat/common/timestamp.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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 -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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 -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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 gcc -o lib/libavl/avl.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libsolcompat/include lib/libavl/avl.c gcc -o lib/libnvpair/build-user/libnvpair.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libnvpair/include -Ilib/libsolcompat/include lib/libnvpair/libnvpair.c gcc -o lib/libnvpair/build-user/nvpair.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libnvpair/include -Ilib/libsolcompat/include lib/libnvpair/nvpair.c gcc -o cmd/zdb/zdb_il.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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 gcc -o lib/libnvpair/build-user/nvpair_alloc_fixed.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libnvpair/include -Ilib/libsolcompat/include lib/libnvpair/nvpair_alloc_fixed.c gcc -o lib/libnvpair/build-user/nvpair_alloc_system.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libnvpair/include -Ilib/libsolcompat/include lib/libnvpair/nvpair_alloc_system.c In file included from lib/libzpool/include/sys/zfs_context.h:66, from cmd/zdb/zdb.c:30: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from cmd/zdb/zdb.c:28: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from cmd/zdb/zdb.c:30: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from cmd/zdb/zdb.c:28: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzpool/include/sys/zfs_context.h:66, from cmd/zdb/zdb_il.c:33: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #define howmany(x, y) (((x)+((y)-1))/(y)) In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, from lib/libzfscommon/include/sys/spa_impl.h:33, from cmd/zdb/zdb.c:32: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34, from /usr/include/stdlib.h:394, from cmd/zdb/zdb_il.c:31: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from cmd/zdb/zdb_il.c:33: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from cmd/zdb/zdb_il.c:31: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libnvpair/nvpair_alloc_fixed.c:32: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libnvpair/nvpair_alloc_fixed.c:32: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ cd lib/libumem && ./configure In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dmu_objset.h:33, from lib/libzfscommon/include/sys/zil_impl.h:30, from cmd/zdb/zdb_il.c:39: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ cmd/zdb/zdb.c: In function 'zdb_dump_block_raw': cmd/zdb/zdb.c:2361:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(1, buf, size); ^~~~~~~~~~~~~~~~~~~ gcc -o lib/libzfs/libzfs_dataset.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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 gcc -o lib/libzfs/libzfs_util.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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:66, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from lib/libzfs/include/libzfs_impl.h:32, from lib/libzfs/libzfs_util.c:48: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzfs/libzfs_util.c:35: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from lib/libzfs/include/libzfs_impl.h:32, from lib/libzfs/libzfs_util.c:48: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzfs/libzfs_util.c:35: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, 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_util.c:48: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ gcc -o lib/libzfs/libzfs_graph.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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:66, from lib/libzfscommon/include/sys/dnode.h:29, from lib/libzfs/libzfs_dataset.c:47: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzfs/libzfs_dataset.c:32: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/dnode.h:29, from lib/libzfs/libzfs_dataset.c:47: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzfs/libzfs_dataset.c:32: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ gcc -o lib/libzfs/libzfs_mount.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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/libzfscommon/include/sys/dnode.h:34, from lib/libzfs/libzfs_dataset.c:47: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ ar rc lib/libavl/libavl.a lib/libavl/avl.o ranlib lib/libavl/libavl.a In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/zio.h:30, 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: warning: "howmany" redefined #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:394, from lib/libzfs/libzfs_graph.c:75: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/zio.h:30, 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:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzfs/libzfs_graph.c:75: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, 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_graph.c:82: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ gcc -o lib/libzfs/libzfs_pool.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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:66, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from lib/libzfs/include/libzfs_impl.h:32, from lib/libzfs/libzfs_mount.c:81: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:66: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from lib/libzfs/include/libzfs_impl.h:32, from lib/libzfs/libzfs_mount.c:81: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:66: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, 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_mount.c:81: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ lib/libzfs/libzfs_mount.c: In function 'get_fsid': lib/libzfs/libzfs_mount.c:557:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buff,2048,f); ^~~~~~~~~~~~~~~~~~ lib/libzfs/libzfs_mount.c: In function 'zfsfuse_findshare': lib/libzfs/libzfs_mount.c:645:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buff,1024,f); ^~~~~~~~~~~~~~~~~~ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from lib/libzfs/libzfs_pool.c:42: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libsolcompat/include/devid.h:30, from lib/libzfs/libzfs_pool.c:29: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from lib/libzfs/libzfs_pool.c:42: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libsolcompat/include/devid.h:30, from lib/libzfs/libzfs_pool.c:29: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ gcc -o lib/libzfs/libzfs_changelist.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32, from lib/libzfs/libzfs_pool.c:42: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ lib/libzfs/libzfs_pool.c: In function 'zpool_export_common': lib/libzfs/libzfs_pool.c:1251:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (retry>0) ^~ lib/libzfs/libzfs_pool.c:1255:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (ret != 0) { ^~ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/zio.h:30, 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: warning: "howmany" redefined #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: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/zio.h:30, 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:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, 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_changelist.c:39: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 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:878:16: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 126 [-Wformat-truncation=] "%s%llx-%s", zfs_userquota_prop_prefixes[uqtype], ^~ (longlong_t)rid, domain); ~~~~~~ In file included from /usr/include/stdio.h:867, from lib/libzfs/libzfs_dataset.c:31: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 3 or more bytes (assuming 130) into a destination of size 128 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o lib/libzfs/libzfs_config.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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 gcc -o lib/libzfs/libzfs_import.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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:66, from lib/libzfscommon/include/sys/zio.h:30, 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: warning: "howmany" redefined #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: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/zio.h:30, 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:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, 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_config.c:44: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/metaslab.h:29, from lib/libzfscommon/include/sys/vdev_impl.h:31, from lib/libzfs/libzfs_import.c:52: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libsolcompat/include/devid.h:30, from lib/libzfs/libzfs_import.c:42: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/metaslab.h:29, from lib/libzfscommon/include/sys/vdev_impl.h:31, from lib/libzfs/libzfs_import.c:52: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libsolcompat/include/devid.h:30, from lib/libzfs/libzfs_import.c:42: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, 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:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ gcc -o lib/libzfs/libzfs_status.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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 gcc -o lib/libzfs/libzfs_sendrecv.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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:66, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from lib/libzfs/include/libzfs_impl.h:32, from lib/libzfs/libzfs_status.c:45: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:29, from lib/libzfs/include/libzfs.h:31, from lib/libzfs/libzfs_status.c:42: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from lib/libzfs/include/libzfs_impl.h:32, from lib/libzfs/libzfs_status.c:45: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:29, from lib/libzfs/include/libzfs.h:31, from lib/libzfs/libzfs_status.c:42: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, 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_status.c:45: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ gcc -o lib/libzfs/libzfs_zfsfuse.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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 lib/libzfs/libzfs_import.c: In function 'zpool_find_import_impl': lib/libzfs/libzfs_import.c:1000:39: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(path2, sizeof (path2), "%s%s", rdsk, name); ^~ In file included from /usr/include/stdio.h:867, from lib/libsolcompat/include/sys/time.h:32, from lib/libsolcompat/include/sys/types.h:89, from /usr/include/stdlib.h:394, from lib/libsolcompat/include/devid.h:30, from lib/libzfs/libzfs_import.c:42: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 4351 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/zfs_fletcher.h:30, from lib/libzfs/libzfs_sendrecv.c:45: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzfs/libzfs_sendrecv.c:32: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/zfs_fletcher.h:30, from lib/libzfs/libzfs_sendrecv.c:45: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzfs/libzfs_sendrecv.c:32: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, 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:46: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ 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 gcc -o lib/libzfs/zfs_fletcher.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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 ranlib lib/libnvpair/libnvpair-user.a In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/zio.h:30, 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: warning: "howmany" redefined #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: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/zio.h:30, 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:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, 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_zfsfuse.c:38: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ gcc -o lib/libzpool/build-user/arc.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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/libzfs/zfs_fletcher.c:129: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzfs/zfs_fletcher.c:129: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ checking for a BSD-compatible install... In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzpool/arc.c:120: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:29, from lib/libzpool/arc.c:120: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzpool/arc.c:120: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:29, from lib/libzpool/arc.c:120: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ lib/libzfs/libzfs_pool.c: In function 'zpool_vdev_name': lib/libzfs/libzfs_pool.c:3093:43: warning: '%llu' directive output may be truncated writing between 1 and 20 bytes into a region of size between 0 and 63 [-Wformat-truncation=] (void) snprintf(buf, sizeof (buf), "%s-%llu", str, ^~~~ In file included from /usr/include/stdio.h:867, from lib/libsolcompat/include/sys/time.h:32, from lib/libsolcompat/include/sys/types.h:89, from /usr/include/stdlib.h:394, from lib/libsolcompat/include/devid.h:30, from lib/libzfs/libzfs_pool.c:29: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 85 bytes into a destination of size 64 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from lib/libzpool/arc.c:124: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ /bin/install -c checking whether build environment is sane... gcc -o lib/libzpool/build-user/bplist.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/bplist.c gcc -o lib/libzpool/build-user/dbuf.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dbuf.c gcc -o lib/libzpool/build-user/dnode_sync.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/bplist.h:30, from lib/libzpool/bplist.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:38, from lib/libzfscommon/include/sys/bplist.h:29, from lib/libzpool/bplist.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/bplist.h:30, from lib/libzpool/bplist.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:38, from lib/libzfscommon/include/sys/bplist.h:29, from lib/libzpool/bplist.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/dbuf.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/dbuf.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/dbuf.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/dbuf.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ gcc -o lib/libzpool/build-user/dmu.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dmu_impl.h:31, from lib/libzpool/dbuf.c:28: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/dnode_sync.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/dnode_sync.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/dnode_sync.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/dnode_sync.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzfscommon/include/sys/dbuf.h:35, from lib/libzpool/dnode_sync.c:27: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ In file included from /usr/include/string.h:494, from lib/libsolcompat/include/string.h:30, from lib/libsolcompat/include/strings.h:30, from lib/libzfs/libzfs_sendrecv.c:33: In function 'strncat', inlined from 'zfs_receive_one' at lib/libzfs/libzfs_sendrecv.c:2342:9: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' specified bound 8192 equals destination size [-Wstringop-overflow=] return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/txg_impl.h:29, from lib/libzfscommon/include/sys/dmu_impl.h:29, from lib/libzpool/dmu.c:27: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:38, from lib/libzpool/dmu.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/txg_impl.h:29, from lib/libzfscommon/include/sys/dmu_impl.h:29, from lib/libzpool/dmu.c:27: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:38, from lib/libzpool/dmu.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ gcc -o lib/libzpool/build-user/dmu_object.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dmu_impl.h:31, from lib/libzpool/dmu.c:27: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ gcc -o lib/libzpool/build-user/dmu_objset.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/dmu_objset.h:29, from lib/libzpool/dmu_object.c:27: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:38, from lib/libzpool/dmu_object.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/dmu_objset.h:29, from lib/libzpool/dmu_object.c:27: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:38, from lib/libzpool/dmu_object.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dmu_objset.h:33, from lib/libzpool/dmu_object.c:27: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/dmu_objset.c:27: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/dmu_objset.c:27: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/dmu_objset.c:27: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/dmu_objset.c:27: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ gcc -o lib/libzpool/build-user/dmu_send.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dmu_objset.h:33, from lib/libzpool/dmu_objset.c:28: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ gcc -o lib/libzpool/build-user/dmu_traverse.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/txg_impl.h:29, from lib/libzfscommon/include/sys/dmu_impl.h:29, from lib/libzpool/dmu_send.c:27: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:38, from lib/libzpool/dmu_send.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/txg_impl.h:29, from lib/libzfscommon/include/sys/dmu_impl.h:29, from lib/libzpool/dmu_send.c:27: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:38, from lib/libzpool/dmu_send.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/dmu_traverse.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/dmu_traverse.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/dmu_traverse.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/dmu_traverse.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dmu_impl.h:31, from lib/libzpool/dmu_send.c:27: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dmu_objset.h:33, from lib/libzpool/dmu_traverse.c:27: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ yes gcc -o lib/libzpool/build-user/dmu_tx.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dmu_tx.c checking for gawk... gawk checking whether make sets $(MAKE)... lib/libzfs/libzfs_sendrecv.c: In function 'zfs_send': lib/libzfs/libzfs_sendrecv.c:1254:13: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] "%s@%s", zhp->zfs_name, tosnap); ^ In file included from /usr/include/stdio.h:867, from lib/libzfs/libzfs_sendrecv.c:31: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/txg_impl.h:29, from lib/libzfscommon/include/sys/dmu_impl.h:29, from lib/libzpool/dmu_tx.c:27: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:38, from lib/libzpool/dmu_tx.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/txg_impl.h:29, from lib/libzfscommon/include/sys/dmu_impl.h:29, from lib/libzpool/dmu_tx.c:27: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:38, from lib/libzpool/dmu_tx.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dmu_impl.h:31, from lib/libzpool/dmu_tx.c:27: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ yes gcc -o lib/libzpool/build-user/dmu_zfetch.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dmu_zfetch.c checking for gcc... gcc In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/dmu_zfetch.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/dmu_zfetch.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/dmu_zfetch.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/dmu_zfetch.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzpool/dmu_zfetch.c:27: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ checking for C compiler default output file name... gcc -o lib/libzpool/build-user/dnode.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dnode.c 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/libzpool/build-user/dsl_dataset.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dsl_dataset.c gcc -o lib/libzpool/build-user/dsl_deleg.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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:66, from lib/libzpool/dnode.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/dnode.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/dnode.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/dnode.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/dmu_objset.h:29, from lib/libzpool/dsl_dataset.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:29, from lib/libzfscommon/include/sys/dmu_objset.h:29, from lib/libzpool/dsl_dataset.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/dmu_objset.h:29, from lib/libzpool/dsl_dataset.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:29, from lib/libzfscommon/include/sys/dmu_objset.h:29, from lib/libzpool/dsl_dataset.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ a.out checking whether the C compiler works... In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dmu_objset.h:33, from lib/libzpool/dsl_dataset.c:26: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ gcc -o lib/libzpool/build-user/dsl_dir.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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/libzfscommon/include/sys/dbuf.h:35, from lib/libzpool/dnode.c:27: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ yes gcc -o lib/libzpool/build-user/dsl_pool.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dsl_pool.c checking whether we are cross compiling... no checking for suffix of executables... gcc -o lib/libzpool/build-user/dsl_prop.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/dmu_objset.h:29, from lib/libzpool/dsl_deleg.c:70: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:38, from lib/libzpool/dsl_deleg.c:69: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/dmu_objset.h:29, from lib/libzpool/dsl_deleg.c:70: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:38, from lib/libzpool/dsl_deleg.c:69: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/dmu_objset.h:29, from lib/libzpool/dsl_dir.c:27: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:38, from lib/libzpool/dsl_dir.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/dmu_objset.h:29, from lib/libzpool/dsl_dir.c:27: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:38, from lib/libzpool/dsl_dir.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dmu_objset.h:33, from lib/libzpool/dsl_deleg.c:70: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dmu_objset.h:33, from lib/libzpool/dsl_dir.c:27: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/dsl_pool.h:29, from lib/libzpool/dsl_pool.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:29, from lib/libzfscommon/include/sys/dsl_pool.h:29, from lib/libzpool/dsl_pool.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/dsl_pool.h:29, from lib/libzpool/dsl_pool.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:29, from lib/libzfscommon/include/sys/dsl_pool.h:29, from lib/libzpool/dsl_pool.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, from lib/libzpool/dsl_pool.c:26: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/dsl_prop.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/dsl_prop.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/dsl_prop.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/dsl_prop.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dmu_objset.h:33, from lib/libzpool/dsl_prop.c:28: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ gcc -o lib/libzpool/build-user/dsl_scrub.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dsl_scrub.c checking for suffix of object files... In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/dsl_pool.h:29, from lib/libzpool/dsl_scrub.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:29, from lib/libzfscommon/include/sys/dsl_pool.h:29, from lib/libzpool/dsl_scrub.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/dsl_pool.h:29, from lib/libzpool/dsl_scrub.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:29, from lib/libzfscommon/include/sys/dsl_pool.h:29, from lib/libzpool/dsl_scrub.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, from lib/libzpool/dsl_scrub.c:26: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ gcc -o lib/libzpool/build-user/dsl_synctask.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dsl_synctask.c gcc -o lib/libzpool/build-user/fletcher.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/fletcher.c o checking whether we are using the GNU C compiler... In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/txg.h:29, from lib/libzfscommon/include/sys/dmu_tx.h:31, from lib/libzpool/dsl_synctask.c:27: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:38, from lib/libzpool/dsl_synctask.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/txg.h:29, from lib/libzfscommon/include/sys/dmu_tx.h:31, from lib/libzpool/dsl_synctask.c:27: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:38, from lib/libzpool/dsl_synctask.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # 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/dsl_synctask.c:27: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ In file included from lib/libzpool/fletcher.c:129: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/fletcher.c:129: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ gcc -o lib/libzpool/build-user/flushwc.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/flushwc.c gcc -o lib/libzpool/build-user/gzip.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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 -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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 -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/metaslab.c gcc -o lib/libzpool/build-user/refcount.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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:66, from lib/libzpool/flushwc.c:25: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/flushwc.c:25: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ gcc -o lib/libzpool/build-user/rprwlock.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/rprwlock.c yes checking whether gcc accepts -g... gcc -o lib/libzpool/build-user/rrwlock.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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:66, from lib/libzpool/refcount.c:28: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/refcount.c:28: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/refcount.c:28: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/refcount.c:28: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/metaslab.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/metaslab.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/metaslab.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/metaslab.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzpool/refcount.c:29: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ In file included from lib/libzfscommon/include/sys/dmu_tx.h:32, from lib/libzpool/metaslab.c:28: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/rprwlock.c:28: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/rprwlock.c:28: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/rprwlock.c:28: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/rprwlock.c:28: /usr/include/sys/param.h:93: note: this is the location of the previous definition # 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:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ gcc -o lib/libzpool/build-user/sha256.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/sha256.c gcc -o lib/libzpool/build-user/spa.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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:66, from lib/libzfscommon/include/sys/refcount.h:33, from lib/libzpool/rrwlock.c:28: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:32, from lib/libzpool/rrwlock.c:28: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/refcount.h:33, from lib/libzpool/rrwlock.c:28: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:32, from lib/libzpool/rrwlock.c:28: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzpool/rrwlock.c:28: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ gcc -o lib/libzpool/build-user/spa_config.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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:66, from lib/libzpool/sha256.c:25: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/sha256.c:25: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/sha256.c:25: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/sha256.c:25: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ gcc -o lib/libzpool/build-user/spa_errlog.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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:66, from lib/libzpool/spa.c:33: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/spa.c:33: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/spa.c:33: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/spa.c:33: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzpool/spa_config.c:27: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:29, from lib/libzpool/spa_config.c:27: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzpool/spa_config.c:27: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:29, from lib/libzpool/spa_config.c:27: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ yes checking for gcc option to accept ANSI C... gcc -o lib/libzpool/build-user/spa_history.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, from lib/libzfscommon/include/sys/spa_impl.h:33, from lib/libzpool/spa.c:35: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, from lib/libzfscommon/include/sys/spa_impl.h:33, from lib/libzpool/spa_config.c:28: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ gcc -o lib/libzpool/build-user/spa_misc.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/txg.h:29, from lib/libzfscommon/include/sys/dmu_tx.h:31, from lib/libzpool/spa_errlog.c:51: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:38, from lib/libzfscommon/include/sys/dmu_tx.h:30, from lib/libzpool/spa_errlog.c:51: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/txg.h:29, from lib/libzfscommon/include/sys/dmu_tx.h:31, from lib/libzpool/spa_errlog.c:51: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:38, from lib/libzfscommon/include/sys/dmu_tx.h:30, from lib/libzpool/spa_errlog.c:51: /usr/include/sys/param.h:93: note: this is the location of the previous definition # 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/spa_errlog.c:51: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzpool/spa_history.c:27: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:29, from lib/libzpool/spa_history.c:27: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzpool/spa_history.c:27: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:29, from lib/libzpool/spa_history.c:27: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, from lib/libzfscommon/include/sys/spa_impl.h:33, from lib/libzpool/spa_history.c:28: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ gcc -o lib/libzpool/build-user/space_map.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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:66, from lib/libzpool/spa_misc.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/spa_misc.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/spa_misc.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/spa_misc.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ gcc -o lib/libzpool/build-user/txg.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, from lib/libzfscommon/include/sys/spa_impl.h:33, from lib/libzpool/spa_misc.c:27: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/space_map.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/space_map.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/space_map.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/space_map.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ gcc -o lib/libzpool/build-user/uberblock.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/uberblock.c none needed In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/txg.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/txg.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/txg.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/txg.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dmu_impl.h:31, from lib/libzpool/txg.c:28: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/uberblock.c:28: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/uberblock.c:28: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/uberblock.c:28: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/uberblock.c:28: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ checking for style of include used by make... gcc -o lib/libzpool/build-user/unique.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/unique.c gcc -o lib/libzpool/build-user/util.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/util.c gcc -o lib/libzpool/build-user/vdev.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/vdev.c GNU checking dependency style of gcc... In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/unique.c:28: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/unique.c:28: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/unique.c:28: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/unique.c:28: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/util.c:27: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/util.c:27: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/util.c:27: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/util.c:27: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/vdev.c:27: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/vdev.c:27: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/vdev.c:27: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/vdev.c:27: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzpool/util.c:34: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, from lib/libzfscommon/include/sys/spa_impl.h:33, from lib/libzpool/vdev.c:30: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ In file included from lib/libzpool/vdev.c:27: lib/libzpool/vdev.c: In function 'vdev_open_children': lib/libzpool/vdev.c:1086:17: warning: comparison between pointer and integer TQ_SLEEP) != NULL); ^~ lib/libzpool/include/sys/zfs_context.h:120:29: note: in definition of macro 'zverify' #define zverify(EX) (void)((EX) || (aok) || \ ^~ lib/libzpool/vdev.c:1085:3: note: in expansion of macro 'VERIFY' VERIFY(taskq_dispatch(tq, vdev_open_child, vd->vdev_child[c], ^~~~~~ gcc -o lib/libzpool/build-user/vdev_cache.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/vdev_cache.c gcc -o lib/libzpool/build-user/vdev_file.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/vdev_file.c gcc -o lib/libzpool/build-user/vdev_label.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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:66, from lib/libzpool/vdev_cache.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/vdev_cache.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/vdev_cache.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/vdev_cache.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ gcc -o lib/libzpool/build-user/vdev_mirror.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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:66, from lib/libzpool/vdev_file.c:27: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/vdev_file.c:27: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/vdev_file.c:27: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/vdev_file.c:27: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/vdev_label.c:134: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/vdev_label.c:134: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/vdev_label.c:134: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/vdev_label.c:134: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ gcc -o lib/libzpool/build-user/vdev_missing.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/vdev_missing.c gcc3 In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, from lib/libzfscommon/include/sys/spa_impl.h:33, from lib/libzpool/vdev_label.c:136: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/vdev_mirror.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/vdev_mirror.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/vdev_mirror.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/vdev_mirror.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ gcc -o lib/libzpool/build-user/vdev_queue.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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:66, from lib/libzpool/vdev_missing.c:35: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/vdev_missing.c:35: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/vdev_missing.c:35: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/vdev_missing.c:35: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ checking build system type... gcc -o lib/libzpool/build-user/vdev_raidz.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/vdev_raidz.c gcc -o lib/libzpool/build-user/vdev_root.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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:66, from lib/libzpool/vdev_queue.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/vdev_queue.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/vdev_queue.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/vdev_queue.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ gcc -o lib/libzpool/build-user/zap.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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:66, from lib/libzpool/vdev_raidz.c:27: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/vdev_raidz.c:27: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/vdev_raidz.c:27: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/vdev_raidz.c:27: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzpool/zap.c:41: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:29, from lib/libzpool/zap.c:41: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzpool/zap.c:41: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:29, from lib/libzpool/zap.c:41: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/vdev_root.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/vdev_root.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/vdev_root.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/vdev_root.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzpool/zap.c:47: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ gcc -o lib/libzpool/build-user/zap_leaf.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zap_leaf.c gcc -o lib/libzpool/build-user/zap_micro.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zap_micro.c gcc -o lib/libzpool/build-user/zfs_byteswap.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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:66, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzpool/zap_leaf.c:32: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzpool/zap_leaf.c:32: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzpool/zap_leaf.c:32: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzpool/zap_leaf.c:32: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ x86_64-pc-linux-gnu In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/zfs_byteswap.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/zfs_byteswap.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/zfs_byteswap.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/zfs_byteswap.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ checking host system type... In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzpool/zap_micro.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzpool/zap_micro.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzpool/zap_micro.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzpool/zap_micro.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzpool/zap_micro.c:31: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ x86_64-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for egrep... gcc -o lib/libzpool/build-user/zfs_fm.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zfs_fm.c grep -E checking for ld used by gcc... gcc -o lib/libzpool/build-user/zfs_fuid.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zfs_fuid.c /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 In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzpool/zfs_fm.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:29, from lib/libzpool/zfs_fm.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzpool/zfs_fm.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:29, from lib/libzpool/zfs_fm.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, from lib/libzfscommon/include/sys/spa_impl.h:33, from lib/libzpool/zfs_fm.c:27: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/zfs_fuid.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/zfs_fuid.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/zfs_fuid.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/zfs_fuid.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzpool/zfs_fuid.c:30: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ checking how to run the C preprocessor... gcc -o lib/libzpool/build-user/zfs_znode.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zfs_znode.c gcc -o lib/libzpool/build-user/zil.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zil.c gcc -o lib/libzpool/build-user/zio.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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:66, from lib/libzfscommon/include/sys/refcount.h:33, from lib/libzpool/zfs_znode.c:60: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:38, from lib/libzpool/zfs_znode.c:59: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/refcount.h:33, from lib/libzpool/zfs_znode.c:60: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:38, from lib/libzpool/zfs_znode.c:59: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzpool/zfs_znode.c:60: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/zil.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/zil.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/zil.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/zil.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ gcc -o lib/libzpool/build-user/zio_checksum.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dmu_objset.h:33, from lib/libzfscommon/include/sys/zil_impl.h:30, from lib/libzpool/zil.c:34: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ gcc -o lib/libzpool/build-user/zio_compress.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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:66, from lib/libzpool/zio.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/zio.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/zio.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/zio.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ gcc -E In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, from lib/libzfscommon/include/sys/spa_impl.h:33, from lib/libzpool/zio.c:30: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ gcc -o lib/libzpool/build-user/zio_inject.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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:66, from lib/libzpool/zio_checksum.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/zio_checksum.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/zio_checksum.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/zio_checksum.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/zio_compress.c:27: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/zio_compress.c:27: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/zio_compress.c:27: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/zio_compress.c:27: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/arc.h:29, from lib/libzpool/zio_inject.c:43: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzfscommon/include/sys/arc.h:29, from lib/libzpool/zio_inject.c:43: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/arc.h:29, from lib/libzpool/zio_inject.c:43: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzfscommon/include/sys/arc.h:29, from lib/libzpool/zio_inject.c:43: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ gcc -o lib/libzpool/build-user/kmem_asprintf.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/kmem_asprintf.c In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32, from lib/libzpool/zio_inject.c:45: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ gcc -o lib/libzpool/build-user/ddt.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/ddt.c gcc -o lib/libzpool/build-user/ddt_zap.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/ddt_zap.c gcc -o lib/libzpool/build-user/zle.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/zle.c checking for ANSI C header files... In file included from lib/libzpool/zle.c:34: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/zle.c:34: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/ddt.c:27: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/ddt.c:27: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/ddt.c:27: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/ddt.c:27: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, from lib/libzfscommon/include/sys/spa_impl.h:33, from lib/libzpool/ddt.c:29: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/ddt_zap.c:27: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/ddt_zap.c:27: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/ddt_zap.c:27: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/ddt_zap.c:27: /usr/include/sys/param.h:93: note: this is the location of the previous definition # 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:32: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ gcc -o lib/libzpool/build-user/kernel.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/kernel.c gcc -o lib/libzpool/build-user/taskq.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/taskq.c gcc -o lib/libzfscommon/build-user/compress.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzfscommon/compress.c In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzpool/kernel.c:33: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/kernel.c:30: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzpool/kernel.c:33: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/kernel.c:30: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ lib/libzpool/kernel.c: In function 'umem_out_of_memory': lib/libzpool/kernel.c:795:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fileno(stderr), errmsg, sizeof (errmsg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/taskq.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/taskq.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzpool/taskq.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzpool/taskq.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ gcc -o lib/libzfscommon/build-user/list.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzfscommon/list.c gcc -o lib/libzfscommon/build-user/zfs_comutil.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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 -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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/libzfscommon/list.c:35: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzfscommon/list.c:35: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ gcc -o lib/libzfscommon/build-user/zfs_namecheck.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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 -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzfscommon/zfs_prop.c lib/libzpool/kernel.c: In function 'kernel_init': lib/libzpool/kernel.c:811:50: warning: '%ld' directive output may be truncated writing between 1 and 19 bytes into a region of size 11 [-Wformat-truncation=] (void) snprintf(hw_serial, sizeof (hw_serial), "%ld", ^~~ lib/libzpool/kernel.c:811:49: note: directive argument in the range [0, 9223372036854775807] (void) snprintf(hw_serial, sizeof (hw_serial), "%ld", ^~~~~ In file included from /usr/include/stdio.h:867, from lib/libzpool/kernel.c:29: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 20 bytes into a destination of size 11 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/dsl_pool.h:29, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/zfs_deleg.c:38: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/spa.h:30, from lib/libzfscommon/include/sys/dsl_pool.h:29, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/zfs_deleg.c:38: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/zfs_deleg.c:38: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ gcc -o lib/libzfscommon/build-user/zpool_prop.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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:66, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzfscommon/zfs_prop.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzfscommon/zfs_prop.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzfscommon/zfs_prop.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzfscommon/zfs_prop.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ gcc -o lib/libzfscommon/build-user/zprop_common.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32, from lib/libzfscommon/zfs_prop.c:30: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ gcc -o lib/libuutil/uu_alloc.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNATIVE_BUILD -DLINUX_AIO -Ilib/libuutil/include -Ilib/libavl/include -Ilib/libsolcompat/include lib/libuutil/uu_alloc.c gcc -o lib/libuutil/uu_avl.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNATIVE_BUILD -DLINUX_AIO -Ilib/libuutil/include -Ilib/libavl/include -Ilib/libsolcompat/include lib/libuutil/uu_avl.c In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzfscommon/zpool_prop.c:26: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzfscommon/zpool_prop.c:26: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzfscommon/zpool_prop.c:26: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzfscommon/zpool_prop.c:26: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, 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:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ gcc -o lib/libuutil/uu_dprintf.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNATIVE_BUILD -DLINUX_AIO -Ilib/libuutil/include -Ilib/libavl/include -Ilib/libsolcompat/include lib/libuutil/uu_dprintf.c In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzfscommon/zprop_common.c:30: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzfscommon/zprop_common.c:30: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzfscommon/zprop_common.c:30: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzfscommon/zprop_common.c:30: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, 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:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ gcc -o lib/libuutil/uu_ident.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNATIVE_BUILD -DLINUX_AIO -Ilib/libuutil/include -Ilib/libavl/include -Ilib/libsolcompat/include lib/libuutil/uu_ident.c yes 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_scrub.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/kernel.o lib/libzpool/build-user/taskq.o gcc -o lib/libuutil/uu_list.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNATIVE_BUILD -DLINUX_AIO -Ilib/libuutil/include -Ilib/libavl/include -Ilib/libsolcompat/include lib/libuutil/uu_list.c ranlib lib/libzpool/libzpool-user.a checking for sys/types.h... gcc -o lib/libuutil/uu_misc.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNATIVE_BUILD -DLINUX_AIO -Ilib/libuutil/include -Ilib/libavl/include -Ilib/libsolcompat/include lib/libuutil/uu_misc.c gcc -o lib/libuutil/uu_open.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNATIVE_BUILD -DLINUX_AIO -Ilib/libuutil/include -Ilib/libavl/include -Ilib/libsolcompat/include lib/libuutil/uu_open.c 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/libuutil/uu_pname.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNATIVE_BUILD -DLINUX_AIO -Ilib/libuutil/include -Ilib/libavl/include -Ilib/libsolcompat/include lib/libuutil/uu_pname.c gcc -o lib/libuutil/uu_strtoint.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNATIVE_BUILD -DLINUX_AIO -Ilib/libuutil/include -Ilib/libavl/include -Ilib/libsolcompat/include lib/libuutil/uu_strtoint.c gcc -o lib/libsolcompat/getmntany.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libsolcompat/include -Ilib/libsolcompat/include/amd64 lib/libsolcompat/getmntany.c gcc -o lib/libsolcompat/strlcpy.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libsolcompat/include -Ilib/libsolcompat/include/amd64 lib/libsolcompat/strlcpy.c gcc -o lib/libsolcompat/strlcat.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libsolcompat/include -Ilib/libsolcompat/include/amd64 lib/libsolcompat/strlcat.c lib/libsolcompat/getmntany.c: In function 'getextmntent': lib/libsolcompat/getmntany.c:89:19: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration] mp->mnt_major = major(st.st_dev); ^~~~~ lib/libsolcompat/getmntany.c:90:19: warning: implicit declaration of function 'minor'; did you mean 'mknod'? [-Wimplicit-function-declaration] mp->mnt_minor = minor(st.st_dev); ^~~~~ mknod gcc -o lib/libsolcompat/mkdirp.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libsolcompat/include -Ilib/libsolcompat/include/amd64 lib/libsolcompat/mkdirp.c yes gcc -o lib/libsolcompat/u8_textprep.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libsolcompat/include -Ilib/libsolcompat/include/amd64 lib/libsolcompat/u8_textprep.c gcc -DLINUX_AIO -Ilib/libsolcompat/include -Ilib/libsolcompat/include/amd64 -c -o lib/libsolcompat/amd64/atomic.o lib/libsolcompat/amd64/atomic.S gcc -o lib/libsolcompat/zone.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libsolcompat/include -Ilib/libsolcompat/include/amd64 lib/libsolcompat/zone.c gcc -o cmd/zfs/ptrace.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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 In file included from lib/libsolcompat/u8_textprep.c:39: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libsolcompat/u8_textprep.c:39: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ checking for sys/stat.h... gcc -o cmd/zfs/zfs_main.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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 gcc -o cmd/zfs/zfs_iter.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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/zpool/ptrace.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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 -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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 -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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 cmd/zfs/zfs_main.c: In function 'unshare_unmount_path': cmd/zfs/zfs_main.c:3476:26: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration] if (entry.mnt_major == major(statbuf.st_dev) && ^~~~~ cmd/zfs/zfs_main.c:3477:26: warning: implicit declaration of function 'minor'; did you mean 'mknod'? [-Wimplicit-function-declaration] entry.mnt_minor == minor(statbuf.st_dev)) ^~~~~ mknod gcc -o cmd/zpool/zpool_util.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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 -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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 gcc -o cmd/zstreamdump/zstreamdump.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -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 gcc -o cmd/ztest/ztest.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libsolcompat/include cmd/ztest/ztest.c yes gcc -o lib/libnvpair/build-kernel/libnvpair.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libnvpair/include1 -Ilib/libsolcompat/include lib/libnvpair/libnvpair.c checking for stdlib.h... In file included from lib/libzpool/include/sys/zfs_context.h:66, from cmd/ztest/ztest.c:75: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:394, from lib/libzpool/include/sys/zfs_context.h:45, from cmd/ztest/ztest.c:75: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from cmd/ztest/ztest.c:75: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:394, from lib/libzpool/include/sys/zfs_context.h:45, from cmd/ztest/ztest.c:75: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzfscommon/include/sys/dbuf.h:35, from cmd/ztest/ztest.c:79: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from cmd/zstreamdump/zstreamdump.c:34: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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:29, from cmd/zstreamdump/zstreamdump.c:27: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:66, from lib/libzfscommon/include/sys/zio.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:31, from cmd/zstreamdump/zstreamdump.c:34: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:29, from cmd/zstreamdump/zstreamdump.c:27: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzfscommon/include/sys/dnode.h:34, from lib/libzfscommon/include/sys/dsl_pool.h:34, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32, from cmd/zstreamdump/zstreamdump.c:34: lib/libzfscommon/include/sys/refcount.h:69:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int64_t refcount_add(refcount_t *rc, const const void *holder_tag); ^~~~~ cmd/ztest/ztest.c: In function 'main': cmd/ztest/ztest.c:5507:38: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] (void) printf("Pass %3d, %8s, %3llu ENOSPC, " ~~~~^ %3lu cmd/ztest/ztest.c:5511:8: zs->zs_enospc_count, ~~~~~~~~~~~~~~~~~~~ cmd/ztest/ztest.c:5530:24: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] (void) printf("%7llu %9s %s\n", ~~~~^ %7lu zi->zi_call_count, timebuf, ~~~~~~~~~~~~~~~~~ cmd/ztest/ztest.c: In function 'grow_vdev': cmd/ztest/ztest.c:2578:9: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] (void) ftruncate(fd, *newsize); ^~~~~~~~~~~~~~~~~~~~~~~ cmd/ztest/ztest.c: In function 'main': cmd/ztest/ztest.c:5394:9: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] (void) asprintf((char **)&spa_config_path, "%s/ztest.cache", zopt_dir); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ yes gcc -o cmd/zstreamdump/zstreamdump -pipe -Wall -ggdb cmd/zstreamdump/zstreamdump.o lib/libzfs/libzfs.a lib/libnvpair/libnvpair-user.a -lpthread -lm -ldl gcc -o lib/libnvpair/build-kernel/nvpair.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libnvpair/include1 -Ilib/libsolcompat/include lib/libnvpair/nvpair.c checking for string.h... gcc -o lib/libnvpair/build-kernel/nvpair_alloc_fixed.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libnvpair/include1 -Ilib/libsolcompat/include lib/libnvpair/nvpair_alloc_fixed.c gcc -o lib/libnvpair/build-kernel/nvpair_alloc_system.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libnvpair/include1 -Ilib/libsolcompat/include lib/libnvpair/nvpair_alloc_system.c In file included from lib/libnvpair/nvpair_alloc_fixed.c:32: lib/libsolcompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libnvpair/nvpair_alloc_fixed.c:32: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ gcc -o lib/libsolkerncompat/acl_common.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include lib/libsolkerncompat/acl_common.c gcc -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include -c -o lib/libsolkerncompat/amd64/atomic.o lib/libsolkerncompat/amd64/atomic.S cmd/ztest/ztest.c: In function 'ztest_dmu_snapshot_hold': cmd/ztest/ztest.c:4275:34: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 100 [-Wformat-truncation=] (void) snprintf(fullname, 100, "%s@%s", osname, snapname); ^~ ~~~~~~ In file included from /usr/include/stdio.h:867, from lib/libzpool/include/sys/zfs_context.h:44, from cmd/ztest/ztest.c:75: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 356 bytes into a destination of size 100 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd/ztest/ztest.c:4276:35: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 100 [-Wformat-truncation=] (void) snprintf(clonename, 100, "%s/ch1_" FU64, osname, id); ^~ ~~~~~~ In file included from /usr/include/stdio.h:867, from lib/libzpool/include/sys/zfs_context.h:44, from cmd/ztest/ztest.c:75: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 7 and 281 bytes into a destination of size 100 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from lib/libsolkerncompat/acl_common.c:33: lib/libsolkerncompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libsolkerncompat/acl_common.c:33: lib/libsolkerncompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ yes gcc -o lib/libsolkerncompat/callb.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include lib/libsolkerncompat/callb.c checking for memory.h... gcc -o lib/libsolkerncompat/clock.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include lib/libsolkerncompat/clock.c In file included from lib/libsolkerncompat/callb.c:30: lib/libsolkerncompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libsolkerncompat/callb.c:30: lib/libsolkerncompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ cmd/ztest/ztest.c: In function 'ztest_dmu_snapshot_create_destroy': cmd/ztest/ztest.c:2872:44: warning: '%llu' directive output may be truncated writing between 1 and 20 bytes into a region of size between 0 and 255 [-Wformat-truncation=] (void) snprintf(snapname, MAXNAMELEN, "%s@%llu", osname, ^~~~ In file included from /usr/include/stdio.h:867, from lib/libzpool/include/sys/zfs_context.h:44, from cmd/ztest/ztest.c:75: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 277 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/amd64/atomic.o ranlib lib/libsolcompat/libsolcompat.a gcc -o lib/libsolkerncompat/cmn_err.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include lib/libsolkerncompat/cmn_err.c 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 gcc -o lib/libsolkerncompat/condvar.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include lib/libsolkerncompat/condvar.c ranlib lib/libuutil/libuutil.a yes gcc -o lib/libsolkerncompat/flock.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include lib/libsolkerncompat/flock.c gcc -o lib/libsolkerncompat/fs_subr.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include lib/libsolkerncompat/fs_subr.c gcc -o lib/libsolkerncompat/kcf_random.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include lib/libsolkerncompat/kcf_random.c checking for strings.h... gcc -o lib/libsolkerncompat/kmem.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include lib/libsolkerncompat/kmem.c gcc -o lib/libsolkerncompat/kobj.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include lib/libsolkerncompat/kobj.c gcc -o lib/libsolkerncompat/kobj_subr.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include lib/libsolkerncompat/kobj_subr.c gcc -o lib/libsolkerncompat/kstat.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include lib/libsolkerncompat/kstat.c gcc -o lib/libsolkerncompat/main.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include lib/libsolkerncompat/main.c gcc -o lib/libsolkerncompat/move.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include lib/libsolkerncompat/move.c gcc -o lib/libsolkerncompat/mutex.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include lib/libsolkerncompat/mutex.c lib/libsolkerncompat/main.c: In function 'libsolkerncompat_init': lib/libsolkerncompat/main.c:59:42: warning: '%ld' directive output may be truncated writing between 1 and 19 bytes into a region of size 11 [-Wformat-truncation=] snprintf(hw_serial, sizeof(hw_serial), "%ld", gethostid()); ^~~ lib/libsolkerncompat/main.c:59:41: note: directive argument in the range [0, 9223372036854775807] snprintf(hw_serial, sizeof(hw_serial), "%ld", gethostid()); ^~~~~ In file included from /usr/include/stdio.h:867, from lib/libsolkerncompat/include/sys/time_aux.h:32, from lib/libsolkerncompat/include/sys/time.h:31, from lib/libsolkerncompat/include/sys/types.h:89, from lib/libsolkerncompat/main.c:27: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 20 bytes into a destination of size 11 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o lib/libsolkerncompat/pathname.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include lib/libsolkerncompat/pathname.c gcc -o lib/libsolkerncompat/policy.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include lib/libsolkerncompat/policy.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/refstr.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include lib/libsolkerncompat/refstr.c yes gcc -o lib/libsolkerncompat/rwlock.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include lib/libsolkerncompat/rwlock.c gcc -o lib/libsolkerncompat/sid.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include lib/libsolkerncompat/sid.c checking for inttypes.h... gcc -o lib/libsolkerncompat/strlcpy.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include lib/libsolkerncompat/strlcpy.c In file included from lib/libsolkerncompat/sid.c:38: lib/libsolkerncompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libsolkerncompat/sid.c:38: lib/libsolkerncompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ cmd/ztest/ztest.c: In function 'ztest_dsl_dataset_cleanup': cmd/ztest/ztest.c:3013:44: warning: '@s2_' directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] (void) snprintf(snap2name, MAXNAMELEN, "%s@s2_" FU64, clone1name, id); ^~~~ In file included from /usr/include/stdio.h:867, from lib/libzpool/include/sys/zfs_context.h:44, from cmd/ztest/ztest.c:75: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 6 and 280 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd/ztest/ztest.c:3015:44: warning: '@s3_' directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] (void) snprintf(snap3name, MAXNAMELEN, "%s@s3_" FU64, clone1name, id); ^~~~ In file included from /usr/include/stdio.h:867, from lib/libzpool/include/sys/zfs_context.h:44, from cmd/ztest/ztest.c:75: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 6 and 280 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd/ztest/ztest.c: In function 'ztest_dsl_dataset_promote_busy': cmd/ztest/ztest.c:3055:44: warning: '@s1_' directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] (void) snprintf(snap1name, MAXNAMELEN, "%s@s1_" FU64, osname, id); ^~~~ In file included from /usr/include/stdio.h:867, from lib/libzpool/include/sys/zfs_context.h:44, from cmd/ztest/ztest.c:75: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 6 and 280 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd/ztest/ztest.c:3056:45: warning: '/c1_' directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] (void) snprintf(clone1name, MAXNAMELEN, "%s/c1_" FU64, osname, id); ^~~~ In file included from /usr/include/stdio.h:867, from lib/libzpool/include/sys/zfs_context.h:44, from cmd/ztest/ztest.c:75: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 6 and 280 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd/ztest/ztest.c:3057:44: warning: '@s2_' directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] (void) snprintf(snap2name, MAXNAMELEN, "%s@s2_" FU64, clone1name, id); ^~~~ In file included from /usr/include/stdio.h:867, from lib/libzpool/include/sys/zfs_context.h:44, from cmd/ztest/ztest.c:75: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 6 and 280 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd/ztest/ztest.c:3058:45: warning: '/c2_' directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] (void) snprintf(clone2name, MAXNAMELEN, "%s/c2_" FU64, osname, id); ^~~~ In file included from /usr/include/stdio.h:867, from lib/libzpool/include/sys/zfs_context.h:44, from cmd/ztest/ztest.c:75: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 6 and 280 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd/ztest/ztest.c:3059:44: warning: '@s3_' directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] (void) snprintf(snap3name, MAXNAMELEN, "%s@s3_" FU64, clone1name, id); ^~~~ In file included from /usr/include/stdio.h:867, from lib/libzpool/include/sys/zfs_context.h:44, from cmd/ztest/ztest.c:75: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 6 and 280 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o lib/libsolkerncompat/taskq.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include lib/libsolkerncompat/taskq.c gcc -o lib/libsolkerncompat/thread.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include lib/libsolkerncompat/thread.c In file included from lib/libsolkerncompat/taskq.c:458: lib/libsolkerncompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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/taskq.h:29, from lib/libsolkerncompat/include/sys/taskq_impl.h:29, from lib/libsolkerncompat/taskq.c:448: /usr/include/sys/param.h:90: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libsolkerncompat/taskq.c:458: lib/libsolkerncompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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/taskq.h:29, from lib/libsolkerncompat/include/sys/taskq_impl.h:29, from lib/libsolkerncompat/taskq.c:448: /usr/include/sys/param.h:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ gcc -o lib/libsolkerncompat/u8_textprep.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include lib/libsolkerncompat/u8_textprep.c gcc -o lib/libsolkerncompat/vfs.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include lib/libsolkerncompat/vfs.c gcc -o lib/libsolkerncompat/vnode.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include lib/libsolkerncompat/vnode.c gcc -o lib/libsolkerncompat/zmod.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libsolkerncompat -Ilib/libsolkerncompat/include -Ilib/libsolkerncompat/include/amd64 -Ilib/libumem/include -Ilib/libavl/include lib/libsolkerncompat/zmod.c yes gcc -o lib/libzfscommon/build-kernel/compress.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -ggdb -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_KERNEL -DLINUX_AIO -Ilib/libzfscommon/include -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libsolkerncompat/include lib/libzfscommon/compress.c In file included from lib/libsolkerncompat/u8_textprep.c:39: lib/libsolkerncompat/include/sys/sysmacros.h:217: warning: "howmany" redefined #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: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libsolkerncompat/u8_textprep.c:39: lib/libsolkerncompat/include/sys/sysmacros.h:218: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(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:93: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ checking for stdint.h... lib/libsolkerncompat/vfs.c: In function 'fs_copyfsops': lib/libsolkerncompat/vfs.c:291:18: warning: implicit declaration of function 'offsetof' [-Wimplicit-function-declaration] VFSNAME_MOUNT, offsetof(vfsops_t, vfs_mount), ^~~~~~~~ lib/libsolkerncompat/vfs.c:291:18: note: 'offsetof' is defined in header ''; did you forget to '#include '? lib/libsolkerncompat/vfs.c:39:1: +#include #include lib/libsolkerncompat/vfs.c:291:18: VFSNAME_MOUNT, offsetof(vfsops_t, vfs_mount), ^~~~~~~~ lib/libsolkerncompat/vfs.c:291:27: error: expected expression before 'vfsops_t' VFSNAME_MOUNT, offsetof(vfsops_t, vfs_mount), ^~~~~~~~ lib/libsolkerncompat/vfs.c:294:29: error: expected expression before 'vfsops_t' VFSNAME_UNMOUNT, offsetof(vfsops_t, vfs_unmount), ^~~~~~~~ lib/libsolkerncompat/vfs.c:297:26: error: expected expression before 'vfsops_t' VFSNAME_ROOT, offsetof(vfsops_t, vfs_root), ^~~~~~~~ lib/libsolkerncompat/vfs.c:300:29: error: expected expression before 'vfsops_t' VFSNAME_STATVFS, offsetof(vfsops_t, vfs_statvfs), ^~~~~~~~ lib/libsolkerncompat/vfs.c:303:26: error: expected expression before 'vfsops_t' VFSNAME_SYNC, offsetof(vfsops_t, vfs_sync), ^~~~~~~~ lib/libsolkerncompat/vfs.c:307:26: error: expected expression before 'vfsops_t' VFSNAME_VGET, offsetof(vfsops_t, vfs_vget), ^~~~~~~~ lib/libsolkerncompat/vfs.c:310:31: error: expected expression before 'vfsops_t' VFSNAME_MOUNTROOT, offsetof(vfsops_t, vfs_mountroot), ^~~~~~~~ lib/libsolkerncompat/vfs.c:313:29: error: expected expression before 'vfsops_t' VFSNAME_FREEVFS, offsetof(vfsops_t, vfs_freevfs), ^~~~~~~~ lib/libsolkerncompat/vfs.c:317:29: error: expected expression before 'vfsops_t' VFSNAME_VNSTATE, offsetof(vfsops_t, vfs_vnstate), ^~~~~~~~ scons: *** [lib/libsolkerncompat/vfs.o] Error 1 lib/libsolkerncompat/vnode.c:95:16: warning: implicit declaration of function 'offsetof' [-Wimplicit-function-declaration] VOPNAME_OPEN, offsetof(struct vnodeops, vop_open), ^~~~~~~~ lib/libsolkerncompat/vnode.c:95:16: note: 'offsetof' is defined in header ''; did you forget to '#include '? lib/libsolkerncompat/vnode.c:64:1: +#include lib/libsolkerncompat/vnode.c:95:16: VOPNAME_OPEN, offsetof(struct vnodeops, vop_open), ^~~~~~~~ lib/libsolkerncompat/vnode.c:95:25: error: expected expression before 'struct' VOPNAME_OPEN, offsetof(struct vnodeops, vop_open), ^~~~~~ lib/libsolkerncompat/vnode.c:98:26: error: expected expression before 'struct' VOPNAME_CLOSE, offsetof(struct vnodeops, vop_close), ^~~~~~ lib/libsolkerncompat/vnode.c:101:25: error: expected expression before 'struct' VOPNAME_READ, offsetof(struct vnodeops, vop_read), ^~~~~~ lib/libsolkerncompat/vnode.c:104:26: error: expected expression before 'struct' VOPNAME_WRITE, offsetof(struct vnodeops, vop_write), ^~~~~~ lib/libsolkerncompat/vnode.c:107:26: error: expected expression before 'struct' VOPNAME_IOCTL, offsetof(struct vnodeops, vop_ioctl), ^~~~~~ lib/libsolkerncompat/vnode.c:110:26: error: expected expression before 'struct' VOPNAME_SETFL, offsetof(struct vnodeops, vop_setfl), ^~~~~~ lib/libsolkerncompat/vnode.c:113:28: error: expected expression before 'struct' VOPNAME_GETATTR, offsetof(struct vnodeops, vop_getattr), ^~~~~~ lib/libsolkerncompat/vnode.c:116:28: error: expected expression before 'struct' VOPNAME_SETATTR, offsetof(struct vnodeops, vop_setattr), ^~~~~~ lib/libsolkerncompat/vnode.c:119:27: error: expected expression before 'struct' VOPNAME_ACCESS, offsetof(struct vnodeops, vop_access), ^~~~~~ lib/libsolkerncompat/vnode.c:122:27: error: expected expression before 'struct' VOPNAME_LOOKUP, offsetof(struct vnodeops, vop_lookup), ^~~~~~ lib/libsolkerncompat/vnode.c:125:27: error: expected expression before 'struct' VOPNAME_CREATE, offsetof(struct vnodeops, vop_create), ^~~~~~ lib/libsolkerncompat/vnode.c:128:27: error: expected expression before 'struct' VOPNAME_REMOVE, offsetof(struct vnodeops, vop_remove), ^~~~~~ lib/libsolkerncompat/vnode.c:131:25: error: expected expression before 'struct' VOPNAME_LINK, offsetof(struct vnodeops, vop_link), ^~~~~~ lib/libsolkerncompat/vnode.c:134:27: error: expected expression before 'struct' VOPNAME_RENAME, offsetof(struct vnodeops, vop_rename), ^~~~~~ lib/libsolkerncompat/vnode.c:137:26: error: expected expression before 'struct' VOPNAME_MKDIR, offsetof(struct vnodeops, vop_mkdir), ^~~~~~ lib/libsolkerncompat/vnode.c:140:26: error: expected expression before 'struct' VOPNAME_RMDIR, offsetof(struct vnodeops, vop_rmdir), ^~~~~~ lib/libsolkerncompat/vnode.c:143:28: error: expected expression before 'struct' VOPNAME_READDIR, offsetof(struct vnodeops, vop_readdir), ^~~~~~ lib/libsolkerncompat/vnode.c:146:28: error: expected expression before 'struct' VOPNAME_SYMLINK, offsetof(struct vnodeops, vop_symlink), ^~~~~~ lib/libsolkerncompat/vnode.c:149:29: error: expected expression before 'struct' VOPNAME_READLINK, offsetof(struct vnodeops, vop_readlink), ^~~~~~ lib/libsolkerncompat/vnode.c:152:26: error: expected expression before 'struct' VOPNAME_FSYNC, offsetof(struct vnodeops, vop_fsync), ^~~~~~ lib/libsolkerncompat/vnode.c:155:29: error: expected expression before 'struct' VOPNAME_INACTIVE, offsetof(struct vnodeops, vop_inactive), ^~~~~~ lib/libsolkerncompat/vnode.c:158:24: error: expected expression before 'struct' VOPNAME_FID, offsetof(struct vnodeops, vop_fid), ^~~~~~ lib/libsolkerncompat/vnode.c:161:27: error: expected expression before 'struct' VOPNAME_RWLOCK, offsetof(struct vnodeops, vop_rwlock), ^~~~~~ lib/libsolkerncompat/vnode.c:164:29: error: expected expression before 'struct' VOPNAME_RWUNLOCK, offsetof(struct vnodeops, vop_rwunlock), ^~~~~~ lib/libsolkerncompat/vnode.c:168:25: error: expected expression before 'struct' VOPNAME_SEEK, offsetof(struct vnodeops, vop_seek), ^~~~~~ lib/libsolkerncompat/vnode.c:171:24: error: expected expression before 'struct' VOPNAME_CMP, offsetof(struct vnodeops, vop_cmp), ^~~~~~ lib/libsolkerncompat/vnode.c:174:27: error: expected expression before 'struct' VOPNAME_FRLOCK, offsetof(struct vnodeops, vop_frlock), ^~~~~~ lib/libsolkerncompat/vnode.c:177:26: error: expected expression before 'struct' VOPNAME_SPACE, offsetof(struct vnodeops, vop_space), ^~~~~~ lib/libsolkerncompat/vnode.c:180:27: error: expected expression before 'struct' VOPNAME_REALVP, offsetof(struct vnodeops, vop_realvp), ^~~~~~ lib/libsolkerncompat/vnode.c:183:28: error: expected expression before 'struct' VOPNAME_GETPAGE, offsetof(struct vnodeops, vop_getpage), ^~~~~~ lib/libsolkerncompat/vnode.c:186:28: error: expected expression before 'struct' VOPNAME_PUTPAGE, offsetof(struct vnodeops, vop_putpage), ^~~~~~ lib/libsolkerncompat/vnode.c:189:24: error: expected expression before 'struct' VOPNAME_MAP, offsetof(struct vnodeops, vop_map), ^~~~~~ lib/libsolkerncompat/vnode.c:193:27: error: expected expression before 'struct' VOPNAME_ADDMAP, offsetof(struct vnodeops, vop_addmap), ^~~~~~ lib/libsolkerncompat/vnode.c:197:27: error: expected expression before 'struct' VOPNAME_DELMAP, offsetof(struct vnodeops, vop_delmap), ^~~~~~ lib/libsolkerncompat/vnode.c:200:25: error: expected expression before 'struct' VOPNAME_POLL, offsetof(struct vnodeops, vop_poll), ^~~~~~ lib/libsolkerncompat/vnode.c:203:25: error: expected expression before 'struct' VOPNAME_DUMP, offsetof(struct vnodeops, vop_dump), ^~~~~~ lib/libsolkerncompat/vnode.c:206:29: error: expected expression before 'struct' VOPNAME_PATHCONF, offsetof(struct vnodeops, vop_pathconf), ^~~~~~ lib/libsolkerncompat/vnode.c:209:27: error: expected expression before 'struct' VOPNAME_PAGEIO, offsetof(struct vnodeops, vop_pageio), ^~~~~~ lib/libsolkerncompat/vnode.c:212:28: error: expected expression before 'struct' VOPNAME_DUMPCTL, offsetof(struct vnodeops, vop_dumpctl), ^~~~~~ lib/libsolkerncompat/vnode.c:215:28: error: expected expression before 'struct' VOPNAME_DISPOSE, offsetof(struct vnodeops, vop_dispose), ^~~~~~ lib/libsolkerncompat/vnode.c:219:31: error: expected expression before 'struct' VOPNAME_SETSECATTR, offsetof(struct vnodeops, vop_setsecattr), ^~~~~~ lib/libsolkerncompat/vnode.c:222:31: error: expected expression before 'struct' VOPNAME_GETSECATTR, offsetof(struct vnodeops, vop_getsecattr), ^~~~~~ lib/libsolkerncompat/vnode.c:225:28: error: expected expression before 'struct' VOPNAME_SHRLOCK, offsetof(struct vnodeops, vop_shrlock), ^~~~~~ lib/libsolkerncompat/vnode.c:228:28: error: expected expression before 'struct' VOPNAME_VNEVENT, offsetof(struct vnodeops, vop_vnevent), ^~~~~~ scons: *** [lib/libsolkerncompat/vnode.o] Error 1 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 -m elf_x86_64) 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 -m elf_x86_64 checking if the linker (/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/bin/ld -m elf_x86_64) 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 -m elf_x86_64) 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... no configure: WARNING: *** increasing umem cpu cache size to compensate. 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 scons: building terminated because of errors. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.KVnmKT (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.KVnmKT (%build) I: [iurt_root_command] ERROR: chroot