From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [peterz-queue:master 9/12] include/linux/compiler.h:238:2: error: implicit declaration of function 'kcsan_check_atomic_write'; did you mean
Date: Thu, 26 Mar 2020 03:37:53 +0800 [thread overview]
Message-ID: <202003260350.Ke3OJdMY%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3667 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git master
head: 642c66088a62792c062eb231547abb67c4bee23c
commit: 275aa4fd26b071cbdec37ee3b8e700da2d39dbbe [9/12] Merge branch 'locking/atomics'
config: m68k-allmodconfig (attached as .config)
compiler: m68k-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 275aa4fd26b071cbdec37ee3b8e700da2d39dbbe
# save the attached .config to linux build tree
GCC_VERSION=9.2.0 make.cross ARCH=m68k
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
WARNING: unmet direct dependencies detected for NEED_MULTIPLE_NODES
Depends on DISCONTIGMEM || NUMA
Selected by
- SINGLE_MEMORY_CHUNK && MMU
In file included from include/linux/kernel.h:11,
from include/linux/list.h:9,
from include/linux/rculist.h:10,
from include/linux/pid.h:5,
from include/linux/sched.h:14,
from arch/m68k/kernel/asm-offsets.c:15:
include/linux/list.h: In function 'INIT_LIST_HEAD':
>> include/linux/compiler.h:238:2: error: implicit declaration of function 'kcsan_check_atomic_write'; did you mean
238 | kcsan_check_atomic_write(&(x), sizeof(x)); | ^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/list.h:35:2: note: in expansion of macro 'WRITE_ONCE'
35 | WRITE_ONCE(list->next, list);
| ^~~~~~~~~~
include/linux/list.h: In function 'list_empty':
>> include/linux/compiler.h:226:2: error: implicit declaration of function 'kcsan_check_atomic_read'; did you mean
226 | kcsan_check_atomic_read(&(x), sizeof(x)); | ^~~~~~~~~~~~~~~~~~~~~~~
include/linux/list.h:282:9: note: in expansion of macro 'READ_ONCE'
282 | return READ_ONCE(head->next) == head;
| ^~~~~~~~~
cc1: some warnings being treated as errors
Makefile Module.symvers System.map arch block certs crypto drivers fs include init ipc kernel lib mm modules.builtin modules.builtin.modinfo modules.order net scripts security sound source usr virt vmlinux vmlinux.gz vmlinux.o [scripts/Makefile.build:101: arch/m68k/kernel/asm-offsets.s] Error 1
Target '__build' not remade because of errors.
Makefile Module.symvers System.map arch block certs crypto drivers fs include init ipc kernel lib mm modules.builtin modules.builtin.modinfo modules.order net scripts security sound source usr virt vmlinux vmlinux.gz vmlinux.o [Makefile:1114: prepare0] Error 2
Target 'prepare' not remade because of errors.
make: Makefile Module.symvers System.map arch block certs crypto drivers fs include init ipc kernel lib mm modules.builtin modules.builtin.modinfo modules.order net scripts security sound source usr virt vmlinux vmlinux.gz vmlinux.o [Makefile:180: sub-make] Error 2
16 real 6 user 7 sys 89.10% cpu make prepare
vim +/kcsan_check_atomic_write +238 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
230 #define __WRITE_ONCE(x, val) \
231 do { \
232 *(volatile typeof(x) *)&(x) = (val); \
233 } while (0)
234
235 #define WRITE_ONCE(x, val) \
236 do { \
237 compiletime_assert_rwonce_type(x); \
> 238 kcsan_check_atomic_write(&(x), sizeof(x)); \
239 __WRITE_ONCE(x, val); \
240 } while (0)
241
---
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: 52806 bytes --]
reply other threads:[~2020-03-25 19:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202003260350.Ke3OJdMY%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.