CC: Miguel Ojeda <ojeda(a)kernel.org>
tree:
https://github.com/nbdd0121/linux rustdoc
head: ba3afcc4cba7d728a4c7ef88fca8305d4af2e7c1
commit: f85857bc670e584c318535082376dc53f1f3c40c [127/369] Merge tag 'v5.12-rc2'
into rust-sync
config: riscv-randconfig-r033-20210517 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
0a34ff8bcb1df16fe7d643ccbe4567b2162c5024)
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/nbdd0121/linux/commit/f85857bc670e584c318535082376dc53...
git remote add nbdd0121
https://github.com/nbdd0121/linux
git fetch --no-tags nbdd0121 rustdoc
git checkout f85857bc670e584c318535082376dc53f1f3c40c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 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+0x48): relocation R_RISCV_ALIGN
requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: arch/riscv/kernel/head.o:(.head.text+0x9C): relocation R_RISCV_ALIGN
requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: arch/riscv/kernel/head.o:(.head.text+0xB6): relocation R_RISCV_ALIGN
requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: arch/riscv/kernel/head.o:(.head.text+0xE4): relocation R_RISCV_ALIGN
requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: arch/riscv/kernel/head.o:(.head.text+0x1C0): 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+0x30A): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x452): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x5A4): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x732): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x8A0): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
> ld.lld: error: main.c:(.text+0xA74): relocation R_RISCV_ALIGN
requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld:
error: main.c:(.text+0xC50): relocation R_RISCV_ALIGN requires unimplemented linker
relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0xCAA): 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