CC: Miguel Ojeda <ojeda(a)kernel.org>
tree:
https://github.com/ojeda/linux.git llvm-12-fix
head: 6314f0c9616e8f715793cf711f2a885b5e8c4f3d
commit: f85857bc670e584c318535082376dc53f1f3c40c [127/247] Merge tag 'v5.12-rc2'
into rust-sync
config: riscv-randconfig-r011-20210408 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
56ea2e2fdd691136d5e6631fa0e447173694b82c)
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://github.com/ojeda/linux/commit/f85857bc670e584c318535082376dc53f1f...
git remote add ojeda-linux
https://github.com/ojeda/linux.git
git fetch --no-tags ojeda-linux llvm-12-fix
git checkout f85857bc670e584c318535082376dc53f1f3c40c
# 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+0x8): relocation R_RISCV_ALIGN
requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: arch/riscv/kernel/head.o:(.head.text+0x3E): relocation R_RISCV_ALIGN
requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: arch/riscv/kernel/head.o:(.head.text+0x150): relocation R_RISCV_ALIGN
requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: arch/riscv/kernel/head.o:(.head.text+0x114E): relocation R_RISCV_ALIGN
requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: arch/riscv/kernel/head.o:(.head.text+0x1190): relocation R_RISCV_ALIGN
requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: arch/riscv/kernel/head.o:(.head.text+0x11B0): relocation R_RISCV_ALIGN
requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: arch/riscv/kernel/head.o:(.head.text+0x11CA): 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+0x82): 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+0x18E): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x30E): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x41E): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x56A): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x632): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x788): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x85A): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
> ld.lld: error: main.c:(.text+0xD1C): relocation R_RISCV_ALIGN
requires unimplemented linker relaxation; recompile with -mno-relax
> ld.lld: error: main.c:(.text+0xD76): 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