arch/mips/include/asm/page.h:12:10: fatal error: spaces.h: No such file or directory

From: kbuild test robot
Date: Mon May 20 2019 - 15:57:30 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a188339ca5a396acc588e5851ed7e19f66b0ebd9
commit: 9cc342f6c4a06ea613ddef1bcaa25409260aec63 treewide: prefix header search paths with $(srctree)/
date: 3 days ago
config: mips-pnx8335_stb225_defconfig (attached as .config)
compiler: mipsel-linux-gcc (GCC) 7.2.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 9cc342f6c4a06ea613ddef1bcaa25409260aec63
# save the attached .config to linux build tree
GCC_VERSION=7.2.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 arch/mips/vdso/vdso.h:26:0,
from arch/mips/vdso/gettimeofday.c:11:
>> arch/mips/include/asm/page.h:12:10: fatal error: spaces.h: No such file or directory
#include <spaces.h>
^~~~~~~~~~
compilation terminated.

vim +12 arch/mips/include/asm/page.h

^1da177e include/asm-mips/page.h Linus Torvalds 2005-04-16 11
^1da177e include/asm-mips/page.h Linus Torvalds 2005-04-16 @12 #include <spaces.h>
99502d94 arch/mips/include/asm/page.h Nelson Elhage 2009-07-31 13 #include <linux/const.h>
75b5b5e0 arch/mips/include/asm/page.h Leonid Yegoshin 2013-11-14 14 #include <linux/kernel.h>
75b5b5e0 arch/mips/include/asm/page.h Leonid Yegoshin 2013-11-14 15 #include <asm/mipsregs.h>
^1da177e include/asm-mips/page.h Linus Torvalds 2005-04-16 16

:::::: The code at line 12 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip