TO: Sumit Garg <sumit.garg(a)linaro.org>
CC: "Greg Kroah-Hartman" <gregkh(a)linuxfoundation.org>
CC: Andrew Morton <akpm(a)linux-foundation.org>
CC: Linux Memory Management List <linux-mm(a)kvack.org>
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
linux-5.10.y
head: 05d125f7524e9ad200375c52799575184755d340
commit: 13e83186c91a1e0990cbd2d4ef6b7d572bcc9277 [2728/3218] kgdb: fix to kill breakpoints
on initmem after boot
config: riscv-randconfig-r011-20210317 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
8ef111222a3dd12a9175f69c3bff598c46e8bdf7)
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/stable/linux-stable-rc.gi...
git remote add linux-stable-rc
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-5.10.y
git checkout 13e83186c91a1e0990cbd2d4ef6b7d572bcc9277
# 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+0x281C): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x2836): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x294E): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
> ld.lld: error: debug_core.c:(.text+0x2CD4): relocation
R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
> ld.lld: error: debug_core.c:(.text+0x2F14): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
> ld.lld: error: debug_core.c:(.text+0x2FFA): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error:
debug_core.c:(.text+0x3048): relocation R_RISCV_ALIGN requires unimplemented linker
relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x3082): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
> ld.lld: error: debug_core.c:(.text+0x31C4): relocation
R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x31F2): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x3210): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
> ld.lld: error: debug_core.c:(.text+0x32D6): relocation
R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.init.text+0x120): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.init.text+0x222): 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