On Tue, Oct 04, 2022 at 06:13:07AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: 274d7803837da78dfc911bcda0d593412676fc20 > commit: ba00c2a04fa5431d204a4183062b30372c062aa7 [11523/11993] arm64: fix the build with binutils 2.27 > config: arm64-randconfig-r034-20221003 > compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920) > 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=ba00c2a04fa5431d204a4183062b30372c062aa7 > 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 ba00c2a04fa5431d204a4183062b30372c062aa7 > # 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 <lkp@xxxxxxxxx> > > All errors (new ones prefixed by >>): > > In file included from arch/arm64/kernel/module-plts.c:6: > In file included from include/linux/elf.h:6: > In file included from arch/arm64/include/asm/elf.h:8: > In file included from arch/arm64/include/asm/hwcap.h:9: > In file included from arch/arm64/include/asm/cpufeature.h:9: > In file included from arch/arm64/include/asm/alternative-macros.h:5: > In file included from include/linux/bits.h:22: > In file included from include/linux/build_bug.h:5: > In file included from include/linux/compiler.h:248: > In file included from arch/arm64/include/asm/rwonce.h:71: > >> include/asm-generic/rwonce.h:67:9: error: expected string literal in 'asm' > return __READ_ONCE(*(unsigned long *)addr); > ^ > arch/arm64/include/asm/rwonce.h:43:16: note: expanded from macro '__READ_ONCE' > asm volatile(__LOAD_RCPC(b, %w0, %1) \ > ^ > arch/arm64/include/asm/rwonce.h:17:2: note: expanded from macro '__LOAD_RCPC' > ALTERNATIVE( \ > ^ https://lore.kernel.org/20221003193759.1141709-1-nathan@xxxxxxxxxx/ should resolve this. Cheers, Nathan