tree:
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git master
head: 31ca88ecbfa2c7cae4c90c52e6e885b934526474
commit: ae669d2e16cb9198a61036ad19e1cce341c7057c [8/11] Merge branch
'locking/atomics'
config: parisc-allnoconfig (attached as .config)
compiler: hppa-linux-gcc (GCC) 9.3.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 ae669d2e16cb9198a61036ad19e1cce341c7057c
# save the attached .config to linux build tree
GCC_VERSION=9.3.0 make.cross ARCH=parisc
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/kernel.h:11,
from arch/parisc/include/asm/bug.h:5,
from include/linux/bug.h:5,
from include/linux/page-flags.h:10,
from kernel/bounds.c:10:
arch/parisc/include/asm/atomic.h: In function 'atomic_read':
> include/linux/compiler.h:226:2: error: implicit declaration of
function 'kcsan_check_atomic_read'; did you mean 'kasan_check_read'?
[-Werror=implicit-function-declaration]
226 |
kcsan_check_atomic_read(&(x), sizeof(x)); \
| ^~~~~~~~~~~~~~~~~~~~~~~
arch/parisc/include/asm/atomic.h:73:9: note: in expansion of macro 'READ_ONCE'
73 | return READ_ONCE((v)->counter);
| ^~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:101: kernel/bounds.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1114: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:180: sub-make] Error 2
22 real 6 user 10 sys 76.73% cpu make prepare
vim +226 include/linux/compiler.h
224
225 #define READ_ONCE(x) ({ \
226 kcsan_check_atomic_read(&(x), sizeof(x)); \
227 READ_ONCE_NOCHECK(x); \
228 })
229
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org