tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: e99d8a8495175df8cb8b739f8cf9b0fc9d0cd3b5 commit: 81c104b2ac3d9b9de33be93e63d52413e2b013cb [8144/11648] kasan: fix hwasan build for gcc config: arm64-randconfig-r024-20210411 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project dd453a1389b6a7e6d9214b449d3c54981b1a89b6) 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/next/linux-next.git/commit/?id=81c104b2ac3d9b9de33be93e63d52413e2b013cb git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 81c104b2ac3d9b9de33be93e63d52413e2b013cb # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): aarch64-linux-gnu-ld: drivers/irqchip/irq-dw-apb-ictl.o: in function `dw_apb_ictl_resume': >> irq-dw-apb-ictl.c:(.text+0x10): undefined reference to `__hwasan_tls' >> aarch64-linux-gnu-ld: irq-dw-apb-ictl.c:(.text+0x14): undefined reference to `__hwasan_tls' aarch64-linux-gnu-ld: drivers/irqchip/irq-dw-apb-ictl.o: in function `dw_apb_ictl_handle_irq_cascaded': irq-dw-apb-ictl.c:(.text+0x348): undefined reference to `__hwasan_tls' aarch64-linux-gnu-ld: irq-dw-apb-ictl.c:(.text+0x34c): undefined reference to `__hwasan_tls' aarch64-linux-gnu-ld: drivers/irqchip/irq-dw-apb-ictl.o: in function `dw_apb_ictl_irq_domain_alloc': irq-dw-apb-ictl.c:(.text+0x87c): undefined reference to `__hwasan_tls' aarch64-linux-gnu-ld: drivers/irqchip/irq-dw-apb-ictl.o:irq-dw-apb-ictl.c:(.text+0x880): more undefined references to `__hwasan_tls' follow --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip