CC: linux-kernel(a)vger.kernel.org
TO: Peter Zijlstra <peterz(a)infradead.org>
CC: Frederic Weisbecker <frederic(a)kernel.org>
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 5ee88057889bbca5f5bb96031b62b3756b33e164
commit: 545b8c8df41f9ecbaf806332d4095bc4bc7c14e8 smp: Cleanup smp_call_function*()
date: 7 weeks ago
config: riscv-randconfig-r012-20210115 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
5b42fd8dd4e7e29125a09a41a33af7c9cb57d144)
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 545b8c8df41f9ecbaf806332d4095bc4bc7c14e8
# 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+0x8): relocation R_RISCV_ALIGN
requires unimplemented linker relaxation; recompile with -mno-relax
> ld.lld: error: debug_core.c:(.text+0x1CFC): relocation
R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
> ld.lld: error: debug_core.c:(.text+0x1D16): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
> ld.lld: error: debug_core.c:(.text+0x1DB2): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
> ld.lld: error: debug_core.c:(.text+0x1FDA): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
> ld.lld: error: debug_core.c:(.text+0x20D8): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error:
debug_core.c:(.text+0x214A): relocation R_RISCV_ALIGN requires unimplemented linker
relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x2196): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
> ld.lld: error: debug_core.c:(.text+0x21D0): relocation
R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x227E): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
> ld.lld: error: debug_core.c:(.text+0x22A8): relocation
R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x2326): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.init.text+0xCC): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.init.text+0x150): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org