* ld.lld: error: arch/riscv/built-in.a(kernel/cpu.o):(function riscv_of_processor_hartid: .text+0x14): relocation R_RISCV_HI20 out of range: 529058 is not in [-524288, 524287]; references __stack_chk_guard
@ 2022-07-12 21:18 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-07-12 21:18 UTC (permalink / raw)
Cc: kbuild-all, llvm
BCC: lkp@intel.com
CC: linux-kernel@vger.kernel.org
TO: Arnd Bergmann <arnd@arndb.de>
CC: Daniel Vetter <daniel.vetter@ffwll.ch>
CC: Kees Cook <keescook@chromium.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 72a8e05d4f66b5af7854df4490e3135168694b6b
commit: 606b102876e3741851dfb09d53f3ee57f650a52c drm: fb_helper: fix CONFIG_FB dependency
date: 10 months ago
config: riscv-randconfig-r036-20220710 (https://download.01.org/0day-ci/archive/20220713/202207130516.Yk6LEctT-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project badda4ac3c489a8c8cccdad1f74b9308c350a9e0)
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=606b102876e3741851dfb09d53f3ee57f650a52c
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 606b102876e3741851dfb09d53f3ee57f650a52c
# 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 where applicable
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+0x14): relocation R_RISCV_HI20 out of range: 529058 is not in [-524288, 524287]; references __stack_chk_guard
>>> referenced by cpu.c
>>> defined in arch/riscv/built-in.a(kernel/process.o)
--
>> ld.lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
--
>> ld.lld: error: arch/riscv/built-in.a(kernel/kgdb.o):(function dbg_get_reg: .text+0x28): relocation R_RISCV_HI20 out of range: 528195 is not in [-524288, 524287]; references dbg_reg_def
>>> referenced by kgdb.c
>>> defined in arch/riscv/built-in.a(kernel/kgdb.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-07-12 21:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-12 21:18 ld.lld: error: arch/riscv/built-in.a(kernel/cpu.o):(function riscv_of_processor_hartid: .text+0x14): relocation R_RISCV_HI20 out of range: 529058 is not in [-524288, 524287]; references __stack_chk_guard kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.