Re: Mainline build brakes on powerpc with error : fs/xfs/xfs_iomap.c:1152: undefined reference to `.put_dax

From: Arnd Bergmann
Date: Tue May 16 2017 - 07:17:50 EST


On Tue, May 16, 2017 at 1:02 PM, Abdul Haleem
<abdhalee@xxxxxxxxxxxxxxxxxx> wrote:
> Hi,
>
> Today's mainline 4.12-rc1 fails to build for the attached configuration
> file on Power7 box with below errors.
>
> $ make
> fs/built-in.o: In function `xfs_file_iomap_end':
> fs/xfs/xfs_iomap.c:1152: undefined reference to `.put_dax'
> fs/built-in.o: In function `xfs_file_iomap_begin':
> fs/xfs/xfs_iomap.c:1071: undefined reference to `.dax_get_by_host'
>
> Also reproducible on latest linux-next, and the last successful build
> was at next-20170510.

This should be fixed by https://patchwork.kernel.org/patch/9725515/

Arnd