All of lore.kernel.org
 help / color / mirror / Atom feed
* [frank-w-bpi-r2-4.14:5.15-r2pro 33/44] ld.lld: error: duplicate symbol: rtl8366_enable_vlan
@ 2021-10-03 21:45 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-10-03 21:45 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2015 bytes --]

tree:   https://github.com/frank-w/BPI-R2-4.14 5.15-r2pro
head:   979af5cddf764f04ffac8b9b9b4ab8aa7958c420
commit: f22eb897c1dcf9012fdae439c0fac0821ace6274 [33/44] rtl8367: fix most unresolved symbols in openwrt driver
config: arm64-buildonly-randconfig-r004-20211004 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 57d9adefa04dc65096b8ba3e5763c15305676f73)
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 arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://github.com/frank-w/BPI-R2-4.14/commit/f22eb897c1dcf9012fdae439c0fac0821ace6274
        git remote add frank-w-bpi-r2-4.14 https://github.com/frank-w/BPI-R2-4.14
        git fetch --no-tags frank-w-bpi-r2-4.14 5.15-r2pro
        git checkout f22eb897c1dcf9012fdae439c0fac0821ace6274
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

>> ld.lld: error: duplicate symbol: rtl8366_enable_vlan
   >>> defined at rtl8366_smi.c
   >>> net/phy/rtl8366_smi.o:(rtl8366_enable_vlan) in archive drivers/built-in.a
   >>> defined at rtl8366.c
   >>> net/dsa/rtl8366.o:(.text+0x55C) in archive drivers/built-in.a
--
>> ld.lld: error: duplicate symbol: rtl8366_reset_vlan
   >>> defined at rtl8366_smi.c
   >>> net/phy/rtl8366_smi.o:(rtl8366_reset_vlan) in archive drivers/built-in.a
   >>> defined at rtl8366.c
   >>> net/dsa/rtl8366.o:(.text+0x5C4) in archive drivers/built-in.a

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 39553 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-03 21:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-03 21:45 [frank-w-bpi-r2-4.14:5.15-r2pro 33/44] ld.lld: error: duplicate symbol: rtl8366_enable_vlan kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.