CC: linux-kernel(a)vger.kernel.org
TO: "Steven Rostedt (VMware)" <rostedt(a)goodmis.org>
CC: Ingo Molnar <mingo(a)kernel.org>
CC: "Peter Zijlstra (Intel)" <peterz(a)infradead.org>
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 84196390620ac0e5070ae36af84c137c6216a7dc
commit: d25e37d89dd2f41d7acae0429039d2f0ae8b4a07 tracepoint: Optimize using static_call()
date: 7 months ago
config: riscv-randconfig-r006-20210322 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
14696baaf4c43fe53f738bc292bbe169eed93d5d)
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...
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 <lkp(a)intel.com>
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+0x88): relocation R_RISCV_ALIGN
requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: arch/riscv/kernel/head.o:(.head.text+0x10A): 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: main.c:(.text+0x0): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x54): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0xA8): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x104): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x1CA): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x264): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x308): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x35A): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x3DE): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x45E): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x4E2): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
> ld.lld: error: main.c:(.text+0x53C): relocation R_RISCV_ALIGN
requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld:
error: main.c:(.init.text+0x0): 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@lists.01.org