[mingo-tip:master 626/2335] include/asm-generic/barrier.h:16:10: fatal error: 'asm/vdso/processor.h' file not found

From: kernel test robot
Date: Tue Mar 15 2022 - 19:49:27 EST


tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git master
head: 85293bf3fca6d85608cff1447ce3097583f15fab
commit: 708c40d754d1dc6e28031a2c4d86adce8f27b85b [626/2335] headers/deps: Add header dependencies to .h files: <asm/vdso/processor.h>
config: hexagon-buildonly-randconfig-r002-20220313 (https://download.01.org/0day-ci/archive/20220316/202203160705.I01UYyP2-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project a6b2f50fb47da3baeee10b1906da6e30ac5d26ec)
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://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=708c40d754d1dc6e28031a2c4d86adce8f27b85b
git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
git fetch --no-tags mingo-tip master
git checkout 708c40d754d1dc6e28031a2c4d86adce8f27b85b
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon prepare

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

All errors (new ones prefixed by >>):

In file included from kernel/bounds.c:13:
In file included from include/linux/log2.h:12:
In file included from include/linux/bitops.h:28:
In file included from arch/hexagon/include/asm/bitops.h:13:
In file included from arch/hexagon/include/asm/atomic.h:13:
In file included from ./arch/hexagon/include/generated/asm/barrier.h:1:
>> include/asm-generic/barrier.h:16:10: fatal error: 'asm/vdso/processor.h' file not found
#include <asm/vdso/processor.h>
^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [scripts/Makefile.build:121: kernel/bounds.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1191: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:219: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.


vim +16 include/asm-generic/barrier.h

15
> 16 #include <asm/vdso/processor.h>
17 #include <linux/compiler.h>
18 #include <linux/kcsan-checks.h>
19 #include <asm/rwonce.h>
20

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