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/202302271348.U5lvmo0S-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx> | Link: https://lore.kernel.org/oe-kbuild-all/202302271348.U5lvmo0S-lkp@xxxxxxxxx/ 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