Re: v4.12-rc1 does not compile: xfs_file_iomap_begin/end undefined reference

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 18, 2017 at 07:16:05PM +0200, Julian Wollrath wrote:
> 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

Does the patch referenced in
https://marc.info/?l=linux-xfs&m=149493347832378&w=2
fix this too?

--D

> 
> with the following diff I do not get the error:
> --- .config.old	2017-05-18 17:45:44.621011682 +0200
> +++ .config	2017-05-18 19:06:56.608813894 +0200
> @@ -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
> 
> -- 
>  ()  ascii ribbon campaign - against html e-mail 
>  /\                        - against proprietary attachments


--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux