[xlnx:master 9598/10513] ld.lld: error: duplicate symbol: dwc3_simple_wakeup_capable

From: kernel test robot <hidden>
Date: 2021-03-03 17:27:29
Also in: oe-kbuild-all

tree:   https://github.com/Xilinx/linux-xlnx master
head:   11fb963a44f50af56ff7017fe808ff83b3ae4716
commit: d428092fcbb4753e0882f1d07084b6da0623e437 [9598/10513] usb: dwc3: Add support for removing vbus when suspended
config: x86_64-randconfig-r024-20210302 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 5de09ef02e24d234d9fc0cd1c6dfe18a1bb784b0)
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 x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://github.com/Xilinx/linux-xlnx/commit/d428092fcbb4753e0882f1d07084b6da0623e437
        git remote add xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xlnx master
        git checkout d428092fcbb4753e0882f1d07084b6da0623e437
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <redacted>

All errors (new ones prefixed by >>):
quoted
ld.lld: error: duplicate symbol: dwc3_simple_wakeup_capable
   >>> defined at core.h:1427 (drivers/usb/dwc3/core.h:1427)
   >>> drivers/usb/dwc3/core.o:(dwc3_simple_wakeup_capable)
   >>> defined at core.h:1427 (drivers/usb/dwc3/core.h:1427)
   >>> drivers/usb/dwc3/trace.o:(.text+0x0)
--
quoted
ld.lld: error: duplicate symbol: dwc3_set_simple_data
   >>> defined at core.h:1429 (drivers/usb/dwc3/core.h:1429)
   >>> drivers/usb/dwc3/core.o:(dwc3_set_simple_data)
   >>> defined at core.h:1429 (drivers/usb/dwc3/core.h:1429)
   >>> drivers/usb/dwc3/trace.o:(.text+0x10)
--
quoted
ld.lld: error: duplicate symbol: dwc3_simple_wakeup_capable
   >>> defined at core.h:1427 (drivers/usb/dwc3/core.h:1427)
   >>> drivers/usb/dwc3/core.o:(dwc3_simple_wakeup_capable)
   >>> defined at core.h:1427 (drivers/usb/dwc3/core.h:1427)
   >>> drivers/usb/dwc3/gadget.o:(.text+0x0)
--
quoted
ld.lld: error: duplicate symbol: dwc3_set_simple_data
   >>> defined at core.h:1429 (drivers/usb/dwc3/core.h:1429)
   >>> drivers/usb/dwc3/core.o:(dwc3_set_simple_data)
   >>> defined at core.h:1429 (drivers/usb/dwc3/core.h:1429)
   >>> drivers/usb/dwc3/gadget.o:(.text+0x10)
--
quoted
ld.lld: error: duplicate symbol: dwc3_simple_wakeup_capable
   >>> defined at core.h:1427 (drivers/usb/dwc3/core.h:1427)
   >>> drivers/usb/dwc3/core.o:(dwc3_simple_wakeup_capable)
   >>> defined at core.h:1427 (drivers/usb/dwc3/core.h:1427)
   >>> drivers/usb/dwc3/ep0.o:(.text+0x0)
--
quoted
ld.lld: error: duplicate symbol: dwc3_set_simple_data
   >>> defined at core.h:1429 (drivers/usb/dwc3/core.h:1429)
   >>> drivers/usb/dwc3/core.o:(dwc3_set_simple_data)
   >>> defined at core.h:1429 (drivers/usb/dwc3/core.h:1429)
   >>> drivers/usb/dwc3/ep0.o:(.text+0x10)
--
quoted
ld.lld: error: duplicate symbol: dwc3_simple_wakeup_capable
   >>> defined at core.h:1427 (drivers/usb/dwc3/core.h:1427)
   >>> drivers/usb/dwc3/core.o:(dwc3_simple_wakeup_capable)
   >>> defined at core.h:1427 (drivers/usb/dwc3/core.h:1427)
   >>> drivers/usb/dwc3/ulpi.o:(.text+0x0)
--
quoted
ld.lld: error: duplicate symbol: dwc3_set_simple_data
   >>> defined at core.h:1429 (drivers/usb/dwc3/core.h:1429)
   >>> drivers/usb/dwc3/core.o:(dwc3_set_simple_data)
   >>> defined at core.h:1429 (drivers/usb/dwc3/core.h:1429)
   >>> drivers/usb/dwc3/ulpi.o:(.text+0x10)
--
quoted
ld.lld: error: duplicate symbol: dwc3_simple_wakeup_capable
   >>> defined at core.h:1427 (drivers/usb/dwc3/core.h:1427)
   >>> drivers/usb/dwc3/core.o:(dwc3_simple_wakeup_capable)
   >>> defined at core.h:1427 (drivers/usb/dwc3/core.h:1427)
   >>> drivers/usb/dwc3/debugfs.o:(.text+0x0)
--
quoted
ld.lld: error: duplicate symbol: dwc3_set_simple_data
   >>> defined at core.h:1429 (drivers/usb/dwc3/core.h:1429)
   >>> drivers/usb/dwc3/core.o:(dwc3_set_simple_data)
   >>> defined at core.h:1429 (drivers/usb/dwc3/core.h:1429)
   >>> drivers/usb/dwc3/debugfs.o:(.text+0x10)

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help