* Re: [PATCH v2 bpf-next 17/18] libbpf: add BPF token support to bpf_prog_load() API
@ 2023-06-08 5:54 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-06-08 5:54 UTC (permalink / raw)
Cc: oe-kbuild-all, llvm
In-Reply-To: <20230607235352.1723243-18-andrii@kernel.org>
References: <20230607235352.1723243-18-andrii@kernel.org>
TO: Andrii Nakryiko <andrii@kernel.org>
TO: bpf@vger.kernel.org
CC: linux-security-module@vger.kernel.org
CC: keescook@chromium.org
CC: brauner@kernel.org
CC: lennart@poettering.net
CC: cyphar@cyphar.com
CC: luto@kernel.org
CC: kernel-team@meta.com
Hi Andrii,
kernel test robot noticed the following build errors:
[auto build test ERROR on bpf-next/master]
url: https://github.com/intel-lab-lkp/linux/commits/Andrii-Nakryiko/bpf-introduce-BPF-token-object/20230608-080004
base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
patch link: https://lore.kernel.org/r/20230607235352.1723243-18-andrii%40kernel.org
patch subject: [PATCH v2 bpf-next 17/18] libbpf: add BPF token support to bpf_prog_load() API
config: riscv-randconfig-r033-20230607 (https://download.01.org/0day-ci/archive/20230608/202306081346.w8SEKYRr-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce (this is a W=1 build):
mkdir -p ~/bin
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
git remote add bpf-next https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git
git fetch bpf-next master
git checkout bpf-next/master
b4 shazam https://lore.kernel.org/r/20230607235352.1723243-18-andrii@kernel.org
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=riscv olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202306081346.w8SEKYRr-lkp@intel.com/
All errors (new ones prefixed by >>):
>> ld.lld: error: vmlinux.a(block/badblocks.o):(function badblocks_show: .text+0xff0): relocation R_RISCV_HI20 out of range: 532299 is not in [-524288, 524287]; references '.L.str.9'
>>> referenced by badblocks.c
>>> defined in vmlinux.a(block/badblocks.o)
--
>> ld.lld: error: vmlinux.a(block/badblocks.o):(function badblocks_store: .text+0x121c): relocation R_RISCV_HI20 out of range: 532284 is not in [-524288, 524287]; references '.L.str.10'
>>> referenced by badblocks.c
>>> defined in vmlinux.a(block/badblocks.o)
--
>> ld.lld: error: vmlinux.a(block/badblocks.o):(function badblocks_init: .text+0x1324): relocation R_RISCV_HI20 out of range: 532385 is not in [-524288, 524287]; references 'kmalloc_caches'
>>> referenced by badblocks.c
>>> defined in vmlinux.a(mm/slab_common.o)
--
>> ld.lld: error: vmlinux.a(block/badblocks.o):(function badblocks_init: .text+0x1354): relocation R_RISCV_HI20 out of range: 532048 is not in [-524288, 524287]; references '.L.str.11'
>>> referenced by badblocks.c
>>> defined in vmlinux.a(block/badblocks.o)
--
>> ld.lld: error: vmlinux.a(block/badblocks.o):(function badblocks_init: .text+0x135c): relocation R_RISCV_HI20 out of range: 535156 is not in [-524288, 524287]; references '__badblocks_init.__key'
>>> referenced by badblocks.c
>>> defined in vmlinux.a(block/badblocks.o)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-06-08 5:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-08 5:54 [PATCH v2 bpf-next 17/18] libbpf: add BPF token support to bpf_prog_load() API kernel test robot
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).