CC: linux-kernel(a)vger.kernel.org
TO: Alexey Kardashevskiy <aik(a)ozlabs.ru>
CC: "Steven Rostedt (VMware)" <rostedt(a)goodmis.org>
Hi Alexey,
FYI, the error/warning still remains.
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d434405aaab7d0ebc516b68a8fc4100922d7f5ef
commit: c8b186a8d54d7e12d28e9f9686cb00ff18fc2ab2 tracepoint: Fix race between tracing and
removing tracepoint
date: 10 weeks ago
config: riscv-randconfig-r031-20210412 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
9829f5e6b1bca9b61efc629770d28bb9014dec45)
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 c8b186a8d54d7e12d28e9f9686cb00ff18fc2ab2
# 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: main.c:(.text+0x0): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0xD4): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
> ld.lld: error: main.c:(.text+0x1A8): relocation R_RISCV_ALIGN
requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld:
error: main.c:(.text+0x28C): relocation R_RISCV_ALIGN requires unimplemented linker
relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x54C): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x70C): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x990): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0xAE4): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0xD78): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0xEDC): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x1264): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x1630): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x1A0C): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x1A6C): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x1B6C): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x1C68): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x1D68): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x1DD0): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x1E24): 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