From: kernel test robot <lkp@intel.com>
Cc: kbuild-all@lists.01.org, llvm@lists.linux.dev
Subject: [krzk-github:n/driver-override-v3 3/14] ld.lld: error: kernel/built-in.a(bpf/btf.o):(function btf_parse_vmlinux: .text+0x1864): relocation R_RISCV_PCREL_HI20 out of range: -524573 is not in [-524288, 524287]; references __start_BTF
Date: Mon, 28 Feb 2022 00:17:46 +0800 [thread overview]
Message-ID: <202202280057.yF03bpot-lkp@intel.com> (raw)
BCC: lkp@intel.com
CC: linux-kernel@vger.kernel.org
TO: Krzysztof Kozlowski <krzk@kernel.org>
tree: https://github.com/krzk/linux n/driver-override-v3
head: 2c511c1ba6dc5deb9712f2bcebfc964ea23b6209
commit: e4823f160612e013b11cd211995b59554d07ea03 [3/14] fixup
config: riscv-buildonly-randconfig-r006-20220227 (https://download.01.org/0day-ci/archive/20220228/202202280057.yF03bpot-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e)
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://github.com/krzk/linux/commit/e4823f160612e013b11cd211995b59554d07ea03
git remote add krzk-github https://github.com/krzk/linux
git fetch --no-tags krzk-github n/driver-override-v3
git checkout e4823f160612e013b11cd211995b59554d07ea03
# save the config file to linux build tree
mkdir build_dir
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: kernel/built-in.a(bpf/btf.o):(function btf_parse_vmlinux: .text+0x1864): relocation R_RISCV_PCREL_HI20 out of range: -524573 is not in [-524288, 524287]; references __start_BTF
>>> referenced by btf.c
>>> defined in kernel/built-in.a(bpf/btf.o)
--
>> ld.lld: error: kernel/built-in.a(bpf/btf.o):(function btf_parse_vmlinux: .text+0x1870): relocation R_RISCV_PCREL_HI20 out of range: -524573 is not in [-524288, 524287]; references __stop_BTF
>>> referenced by btf.c
>>> defined in kernel/built-in.a(bpf/btf.o)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
reply other threads:[~2022-02-27 16:18 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=202202280057.yF03bpot-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 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.