Gentoo Archives: gentoo-user

From: Scott Ellis <scotte@××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Failure of zfs-kmod with 3.13.* kernel
Date: Sat, 08 Feb 2014 18:07:40
1 When trying to build zfs-kmod against a a 3.13.[0|1|2] kernel, spl works
2 fine, but zfs fails. It looks like the issue is that the configure script
3 isn't doing quite the right check for bdi_setup_and_register, so
4 HAVE_BDI_SETUP_AND_REGISTER doesn't get defined, and then there's a
5 mismatch in the definitions between zfs and the kernel source. The
6 offending bit in the configure log looks to be:
9 configure:17996: checking whether bdi_setup_and_register() is available
10 configure:18024: cp conftest.c build && make modules -C /usr/src/linux
12 M=/var/tmp/portage/sys-fs/zfs-kmod-0.6.2-r3/work/zfs-zfs-0.6.2/build
13 /var/tmp/portage/sys-fs/zfs-kmod-0.6.2-r3/work/zfs-zfs-0.6.2/build/conftest.c:
14 In function 'main':
15 /var/tmp/portage/sys-fs/zfs-kmod-0.6.2-r3/work/zfs-zfs-0.6.2/build/conftest.c:91:25:
16 error: ignoring return value of 'bdi_setup_and_register', declared with
17 attribute warn_unused_result [-Werror=unused-result]
18 bdi_setup_and_register(NULL, NULL, 0);
19 ^
21 Anyone else seeing this?


Subject Author
Re: [gentoo-user] Failure of zfs-kmod with 3.13.* kernel Neil Bothwick <neil@××××××××××.uk>