* ld.lld: error: arch/riscv/built-in.a(kernel/cpu.o):(function riscv_of_processor_hartid: .text+0x1c): relocation R_RISCV_HI20 out of range: 534965 is not in [-524288, 524287]; references __stack_chk_guard
@ 2022-04-26 15:02 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-26 15:02 UTC (permalink / raw)
Cc: kbuild-all, llvm
BCC: lkp@intel.com
CC: linux-kernel@vger.kernel.org
TO: Bartosz Golaszewski <brgl@bgdev.pl>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d615b5416f8a1afeb82d13b238f8152c572d59c0
commit: 56e337f2cf1326323844927a04e9dbce9a244835 Revert "gpio: Revert regression in sysfs-gpio (gpiolib.c)"
date: 6 weeks ago
config: riscv-randconfig-r002-20220425 (https://download.01.org/0day-ci/archive/20220426/202204262302.LrvJJKnH-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 1cddcfdc3c683b393df1a5c9063252eb60e52818)
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/?id=56e337f2cf1326323844927a04e9dbce9a244835
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 56e337f2cf1326323844927a04e9dbce9a244835
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> ld.lld: error: arch/riscv/built-in.a(kernel/cpu.o):(function riscv_of_processor_hartid: .text+0x1c): relocation R_RISCV_HI20 out of range: 534965 is not in [-524288, 524287]; references __stack_chk_guard
>>> referenced by cpu.c
>>> defined in arch/riscv/built-in.a(kernel/process.o)
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-26 15:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-26 15:02 ld.lld: error: arch/riscv/built-in.a(kernel/cpu.o):(function riscv_of_processor_hartid: .text+0x1c): relocation R_RISCV_HI20 out of range: 534965 is not in [-524288, 524287]; references __stack_chk_guard kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox