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: |
7 |
|
8 |
|
9 |
configure:17996: checking whether bdi_setup_and_register() is available |
10 |
configure:18024: cp conftest.c build && make modules -C /usr/src/linux |
11 |
EXTRA_CFLAGS=-Werror |
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 |
^ |
20 |
|
21 |
Anyone else seeing this? |