tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0066f1b0e27556381402db3ff31f85d2a2265858 commit: dd03762ab608e058c8f390ad9cf667e490089796 arm64: Enable KCSAN date: 9 months ago config: arm64-randconfig-r031-20220908 compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project c55b41d5199d2394dd6cdb8f52180d8b81d809d4) 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 arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=dd03762ab608e058c8f390ad9cf667e490089796 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout dd03762ab608e058c8f390ad9cf667e490089796 # 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=arm64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): >> ld.lld: error: undefined symbol: __tsan_memcpy >>> referenced by main.c >>> main.o:(do_one_initcall) in archive init/built-in.a >>> referenced by main.c >>> main.o:(setup_command_line) in archive init/built-in.a >>> referenced by initramfs.c >>> initramfs.o:(panic_show_mem) in archive init/built-in.a >>> referenced 4283 more times -- >> ld.lld: error: undefined symbol: __tsan_memset >>> referenced by main.c >>> main.o:(init_setup) in archive init/built-in.a >>> referenced by main.c >>> main.o:(rdinit_setup) in archive init/built-in.a >>> referenced by do_mounts_rd.c >>> do_mounts_rd.o:(identify_ramdisk_image) in archive init/built-in.a >>> referenced 6155 more times -- >> ld.lld: error: undefined symbol: __tsan_memmove >>> referenced by main.c >>> main.o:(repair_env_string) in archive init/built-in.a >>> referenced by range.c >>> range.o:(add_range_with_merge) in archive kernel/built-in.a >>> referenced by printk.c >>> printk/printk.o:(vprintk_store) in archive kernel/built-in.a >>> referenced 252 more times -- 0-DAY CI Kernel Test Service https://01.org/lkp