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

kernel test robot lkp at intel.com
Wed Jun 16 00:13:24 PDT 2021


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 <lkp at intel.com>

All errors (new ones prefixed by >>):

>> 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
--
>> 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
--
>> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 34683 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210616/2778a140/attachment-0001.gz>


More information about the linux-arm-kernel mailing list