CC: linux-kernel(a)vger.kernel.org
TO: Sumit Garg <sumit.garg(a)linaro.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/torvalds/linux.git master
head: a74e6a014c9d4d4161061f770c9b4f98372ac778
commit: d54ce6158e354f5358a547b96299ecd7f3725393 kgdb: fix to kill breakpoints on initmem
after boot
date: 13 days ago
config: riscv-randconfig-r021-20210311 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
574a9dabc63ba1e7a04c08d4bde2eacd61b44ce1)
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 d54ce6158e354f5358a547b96299ecd7f3725393
# 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+0xFDC): relocation
R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
> ld.lld: error: debug_core.c:(.text+0xFEE): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error:
debug_core.c:(.text+0x1198): relocation R_RISCV_ALIGN requires unimplemented linker
relaxation; recompile with -mno-relax
> ld.lld: error: debug_core.c:(.text+0x12C8): relocation
R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x130C): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x134A): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x1374): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x13F2): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x143E): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.init.text+0xA8): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.init.text+0x110): 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