lkml.org 
[lkml]   [2022]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[ammarfaizi2-block:google/android/kernel/common/android12-5.10-m2107 1249/8698] arch/mips/include/asm/page.h:12:10: fatal error: spaces.h: No such file or directory
Hi Sami,

FYI, the error/warning still remains.

tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android12-5.10-m2107
head: 6b5101a5720784d91a53168bfbc90c940ee6817f
commit: 08f67ef189ecce0f8330e53e5b78157f1b5afa19 [1249/8698] ANDROID: module: cfi: ensure __cfi_check alignment
config: mips-allmodconfig (https://download.01.org/0day-ci/archive/20220108/202201082026.uKMX15sB-lkp@intel.com/config)
compiler: mips-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/ammarfaizi2/linux-block/commit/08f67ef189ecce0f8330e53e5b78157f1b5afa19
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android12-5.10-m2107
git checkout 08f67ef189ecce0f8330e53e5b78157f1b5afa19
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=mips modules_prepare

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

In file included from scripts/module.lds.S:6:
>> arch/mips/include/asm/page.h:12:10: fatal error: spaces.h: No such file or directory
12 | #include <spaces.h>
| ^~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:367: scripts/module.lds] Error 1
make[1]: *** [Makefile:1469: modules_prepare] Error 2
make: *** [Makefile:185: __sub-make] Error 2
make: Target 'modules_prepare' not remade because of errors.


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

^1da177e4c3f41 include/asm-mips/page.h Linus Torvalds 2005-04-16 11
^1da177e4c3f41 include/asm-mips/page.h Linus Torvalds 2005-04-16 @12 #include <spaces.h>
99502d94c3649c arch/mips/include/asm/page.h Nelson Elhage 2009-07-31 13 #include <linux/const.h>
75b5b5e0a26279 arch/mips/include/asm/page.h Leonid Yegoshin 2013-11-14 14 #include <linux/kernel.h>
75b5b5e0a26279 arch/mips/include/asm/page.h Leonid Yegoshin 2013-11-14 15 #include <asm/mipsregs.h>
^1da177e4c3f41 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@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

\
 
 \ /
  Last update: 2022-01-08 13:27    [W:0.039 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site