From: kernel test robot <lkp@intel.com>
To: Song Liu <songliubraving@fb.com>,
bpf@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: kbuild-all@lists.01.org, acme@kernel.org, peterz@infradead.org,
mingo@redhat.com, kjain@linux.ibm.com, kernel-team@fb.com,
Song Liu <songliubraving@fb.com>
Subject: Re: [PATCH v2 bpf-next 2/3] bpf: introduce helper bpf_get_branch_snapshot
Date: Fri, 27 Aug 2021 17:28:51 +0800 [thread overview]
Message-ID: <202108271742.khf29aRH-lkp@intel.com> (raw)
In-Reply-To: <20210826221306.2280066-3-songliubraving@fb.com>
[-- Attachment #1: Type: text/plain, Size: 1885 bytes --]
Hi Song,
I love your patch! Yet something to improve:
[auto build test ERROR on bpf-next/master]
url: https://github.com/0day-ci/linux/commits/Song-Liu/bpf-introduce-bpf_get_branch_snapshot/20210827-061705
base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 11.2.0
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
# https://github.com/0day-ci/linux/commit/ad355675cf08d95b3f5171b681420cfc8e2f1b7e
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Song-Liu/bpf-introduce-bpf_get_branch_snapshot/20210827-061705
git checkout ad355675cf08d95b3f5171b681420cfc8e2f1b7e
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 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 >>):
aarch64-linux-ld: kernel/bpf/trampoline.o: in function `__bpf_prog_enter':
>> trampoline.c:(.text+0x61c): undefined reference to `bpf_perf_branch_snapshot'
aarch64-linux-ld: kernel/bpf/trampoline.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `bpf_perf_branch_snapshot' which may bind externally can not be used when making a shared object; recompile with -fPIC
trampoline.c:(.text+0x61c): dangerous relocation: unsupported relocation
>> aarch64-linux-ld: trampoline.c:(.text+0x624): undefined reference to `bpf_perf_branch_snapshot'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 55207 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v2 bpf-next 2/3] bpf: introduce helper bpf_get_branch_snapshot
Date: Fri, 27 Aug 2021 17:28:51 +0800 [thread overview]
Message-ID: <202108271742.khf29aRH-lkp@intel.com> (raw)
In-Reply-To: <20210826221306.2280066-3-songliubraving@fb.com>
[-- Attachment #1: Type: text/plain, Size: 1922 bytes --]
Hi Song,
I love your patch! Yet something to improve:
[auto build test ERROR on bpf-next/master]
url: https://github.com/0day-ci/linux/commits/Song-Liu/bpf-introduce-bpf_get_branch_snapshot/20210827-061705
base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 11.2.0
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
# https://github.com/0day-ci/linux/commit/ad355675cf08d95b3f5171b681420cfc8e2f1b7e
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Song-Liu/bpf-introduce-bpf_get_branch_snapshot/20210827-061705
git checkout ad355675cf08d95b3f5171b681420cfc8e2f1b7e
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 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 >>):
aarch64-linux-ld: kernel/bpf/trampoline.o: in function `__bpf_prog_enter':
>> trampoline.c:(.text+0x61c): undefined reference to `bpf_perf_branch_snapshot'
aarch64-linux-ld: kernel/bpf/trampoline.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `bpf_perf_branch_snapshot' which may bind externally can not be used when making a shared object; recompile with -fPIC
trampoline.c:(.text+0x61c): dangerous relocation: unsupported relocation
>> aarch64-linux-ld: trampoline.c:(.text+0x624): undefined reference to `bpf_perf_branch_snapshot'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 55207 bytes --]
next prev parent reply other threads:[~2021-08-27 9:30 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-26 22:13 [PATCH v2 bpf-next 0/3] bpf: introduce bpf_get_branch_snapshot Song Liu
2021-08-26 22:13 ` [PATCH v2 bpf-next 1/3] perf: enable branch record for software events Song Liu
2021-08-30 10:22 ` Peter Zijlstra
2021-08-30 15:25 ` Song Liu
2021-08-30 16:06 ` Peter Zijlstra
2021-08-30 16:36 ` Song Liu
2021-09-01 17:09 ` Peter Zijlstra
2021-08-30 17:41 ` Song Liu
2021-08-30 18:07 ` Peter Zijlstra
2021-09-01 17:12 ` Peter Zijlstra
2021-09-04 23:01 ` Josh Poimboeuf
2021-08-30 10:43 ` Peter Zijlstra
2021-08-30 16:06 ` Song Liu
2021-08-26 22:13 ` [PATCH v2 bpf-next 2/3] bpf: introduce helper bpf_get_branch_snapshot Song Liu
2021-08-27 9:28 ` kernel test robot [this message]
2021-08-27 9:28 ` kernel test robot
2021-08-27 15:10 ` kernel test robot
2021-08-27 15:10 ` kernel test robot
2021-08-30 10:47 ` Peter Zijlstra
2021-08-30 10:47 ` Peter Zijlstra
2021-08-26 22:13 ` [PATCH v2 bpf-next 3/3] selftests/bpf: add test for bpf_get_branch_snapshot Song Liu
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=202108271742.khf29aRH-lkp@intel.com \
--to=lkp@intel.com \
--cc=acme@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=kbuild-all@lists.01.org \
--cc=kernel-team@fb.com \
--cc=kjain@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=songliubraving@fb.com \
/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.