[xlnx:xlnx_rebase_v5.4 906/1762] ld.lld: error: duplicate symbol: dwc3_simple_check_quirks

From: kernel test robot <hidden>
Date: 2021-06-16 07:15:47
Also in: oe-kbuild-all

Hi Piyush,

FYI, the error/warning still remains.

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head:   d128303e4c53bcf7775c46771bf64c71596f3303
commit: 782658c51bbcd85a39a5d9a51b57224f185d7670 [906/1762] usb: dwc3: Correct errors when dwc3 loaded as module
config: x86_64-randconfig-a014-20210615 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 64720f57bea6a6bf033feef4a5751ab9c0c3b401)
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/782658c51bbcd85a39a5d9a51b57224f185d7670
        git remote add xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xlnx xlnx_rebase_v5.4
        git checkout 782658c51bbcd85a39a5d9a51b57224f185d7670
        # 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_check_quirks
   >>> defined at core.h:1434 (drivers/usb/dwc3/core.h:1434)
   >>> usb/dwc3/core.o:(dwc3_simple_check_quirks) in archive drivers/built-in.a
   >>> defined at core.h:1434 (drivers/usb/dwc3/core.h:1434)
   >>> usb/dwc3/trace.o:(.text+0x40) in archive drivers/built-in.a
--
quoted
ld.lld: error: duplicate symbol: dwc3_simple_check_quirks
   >>> defined at core.h:1434 (drivers/usb/dwc3/core.h:1434)
   >>> usb/dwc3/core.o:(dwc3_simple_check_quirks) in archive drivers/built-in.a
   >>> defined at core.h:1434 (drivers/usb/dwc3/core.h:1434)
   >>> usb/dwc3/host.o:(.text+0x40) in archive drivers/built-in.a
--
quoted
ld.lld: error: duplicate symbol: dwc3_simple_check_quirks
   >>> defined at core.h:1434 (drivers/usb/dwc3/core.h:1434)
   >>> usb/dwc3/core.o:(dwc3_simple_check_quirks) in archive drivers/built-in.a
   >>> defined at core.h:1434 (drivers/usb/dwc3/core.h:1434)
   >>> usb/dwc3/debugfs.o:(.text+0x40) in archive drivers/built-in.a

---
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