include/linux/compiler.h:183: undefined reference to `__tracepoint_vb2_buf_queue'
From: kbuild test robot
Date: Tue Feb 13 2018 - 04:07:48 EST
Hi Mauro,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 178e834c47b0d01352c48730235aae69898fbc02
commit: 03fbdb2fc2b8bb27b0ee0534fd3e9c57cdc3854a media: move videobuf2 to drivers/media/common
date: 7 weeks ago
config: x86_64-randconfig-s5-02131532 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
git checkout 03fbdb2fc2b8bb27b0ee0534fd3e9c57cdc3854a
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
drivers/media/common/videobuf/videobuf2-core.o: In function `__read_once_size':
>> include/linux/compiler.h:183: undefined reference to `__tracepoint_vb2_buf_queue'
>> include/linux/compiler.h:183: undefined reference to `__tracepoint_vb2_buf_queue'
>> include/linux/compiler.h:183: undefined reference to `__tracepoint_vb2_buf_queue'
>> include/linux/compiler.h:183: undefined reference to `__tracepoint_vb2_buf_queue'
>> include/linux/compiler.h:183: undefined reference to `__tracepoint_vb2_buf_done'
>> include/linux/compiler.h:183: undefined reference to `__tracepoint_vb2_buf_done'
>> include/linux/compiler.h:183: undefined reference to `__tracepoint_vb2_buf_done'
>> include/linux/compiler.h:183: undefined reference to `__tracepoint_vb2_buf_done'
>> include/linux/compiler.h:183: undefined reference to `__tracepoint_vb2_qbuf'
>> include/linux/compiler.h:183: undefined reference to `__tracepoint_vb2_qbuf'
>> include/linux/compiler.h:183: undefined reference to `__tracepoint_vb2_qbuf'
>> include/linux/compiler.h:183: undefined reference to `__tracepoint_vb2_qbuf'
>> include/linux/compiler.h:183: undefined reference to `__tracepoint_vb2_dqbuf'
>> include/linux/compiler.h:183: undefined reference to `__tracepoint_vb2_dqbuf'
>> include/linux/compiler.h:183: undefined reference to `__tracepoint_vb2_dqbuf'
>> include/linux/compiler.h:183: undefined reference to `__tracepoint_vb2_dqbuf'
drivers/media/common/videobuf/videobuf2-v4l2.o: In function `vb2_poll':
drivers/media/common/videobuf/videobuf2-v4l2.c:678: undefined reference to `video_devdata'
drivers/media/common/videobuf/videobuf2-v4l2.c:685: undefined reference to `v4l2_event_pending'
drivers/media/common/videobuf/videobuf2-v4l2.o: In function `vb2_ioctl_reqbufs':
drivers/media/common/videobuf/videobuf2-v4l2.c:714: undefined reference to `video_devdata'
drivers/media/common/videobuf/videobuf2-v4l2.o: In function `vb2_ioctl_create_bufs':
drivers/media/common/videobuf/videobuf2-v4l2.c:733: undefined reference to `video_devdata'
drivers/media/common/videobuf/videobuf2-v4l2.o: In function `vb2_ioctl_prepare_buf':
drivers/media/common/videobuf/videobuf2-v4l2.c:759: undefined reference to `video_devdata'
drivers/media/common/videobuf/videobuf2-v4l2.o: In function `vb2_ioctl_querybuf':
drivers/media/common/videobuf/videobuf2-v4l2.c:769: undefined reference to `video_devdata'
drivers/media/common/videobuf/videobuf2-v4l2.o: In function `vb2_ioctl_qbuf':
drivers/media/common/videobuf/videobuf2-v4l2.c:778: undefined reference to `video_devdata'
drivers/media/common/videobuf/videobuf2-v4l2.o:drivers/media/common/videobuf/videobuf2-v4l2.c:788: more undefined references to `video_devdata' follow
drivers/media/common/videobuf/videobuf2-v4l2.o: In function `_vb2_fop_release':
drivers/media/common/videobuf/videobuf2-v4l2.c:848: undefined reference to `v4l2_fh_release'
vim +183 include/linux/compiler.h
d976441f Andrey Ryabinin 2015-10-19 179
d976441f Andrey Ryabinin 2015-10-19 180 static __always_inline
d976441f Andrey Ryabinin 2015-10-19 181 void __read_once_size(const volatile void *p, void *res, int size)
230fa253 Christian Borntraeger 2014-11-25 182 {
d976441f Andrey Ryabinin 2015-10-19 @183 __READ_ONCE_SIZE;
230fa253 Christian Borntraeger 2014-11-25 184 }
d976441f Andrey Ryabinin 2015-10-19 185
:::::: The code at line 183 was first introduced by commit
:::::: d976441f44bc5d48635d081d277aa76556ffbf8b compiler, atomics, kasan: Provide READ_ONCE_NOCHECK()
:::::: TO: Andrey Ryabinin <aryabinin@xxxxxxxxxxxxx>
:::::: CC: Ingo Molnar <mingo@xxxxxxxxxx>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip