CC: linux-kernel(a)vger.kernel.org
TO: Douglas Anderson <dianders(a)chromium.org>
CC: Daniel Thompson <daniel.thompson(a)linaro.org>
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a1339d6355ac42e1bf4fcdfce8bfce61172f8891
commit: b18b099e04f450cdc77bec72acefcde7042bd1f3 kgdb: Make "kgdbcon" work
properly with "kgdb_earlycon"
date: 4 months ago
config: riscv-randconfig-r031-20210118 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
bfd75bdf3fd62d4f5e7028d4122f9ffa517f2a09)
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 b18b099e04f450cdc77bec72acefcde7042bd1f3
# 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+0x2C20): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x2C32): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x2C90): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x2F1A): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x302C): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x3098): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x30D4): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x30FE): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x314E): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x3170): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x3186): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x31D4): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x3230): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x3250): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
> ld.lld: error: debug_core.c:(.init.text+0x9C): relocation
R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.init.text+0x104): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: undefined symbol: stpcpy
>> referenced by tty_io.c
>> tty/tty_io.o:(tty_line_name) in archive drivers/built-in.a
>> referenced by scsi_transport_sas.c
>> scsi/scsi_transport_sas.o:(get_sas_device_type_names) in archive
drivers/built-in.a
>> referenced by scsi_transport_sas.c
>> scsi/scsi_transport_sas.o:(get_sas_linkspeed_names) in archive
drivers/built-in.a
>> referenced 18 more times
>> did you mean: strcpy
>> defined in: lib/lib.a(string.o)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org