[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202201191332.VN9sH3bm-lkp@intel.com>
Date: Wed, 19 Jan 2022 13:16:13 +0800
From: kernel test robot <lkp@...el.com>
To: Matteo Croce <mcroce@...rosoft.com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org,
Emil Renner Berthing <kernel@...il.dk>
Subject: [esmil:visionfive 19/80] ld.lld: error: duplicate symbol: memcpy
tree: https://github.com/esmil/linux visionfive
head: e46c3a7e373e6faa03399f1a41c29cf7546c37cb
commit: 7c451b4efc456af4a20559eb4108b7f21b4c98b2 [19/80] riscv: optimized memcpy
config: riscv-randconfig-r042-20220118 (https://download.01.org/0day-ci/archive/20220119/202201191332.VN9sH3bm-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project f7b7138a62648f4019c55e4671682af1f851f295)
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 riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://github.com/esmil/linux/commit/7c451b4efc456af4a20559eb4108b7f21b4c98b2
git remote add esmil https://github.com/esmil/linux
git fetch --no-tags esmil visionfive
git checkout 7c451b4efc456af4a20559eb4108b7f21b4c98b2
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> ld.lld: error: duplicate symbol: memcpy
>>> defined at shadow.c
>>> kasan/shadow.o:(memcpy) in archive mm/built-in.a
>>> defined at string.c
>>> string.o:(.text+0x4DA) in archive lib/lib.a
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists