* [ammarfaizi2-block:akpm/mm/mm-unstable 13/64] ld.lld: error: undefined symbol: memcpy
@ 2023-02-27 6:02 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-02-27 6:02 UTC (permalink / raw)
To: Marco Elver
Cc: llvm, oe-kbuild-all, Ammar Faizi, GNU/Weeb Mailing List,
Andrew Morton, Linux Memory Management List, Andrey Konovalov
tree: https://github.com/ammarfaizi2/linux-block akpm/mm/mm-unstable
head: 8ed02c625a2b76ca52e16ca6a4fcf57183ea72ed
commit: 07e0a7128168f7174b55a50fc154f5a8810dc23c [13/64] kasan: treat meminstrinsic as builtins in uninstrumented files
config: powerpc-randconfig-r022-20230226 (https://download.01.org/0day-ci/archive/20230227/[email protected]/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project db89896bbbd2251fff457699635acbbedeead27f)
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 powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
# https://github.com/ammarfaizi2/linux-block/commit/07e0a7128168f7174b55a50fc154f5a8810dc23c
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block akpm/mm/mm-unstable
git checkout 07e0a7128168f7174b55a50fc154f5a8810dc23c
# 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=powerpc olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email protected]>
| Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
>> ld.lld: error: undefined symbol: memcpy
>>> referenced by nonstdio.c
>>> arch/powerpc/xmon/nonstdio.o:(xmon_write) in archive vmlinux.a
>>> referenced by xmon.c
>>> arch/powerpc/xmon/xmon.o:(prregs) in archive vmlinux.a
>>> referenced by alarmtimer.c
>>> kernel/time/alarmtimer.o:(alarmtimer_suspend) in archive vmlinux.a
>>> referenced 74 more times
--
>> ld.lld: error: undefined symbol: memset
>>> referenced by kasan_test.c
>>> mm/kasan/kasan_test.o:(kmalloc_oob_in_memset) in archive vmlinux.a
>>> referenced by kasan_test.c
>>> mm/kasan/kasan_test.o:(kmalloc_oob_memset_2) in archive vmlinux.a
>>> referenced by kasan_test.c
>>> mm/kasan/kasan_test.o:(kmalloc_oob_memset_4) in archive vmlinux.a
>>> referenced 10 more times
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-27 6:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-27 6:02 [ammarfaizi2-block:akpm/mm/mm-unstable 13/64] ld.lld: error: undefined symbol: memcpy kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox