v4.12-rc1 does not compile: xfs_file_iomap_begin/end undefined reference
Hi,
v4.12-rc1 does not compile with the attached config. I get the following:fs/built-in.o: In function `xfs_file_iomap_end':
xfs_iomap.c:(.text+0xb7f75): undefined reference to put_dax' fs/built-in.o: In function xfs_file_iomap_begin':
xfs_iomap.c:(.text+0xb8802): undefined reference to `dax_get_by_host
with the following diff I do not get the error:
.config renamed from .config.old +2 -2
@@ -3362,7 +3362,7 @@ CONFIG_RAS=y # # CONFIG_ANDROID is not set # CONFIG_LIBNVDIMM is not set -CONFIG_DAX=m +CONFIG_DAX=y # CONFIG_DEV_DAX is not set # CONFIG_NVMEM is not set # CONFIG_STM is not set
@@ -3439,7 +3439,7 @@ CONFIG_XFS_POSIX_ACL=y # CONFIG_BTRFS_FS is not set # CONFIG_NILFS2_FS is not set # CONFIG_F2FS_FS is not set -# CONFIG_FS_DAX is not set +CONFIG_FS_DAX=y CONFIG_FS_POSIX_ACL=y CONFIG_EXPORTFS=y # CONFIG_EXPORTFS_BLOCK_OPS is not set
So I guess, there is some dependency on that option missing.
Best regards,
Julian Wollrath
Signature · 2 lines
() ascii ribbon campaign - against html e-mail /\ - against proprietary attachments
Quoted 8 lines · Julian Wollrath
Hi,
v4.12-rc1 does not compile with the attached config. I get the following:
fs/built-in.o: In function `xfs_file_iomap_end':
xfs_iomap.c:(.text+0xb7f75): undefined reference toput_dax' fs/built-in.o: In functionxfs_file_iomap_begin':
xfs_iomap.c:(.text+0xb8802): undefined reference to `dax_get_by_host
Does the patch referenced in
https://marc.info/?l=linux-xfs&m=149493347832378&w=2
fix this too?
--D
Quoted 32 lines
with the following diff I do not get the error:
.config renamed from .config.old +2
-2@@ -3362,7 +3362,7 @@ CONFIG_RAS=y # # CONFIG_ANDROID is not set # CONFIG_LIBNVDIMM is not set -CONFIG_DAX=m +CONFIG_DAX=y # CONFIG_DEV_DAX is not set # CONFIG_NVMEM is not set # CONFIG_STM is not set@@ -3439,7 +3439,7 @@ CONFIG_XFS_POSIX_ACL=y # CONFIG_BTRFS_FS is not set # CONFIG_NILFS2_FS is not set # CONFIG_F2FS_FS is not set -# CONFIG_FS_DAX is not set +CONFIG_FS_DAX=y CONFIG_FS_POSIX_ACL=y CONFIG_EXPORTFS=y # CONFIG_EXPORTFS_BLOCK_OPS is not setSo I guess, there is some dependency on that option missing.
Best regards,
Julian WollrathSignature · 2 lines
() ascii ribbon campaign - against html e-mail /\ - against proprietary attachments
Hi Darrick,
Am Thu, 18 May 2017 10:27:01 -0700
schrieb "Darrick J. Wong" <[email protected]>:
Quoted 11 lines · Julian Wollrath
Quoted 9 lines
Hi,
v4.12-rc1 does not compile with the attached config. I get the following:
fs/built-in.o: In function `xfs_file_iomap_end':
xfs_iomap.c:(.text+0xb7f75): undefined reference toput_dax' fs/built-in.o: In functionxfs_file_iomap_begin':
xfs_iomap.c:(.text+0xb8802): undefined reference to `dax_get_by_host
Quoted 3 lines
Does the patch referenced in
https://marc.info/?l=linux-xfs&m=149493347832378&w=2
fix this too?
yes, that patch fixes it too. Thank you.
Cheers,
Julian
Signature · 2 lines
() ascii ribbon campaign - against html e-mail /\ - against proprietary attachments