[linux-next:master 12360/13468] ld.lld: error: duplicate symbol: mlx5_lag_mpesw_init

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   18ecd30af1a8402c162cca1bd58771c0e5be7815
commit: 94db3317781922ba52722c58061e0e8517d4d80d [12360/13468] net/mlx5: Support multiport eswitch mode
config: i386-randconfig-a015 (https://download.01.org/0day-ci/archive/20220521/202205210606.9cfByU2R-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project e00cbbec06c08dc616a0d52a20f678b8fbd4e304)
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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=94db3317781922ba52722c58061e0e8517d4d80d
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 94db3317781922ba52722c58061e0e8517d4d80d
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

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

Note: the linux-next/master HEAD 18ecd30af1a8402c162cca1bd58771c0e5be7815 builds fine.
      It may have been fixed somewhere.

All errors (new ones prefixed by >>):

>> ld.lld: error: duplicate symbol: mlx5_lag_mpesw_init
   >>> defined at mpesw.h:22 (drivers/net/ethernet/mellanox/mlx5/core/lag/mpesw.h:22)
   >>> net/ethernet/mellanox/mlx5/core/lag/debugfs.o:(mlx5_lag_mpesw_init) in archive drivers/built-in.a
   >>> defined at mpesw.h:22 (drivers/net/ethernet/mellanox/mlx5/core/lag/mpesw.h:22)
   >>> net/ethernet/mellanox/mlx5/core/lag/lag.o:(.text+0x0) in archive drivers/built-in.a
--
>> ld.lld: error: duplicate symbol: mlx5_lag_mpesw_cleanup
   >>> defined at mpesw.h:23 (drivers/net/ethernet/mellanox/mlx5/core/lag/mpesw.h:23)
   >>> net/ethernet/mellanox/mlx5/core/lag/debugfs.o:(mlx5_lag_mpesw_cleanup) in archive drivers/built-in.a
   >>> defined at mpesw.h:23 (drivers/net/ethernet/mellanox/mlx5/core/lag/mpesw.h:23)
   >>> net/ethernet/mellanox/mlx5/core/lag/lag.o:(.text+0x5) in archive drivers/built-in.a

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux