CC: linux-kernel(a)vger.kernel.org
TO: Feng Tang <feng.tang(a)intel.com>
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: a0d54b4f5b219fb31f0776e9f53aa137e78ae431
commit: 09c60546f04f732d194a171b3a4ccc9ae1e704ba ./Makefile: add debug option to enable
function aligned on 32 bytes
date: 5 months ago
config: riscv-randconfig-r002-20210112 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
32bcfcda4e28375e5a85268d2acfabcfcc011abf)
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 09c60546f04f732d194a171b3a4ccc9ae1e704ba
# 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+0x170): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x2A4): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x3E8): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x684): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x6EC): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x798): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x840): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x8EC): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x948): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
> ld.lld: error: main.c:(.init.text+0x0): relocation R_RISCV_ALIGN
requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld:
error: main.c:(.init.text+0x58): relocation R_RISCV_ALIGN requires unimplemented linker
relaxation; recompile with -mno-relax
> ld.lld: error: main.c:(.init.text+0xB0): relocation R_RISCV_ALIGN
requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld:
error: main.c:(.init.text+0x108): relocation R_RISCV_ALIGN requires unimplemented linker
relaxation; recompile with -mno-relax
> ld.lld: error: main.c:(.init.text+0x1D8): relocation
R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.init.text+0x254): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.init.text+0x2D0): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.init.text+0x350): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.init.text+0x44C): 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