[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202201191516.DcDnH6lu-lkp@intel.com>
Date: Wed, 19 Jan 2022 15:20:28 +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 21/80] ld.lld: error: duplicate symbol: memset
tree: https://github.com/esmil/linux visionfive
head: e46c3a7e373e6faa03399f1a41c29cf7546c37cb
commit: 55f013c0bc3e224cf34271c3cc11f7443b11553f [21/80] riscv: optimized memset
config: riscv-randconfig-r042-20220118 (https://download.01.org/0day-ci/archive/20220119/202201191516.DcDnH6lu-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/55f013c0bc3e224cf34271c3cc11f7443b11553f
git remote add esmil https://github.com/esmil/linux
git fetch --no-tags esmil visionfive
git checkout 55f013c0bc3e224cf34271c3cc11f7443b11553f
# 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: memset
>>> defined at shadow.c
>>> kasan/shadow.o:(memset) in archive mm/built-in.a
>>> defined at string.c
>>> string.o:(.text+0x1398) 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