lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201802131720.jLACw5DF%fengguang.wu@intel.com>
Date:   Tue, 13 Feb 2018 17:07:24 +0800
From:   kbuild test robot <fengguang.wu@...el.com>
To:     Mauro Carvalho Chehab <m.chehab@...sung.com>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org,
        linux-media@...r.kernel.org
Subject: include/linux/compiler.h:183: undefined reference to
 `__tracepoint_vb2_buf_queue'

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@...tuozzo.com>
:::::: CC: Ingo Molnar <mingo@...nel.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (30658 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ