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

From: Abdul Haleem <[email-masked]>
Date: Thu, 18 May 2017 15:02:24 +0530

On Tue, 2017-05-16 at 13:17 +0200, Arnd Bergmann wrote:
> On Tue, May 16, 2017 at 1:02 PM, Abdul Haleem
> <[email-masked]> 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
> 

Arnd,

With the given patch, kernel build and boot is fine on ppc.

Thanks Dan, for the patch!

Tested-by : Abdul Haleem <[email-masked]>

-- 
Regard's

Abdul Haleem
IBM Linux Technology Centre