* [peterz-queue:master 6/9] include/linux/compiler.h:226:2: error: implicit declaration of function 'kcsan_check_atomic_read'; did you mean 'kasan_check_read'?
@ 2020-03-21 17:54 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-03-21 17:54 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3145 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git master
head: 2223626b0c4a9aa7e2c458a3d4b8ae7744fcd3eb
commit: 3cb212d2ed8b52fe3cabafd4ed1f3d3d2e3f24c4 [6/9] Merge branch 'locking/atomics'
config: nios2-3c120_defconfig (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.2.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 3cb212d2ed8b52fe3cabafd4ed1f3d3d2e3f24c4
# save the attached .config to linux build tree
GCC_VERSION=9.2.0 make.cross ARCH=nios2
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from include/asm-generic/bug.h:5,
from ./arch/nios2/include/generated/asm/bug.h:1,
from include/linux/bug.h:5,
from include/linux/page-flags.h:10,
from kernel/bounds.c:10:
include/linux/atomic-fallback.h: In function 'atomic_read_acquire':
>> 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)); \
| ^~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/barrier.h:186:37: note: in expansion of macro 'READ_ONCE'
186 | __unqual_scalar_typeof(*p) ___p1 = READ_ONCE(*p); \
| ^~~~~~~~~
include/linux/atomic-fallback.h:84:9: note: in expansion of macro 'smp_load_acquire'
84 | return smp_load_acquire(&(v)->counter);
| ^~~~~~~~~~~~~~~~
include/linux/atomic-fallback.h: In function 'atomic_set_release':
include/linux/compiler.h:238:2: error: implicit declaration of function 'kcsan_check_atomic_write'; did you mean 'kasan_check_write'? [-Werror=implicit-function-declaration]
238 | kcsan_check_atomic_write(&(x), sizeof(x)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/barrier.h:179:2: note: in expansion of macro 'WRITE_ONCE'
179 | WRITE_ONCE(*p, v); \
| ^~~~~~~~~~
include/linux/atomic-fallback.h:93:2: note: in expansion of macro 'smp_store_release'
93 | smp_store_release(&(v)->counter, i);
| ^~~~~~~~~~~~~~~~~
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
23 real 9 user 13 sys 93.81% 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(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 9697 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-03-21 17:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-21 17:54 [peterz-queue:master 6/9] include/linux/compiler.h:226:2: error: implicit declaration of function 'kcsan_check_atomic_read'; did you mean 'kasan_check_read'? kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.