tree:
https://android.googlesource.com/kernel/common android-5.4
head: 7f84f8f1841844015ce11c0606d4e57b75533604
commit: 2b3f7bf08d3db5471d541868f201e2209cb26079 [16/36] BACKPORT: linux/clocksource.h: Extract common header for vDSO
config: mips-randconfig-a001-20200428 (attached as .config)
compiler: clang version 11.0.0 (
https://github.com/llvm/llvm-project f30416fdde922eaa655934e050026930fefbd260)
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
git checkout 2b3f7bf08d3db5471d541868f201e2209cb26079
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <
l...@intel.com>
All errors (new ones prefixed by >>):
In file included from fs/proc/stat.c:15:
In file included from include/linux/tick.h:8:
In file included from include/linux/clockchips.h:14:
In file included from include/linux/clocksource.h:30:
>> include/vdso/clocksource.h:9:10: fatal error: 'asm/vdso/clocksource.h' file not found
#include <asm/vdso/clocksource.h>
^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
vim +9 include/vdso/clocksource.h
6
7 #if defined(CONFIG_ARCH_CLOCKSOURCE_DATA) || \
8 defined(CONFIG_GENERIC_GETTIMEOFDAY)
> 9 #include <asm/vdso/clocksource.h>
10 #endif /* CONFIG_ARCH_CLOCKSOURCE_DATA || CONFIG_GENERIC_GETTIMEOFDAY */
11
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuil...@lists.01.org