All of lore.kernel.org
 help / color / mirror / Atom feed
* [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
@ 2022-02-27 16:17 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-02-27 16:17 UTC (permalink / raw)
  Cc: kbuild-all, llvm

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-27 16:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-27 16:17 [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 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.