On Thu, Jul 25, 2019 at 11:19 AM kbuild test robot <lkp@xxxxxxxxx> wrote: > > tree: git://git.cmpxchg.org/linux-mmotm.git master > head: 79b3e476080beb7faf41bddd6c3d7059cd1a5f31 > commit: b7ee4976128763d63714958ad3cb32a6e85554a1 [16/120] page flags: prioritize kasan bits over last-cpuid > config: mips-fuloong2e_defconfig (attached as .config) > compiler: mips64el-linux-gcc (GCC) 7.4.0 > reproduce: > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > git checkout b7ee4976128763d63714958ad3cb32a6e85554a1 > # save the attached .config to linux build tree > GCC_VERSION=7.4.0 make.cross ARCH=mips > > If you fix the issue, kindly add following tag > Reported-by: kbuild test robot <lkp@xxxxxxxxx> > > All errors (new ones prefixed by >>): > > In file included from include/linux/mm_types.h:15:0, > from arch/mips/include/asm/vdso.h:10, > from arch/mips/vdso/vdso.h:23, > from arch/mips/vdso/gettimeofday.c:7: > >> include/linux/page-flags-layout.h:95:2: error: #error "Not enough bits in page flags" > #error "Not enough bits in page flags" > ^~~~~ > > vim +95 include/linux/page-flags-layout.h I have reproduced the problem and found a solution, adding this in fixes the build again. Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx> diff --git a/arch/mips/vdso/vdso.h b/arch/mips/vdso/vdso.h index 14b1931be69c..b65b169778e3 100644 --- a/arch/mips/vdso/vdso.h +++ b/arch/mips/vdso/vdso.h @@ -9,6 +9,7 @@ #if _MIPS_SIM != _MIPS_SIM_ABI64 && defined(CONFIG_64BIT) /* Building 32-bit VDSO for the 64-bit kernel. Fake a 32-bit Kconfig. */ +#define BUILD_VDSO32_64 #undef CONFIG_64BIT #define CONFIG_32BIT 1 #ifndef __ASSEMBLY__