From: kernel test robot <lkp@intel.com>
Cc: kbuild-all@lists.01.org, llvm@lists.linux.dev
Subject: [stable:linux-5.15.y 5501/9999] ld.lld: error: kernel/built-in.a(kallsyms.o):(function lookup_symbol_name: .text+0x4b8): relocation R_RISCV_PCREL_HI20 out of range: -524411 is not in [-524288, 524287]; references kallsyms_token_index
Date: Tue, 6 Sep 2022 09:24:48 +0800 [thread overview]
Message-ID: <202209060934.RJBGE4AA-lkp@intel.com> (raw)
CC: linux-kernel@vger.kernel.org
TO: Kees Cook <keescook@chromium.org>
CC: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>
CC: Marco Elver <elver@google.com>
CC: Andrew Morton <akpm@linux-foundation.org>
CC: Linux Memory Management List <linux-mm@kvack.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.15.y
head: 633c3b4c71bb949de771388de213d331c1ebd270
commit: 33db9912ff7c491f839c89a08e98f755aa09598f [5501/9999] ubsan: remove CONFIG_UBSAN_OBJECT_SIZE
config: riscv-buildonly-randconfig-r001-20220905 (https://download.01.org/0day-ci/archive/20220906/202209060934.RJBGE4AA-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project c55b41d5199d2394dd6cdb8f52180d8b81d809d4)
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.git/commit/?id=33db9912ff7c491f839c89a08e98f755aa09598f
git remote add stable https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
git fetch --no-tags stable linux-5.15.y
git checkout 33db9912ff7c491f839c89a08e98f755aa09598f
# 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: kernel/built-in.a(kallsyms.o):(function lookup_symbol_name: .text+0x4b8): relocation R_RISCV_PCREL_HI20 out of range: -524411 is not in [-524288, 524287]; references kallsyms_token_index
>>> referenced by kallsyms.c
>>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kernel/built-in.a(kallsyms.o):(function lookup_symbol_name: .text+0x4c0): relocation R_RISCV_PCREL_HI20 out of range: -524411 is not in [-524288, 524287]; references kallsyms_token_table
>>> referenced by kallsyms.c
>>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kernel/built-in.a(kallsyms.o):(function lookup_symbol_attrs: .text+0x5aa): relocation R_RISCV_PCREL_HI20 out of range: -524411 is not in [-524288, 524287]; references kallsyms_token_index
>>> referenced by kallsyms.c
>>> defined in kernel/built-in.a(kallsyms.o)
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-09-06 1:25 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=202209060934.RJBGE4AA-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;
as well as URLs for NNTP newsgroup(s).