From: kernel test robot <lkp@intel.com>
Cc: kbuild-all@lists.01.org, llvm@lists.linux.dev
Subject: [linux-stable-rc:linux-5.18.y 759/1352] ld.lld: error: arch/riscv/built-in.a(kernel/reset.o):(function machine_power_off: .text+0x60): relocation R_RISCV_HI20 out of range: 539872 is not in [-524288, 524287]; references pm_power_off
Date: Wed, 15 Jun 2022 21:27:32 +0800 [thread overview]
Message-ID: <202206152147.HyB7vaSj-lkp@intel.com> (raw)
BCC: lkp@intel.com
CC: linux-kernel@vger.kernel.org
TO: Miaoqian Lin <linmq006@gmail.com>
CC: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>
CC: Michael Ellerman <mpe@ellerman.id.au>
CC: Sasha Levin <sashal@kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.18.y
head: 0e32b2c68ea4d90e0ecca45afd07dcf5d594de7e
commit: 5607a77a365df8c0fd5ff43ac424812b95775527 [759/1352] powerpc/fsl_rio: Fix refcount leak in fsl_rio_setup
config: riscv-randconfig-r001-20220613 (https://download.01.org/0day-ci/archive/20220615/202206152147.HyB7vaSj-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c97436f8b6e2718286e8496faf53a2c800e281cf)
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/stable/linux-stable-rc.git/commit/?id=5607a77a365df8c0fd5ff43ac424812b95775527
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-5.18.y
git checkout 5607a77a365df8c0fd5ff43ac424812b95775527
# 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/reset.o):(function machine_power_off: .text+0x60): relocation R_RISCV_HI20 out of range: 539872 is not in [-524288, 524287]; references pm_power_off
>>> referenced by reset.c
>>> defined in arch/riscv/built-in.a(kernel/reset.o)
--
>> ld.lld: error: arch/riscv/built-in.a(kernel/reset.o):(function machine_halt: .text+0xe): relocation R_RISCV_HI20 out of range: 539872 is not in [-524288, 524287]; references pm_power_off
>>> referenced by reset.c
>>> defined in arch/riscv/built-in.a(kernel/reset.o)
--
>> ld.lld: error: arch/riscv/built-in.a(kernel/reset.o):(function machine_halt: .text+0x18): relocation R_RISCV_HI20 out of range: 539038 is not in [-524288, 524287]; references machine_halt.__if_trace.1
>>> referenced by reset.c
>>> defined in arch/riscv/built-in.a(kernel/reset.o)
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-06-15 13:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202206152147.HyB7vaSj-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=llvm@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox