CC: linux-kernel(a)vger.kernel.org TO: "Steven Rostedt (VMware)" CC: Ingo Molnar CC: "Peter Zijlstra (Intel)" tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: a0d54b4f5b219fb31f0776e9f53aa137e78ae431 commit: d25e37d89dd2f41d7acae0429039d2f0ae8b4a07 tracepoint: Optimize using static_call() date: 4 months ago config: riscv-randconfig-r036-20210112 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 32bcfcda4e28375e5a85268d2acfabcfcc011abf) 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 riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d25e37d89dd2f41d7acae0429039d2f0ae8b4a07 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout d25e37d89dd2f41d7acae0429039d2f0ae8b4a07 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): ld.lld: error: arch/riscv/kernel/head.o:(.head.text+0x0): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax ld.lld: error: arch/riscv/kernel/head.o:(.head.text+0xA): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax ld.lld: error: arch/riscv/kernel/head.o:(.head.text+0x40): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax ld.lld: error: arch/riscv/kernel/head.o:(.head.text+0x4A): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax ld.lld: error: arch/riscv/kernel/head.o:(.head.text+0x4C): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax ld.lld: error: arch/riscv/kernel/head.o:(.init.text+0x0): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax ld.lld: error: arch/riscv/kernel/head.o:(.init.text+0x2E): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax ld.lld: error: arch/riscv/kernel/head.o:(.init.text+0xC4): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax ld.lld: error: main.c:(.text+0x0): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax >> ld.lld: error: main.c:(.text+0x5A): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax >> ld.lld: error: main.c:(.text+0xB4): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax ld.lld: error: main.c:(.text+0x116): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax >> ld.lld: error: main.c:(.text+0x1DE): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax >> ld.lld: error: main.c:(.text+0x2AE): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax ld.lld: error: main.c:(.text+0x346): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax >> ld.lld: error: main.c:(.text+0x3C6): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax ld.lld: error: main.c:(.text+0x468): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax >> ld.lld: error: main.c:(.text+0x4F2): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax >> ld.lld: error: main.c:(.text+0x5FA): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax ld.lld: error: main.c:(.text+0x70A): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org