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: <202205200215.BXfUN9Iw-lkp@intel.com>
Date:   Fri, 20 May 2022 02:58:46 +0800
From:   kernel test robot <lkp@...el.com>
To:     Hans Verkuil <hverkuil@...all.nl>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org,
        Ricardo Ribalda <ribalda@...omium.org>
Subject: [hverkuil-media-tree:for-v5.20a 23/29] ld.lld: error: undefined
 symbol: usb_control_msg

tree:   git://linuxtv.org/hverkuil/media_tree.git for-v5.20a
head:   e481d316b60f1d57e770f21dc5398d5dcff13ee6
commit: 308124c0301a5258078c2ffddd03cf3fb584d792 [23/29] media: stkwebcam: deprecate driver, move to staging
config: mips-randconfig-r005-20220519 (https://download.01.org/0day-ci/archive/20220520/202205200215.BXfUN9Iw-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project e00cbbec06c08dc616a0d52a20f678b8fbd4e304)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install mips cross compiling tool for clang build
        # apt-get install binutils-mips-linux-gnu
        git remote add hverkuil-media-tree git://linuxtv.org/hverkuil/media_tree.git
        git fetch --no-tags hverkuil-media-tree for-v5.20a
        git checkout 308124c0301a5258078c2ffddd03cf3fb584d792
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: usb_control_msg
   >>> referenced by stk-webcam.c:136 (drivers/staging/media/stkwebcam/stk-webcam.c:136)
   >>> staging/media/stkwebcam/stk-webcam.o:(stk_camera_write_reg) in archive drivers/built-in.a
   >>> referenced by stk-webcam.c:155 (drivers/staging/media/stkwebcam/stk-webcam.c:155)
   >>> staging/media/stkwebcam/stk-webcam.o:(stk_camera_read_reg) in archive drivers/built-in.a
   >>> referenced by stk-webcam.c:136 (drivers/staging/media/stkwebcam/stk-webcam.c:136)
   >>> staging/media/stkwebcam/stk-webcam.o:(stk_camera_resume) in archive drivers/built-in.a
   >>> referenced 16 more times
--
>> ld.lld: error: undefined symbol: usb_register_driver
   >>> referenced by stk-webcam.c:1434 (drivers/staging/media/stkwebcam/stk-webcam.c:1434)
   >>> staging/media/stkwebcam/stk-webcam.o:(stk_camera_driver_init) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: usb_free_urb
   >>> referenced by stk-webcam.c:488 (drivers/staging/media/stkwebcam/stk-webcam.c:488)
   >>> staging/media/stkwebcam/stk-webcam.o:(stk_allocate_buffers) in archive drivers/built-in.a
   >>> referenced by stk-webcam.c:508 (drivers/staging/media/stkwebcam/stk-webcam.c:508)
   >>> staging/media/stkwebcam/stk-webcam.o:(stk_clean_iso) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: usb_set_interface
   >>> referenced by stk-webcam.c:185 (drivers/staging/media/stkwebcam/stk-webcam.c:185)
   >>> staging/media/stkwebcam/stk-webcam.o:(stk_start_stream) in archive drivers/built-in.a
   >>> referenced by stk-webcam.c:230 (drivers/staging/media/stkwebcam/stk-webcam.c:230)
   >>> staging/media/stkwebcam/stk-webcam.o:(stk_stop_stream) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: usb_submit_urb
   >>> referenced by stk-webcam.c:205 (drivers/staging/media/stkwebcam/stk-webcam.c:205)
   >>> staging/media/stkwebcam/stk-webcam.o:(stk_start_stream) in archive drivers/built-in.a
   >>> referenced by stk-webcam.c:416 (drivers/staging/media/stkwebcam/stk-webcam.c:416)
   >>> staging/media/stkwebcam/stk-webcam.o:(stk_isoc_handler) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: usb_get_dev
   >>> referenced by stk-webcam.c:1317 (drivers/staging/media/stkwebcam/stk-webcam.c:1317)
   >>> staging/media/stkwebcam/stk-webcam.o:(stk_camera_probe) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: usb_get_intf
   >>> referenced by stk-webcam.c:1319 (drivers/staging/media/stkwebcam/stk-webcam.c:1319)
   >>> staging/media/stkwebcam/stk-webcam.o:(stk_camera_probe) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: usb_put_intf
   >>> referenced by stk-webcam.c:1372 (drivers/staging/media/stkwebcam/stk-webcam.c:1372)
   >>> staging/media/stkwebcam/stk-webcam.o:(stk_camera_probe) in archive drivers/built-in.a
   >>> referenced by stk-webcam.c:1236 (drivers/staging/media/stkwebcam/stk-webcam.c:1236)
   >>> staging/media/stkwebcam/stk-webcam.o:(stk_v4l_dev_release) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: usb_put_dev
   >>> referenced by stk-webcam.c:1373 (drivers/staging/media/stkwebcam/stk-webcam.c:1373)
   >>> staging/media/stkwebcam/stk-webcam.o:(stk_camera_probe) in archive drivers/built-in.a
   >>> referenced by stk-webcam.c:1237 (drivers/staging/media/stkwebcam/stk-webcam.c:1237)
   >>> staging/media/stkwebcam/stk-webcam.o:(stk_v4l_dev_release) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: usb_autopm_get_interface
   >>> referenced by stk-webcam.c:628 (drivers/staging/media/stkwebcam/stk-webcam.c:628)
   >>> staging/media/stkwebcam/stk-webcam.o:(v4l_stk_open) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: usb_autopm_put_interface
   >>> referenced by stk-webcam.c:646 (drivers/staging/media/stkwebcam/stk-webcam.c:646)
   >>> staging/media/stkwebcam/stk-webcam.o:(v4l_stk_release) in archive drivers/built-in.a
..

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ