[meghadey-crypto:d_msix 1/1] ld.lld: error: duplicate symbol: pci_add_msix_irq_vectors

From: kernel test robot
Date: Fri Aug 27 2021 - 02:48:21 EST


tree: https://github.com/meghadey/crypto d_msix
head: fe0d346f093182500992e4d7d25b4ebff5de49b1
commit: fe0d346f093182500992e4d7d25b4ebff5de49b1 [1/1] PCI/MSI: Dynamic allocation of MSI-X vectors
config: i386-buildonly-randconfig-r004-20210827 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 1076082a0d97bd5c16a25ee7cf3dbb6ee4b5a9fe)
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
# https://github.com/meghadey/crypto/commit/fe0d346f093182500992e4d7d25b4ebff5de49b1
git remote add meghadey-crypto https://github.com/meghadey/crypto
git fetch --no-tags meghadey-crypto d_msix
git checkout fe0d346f093182500992e4d7d25b4ebff5de49b1
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=i386 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

>> ld.lld: error: duplicate symbol: pci_add_msix_irq_vectors
>>> defined at object.c
>>> drivers/gpu/drm/nouveau/nvif/object.o:(pci_add_msix_irq_vectors)
>>> defined at client.c
>>> drivers/gpu/drm/nouveau/nvif/client.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: pci_add_msix_irq_vectors
>>> defined at object.c
>>> drivers/gpu/drm/nouveau/nvif/object.o:(pci_add_msix_irq_vectors)
>>> defined at device.c
>>> drivers/gpu/drm/nouveau/nvif/device.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: pci_add_msix_irq_vectors
>>> defined at object.c
>>> drivers/gpu/drm/nouveau/nvif/object.o:(pci_add_msix_irq_vectors)
>>> defined at user.c
>>> drivers/gpu/drm/nouveau/nvif/user.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: pci_add_msix_irq_vectors
>>> defined at object.c
>>> drivers/gpu/drm/nouveau/nvif/object.o:(pci_add_msix_irq_vectors)
>>> defined at userc361.c
>>> drivers/gpu/drm/nouveau/nvif/userc361.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: pci_add_msix_irq_vectors
>>> defined at object.c
>>> drivers/gpu/drm/nouveau/nvif/object.o:(pci_add_msix_irq_vectors)
>>> defined at client.c
>>> drivers/gpu/drm/nouveau/nvkm/core/client.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: pci_add_msix_irq_vectors
>>> defined at object.c
>>> drivers/gpu/drm/nouveau/nvif/object.o:(pci_add_msix_irq_vectors)
>>> defined at engine.c
>>> drivers/gpu/drm/nouveau/nvkm/core/engine.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: pci_add_msix_irq_vectors
>>> defined at object.c
>>> drivers/gpu/drm/nouveau/nvif/object.o:(pci_add_msix_irq_vectors)
>>> defined at enum.c
>>> drivers/gpu/drm/nouveau/nvkm/core/enum.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: pci_add_msix_irq_vectors
>>> defined at object.c
>>> drivers/gpu/drm/nouveau/nvif/object.o:(pci_add_msix_irq_vectors)
>>> defined at event.c
>>> drivers/gpu/drm/nouveau/nvkm/core/event.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: pci_add_msix_irq_vectors
>>> defined at object.c
>>> drivers/gpu/drm/nouveau/nvif/object.o:(pci_add_msix_irq_vectors)
>>> defined at firmware.c
>>> drivers/gpu/drm/nouveau/nvkm/core/firmware.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: pci_add_msix_irq_vectors
>>> defined at object.c
>>> drivers/gpu/drm/nouveau/nvif/object.o:(pci_add_msix_irq_vectors)
>>> defined at gpuobj.c
>>> drivers/gpu/drm/nouveau/nvkm/core/gpuobj.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: pci_add_msix_irq_vectors
>>> defined at object.c
>>> drivers/gpu/drm/nouveau/nvif/object.o:(pci_add_msix_irq_vectors)
>>> defined at ioctl.c
>>> drivers/gpu/drm/nouveau/nvkm/core/ioctl.o:(.text+0x0)
..

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

Attachment: .config.gz
Description: application/gzip