[hnaz-linux-mm:master 16/150] arch/nds32/include/asm/nds32.h:13:10: fatal error: nds32_intrinsic.h: No such file or directory
From: kernel test robot
Date: Tue Jul 20 2021 - 06:20:23 EST
tree: https://github.com/hnaz/linux-mm master
head: 90b6b859af7dc2d09c05d8d89144f55fca94e80c
commit: c1af5351189e92e8d4c666f636b51c0bfe262a27 [16/150] kbuild: decouple build from userspace headers
config: nds32-defconfig (attached as .config)
compiler: nds32le-linux-gcc (GCC) 10.3.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/hnaz/linux-mm/commit/c1af5351189e92e8d4c666f636b51c0bfe262a27
git remote add hnaz-linux-mm https://github.com/hnaz/linux-mm
git fetch --no-tags hnaz-linux-mm master
git checkout c1af5351189e92e8d4c666f636b51c0bfe262a27
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=nds32 prepare
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Note: the hnaz-linux-mm/master HEAD 90b6b859af7dc2d09c05d8d89144f55fca94e80c builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
In file included from arch/nds32/include/asm/irqflags.h:4,
from include/linux/irqflags.h:16,
from include/asm-generic/bitops.h:14,
from ./arch/nds32/include/generated/asm/bitops.h:1,
from include/linux/bitops.h:32,
from include/linux/log2.h:12,
from kernel/bounds.c:13:
>> arch/nds32/include/asm/nds32.h:13:10: fatal error: nds32_intrinsic.h: No such file or directory
13 | #include <nds32_intrinsic.h>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
--
In file included from arch/nds32/include/asm/irqflags.h:4,
from include/linux/irqflags.h:16,
from include/asm-generic/bitops.h:14,
from ./arch/nds32/include/generated/asm/bitops.h:1,
from include/linux/bitops.h:32,
from include/linux/log2.h:12,
from kernel/bounds.c:13:
>> arch/nds32/include/asm/nds32.h:13:10: fatal error: nds32_intrinsic.h: No such file or directory
13 | #include <nds32_intrinsic.h>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:117: kernel/bounds.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1209: prepare0] Error 2
make[1]: Target 'modules_prepare' not remade because of errors.
make: *** [Makefile:220: __sub-make] Error 2
make: Target 'modules_prepare' not remade because of errors.
--
In file included from arch/nds32/include/asm/irqflags.h:4,
from include/linux/irqflags.h:16,
from include/asm-generic/bitops.h:14,
from ./arch/nds32/include/generated/asm/bitops.h:1,
from include/linux/bitops.h:32,
from include/linux/log2.h:12,
from kernel/bounds.c:13:
>> arch/nds32/include/asm/nds32.h:13:10: fatal error: nds32_intrinsic.h: No such file or directory
13 | #include <nds32_intrinsic.h>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:117: kernel/bounds.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1209: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:220: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +13 arch/nds32/include/asm/nds32.h
e1d82de681fd79 Greentime Hu 2017-10-24 9
e1d82de681fd79 Greentime Hu 2017-10-24 10 #ifndef __ASSEMBLY__
e1d82de681fd79 Greentime Hu 2017-10-24 11 #include <linux/init.h>
e1d82de681fd79 Greentime Hu 2017-10-24 12 #include <asm/barrier.h>
e1d82de681fd79 Greentime Hu 2017-10-24 @13 #include <nds32_intrinsic.h>
e1d82de681fd79 Greentime Hu 2017-10-24 14
:::::: The code at line 13 was first introduced by commit
:::::: e1d82de681fd79e65f86912c7b231d88180ac8a4 nds32: Assembly macros and definitions
:::::: TO: Greentime Hu <greentime@xxxxxxxxxxxxx>
:::::: CC: Greentime Hu <greentime@xxxxxxxxxxxxx>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip