From: kernel test robot <lkp@intel.com>
To: Eli Cohen <elic@nvidia.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
Linux Memory Management List <linux-mm@kvack.org>,
Saeed Mahameed <saeedm@nvidia.com>,
Mark Bloch <mbloch@nvidia.com>
Subject: [linux-next:master 12360/13468] ld.lld: error: duplicate symbol: mlx5_lag_mpesw_init
Date: Sat, 21 May 2022 06:44:47 +0800 [thread overview]
Message-ID: <202205210606.9cfByU2R-lkp@intel.com> (raw)
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@intel.com/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@intel.com>
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
reply other threads:[~2022-05-20 22:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202205210606.9cfByU2R-lkp@intel.com \
--to=lkp@intel.com \
--cc=elic@nvidia.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-mm@kvack.org \
--cc=llvm@lists.linux.dev \
--cc=mbloch@nvidia.com \
--cc=saeedm@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).