From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH] bpf: fix: symbol 'btf_vmlinux' was not declared.
Date: Fri, 25 Dec 2020 18:47:14 +0800 [thread overview]
Message-ID: <202012251804.LvehTcEB-lkp@intel.com> (raw)
In-Reply-To: <1608796848-49865-1-git-send-email-abaci-bugfix@linux.alibaba.com>
[-- Attachment #1: Type: text/plain, Size: 2436 bytes --]
Hi YANG,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on bpf-next/master]
[also build test ERROR on bpf/master net-next/master net/master sparc-next/master v5.10 next-20201223]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/YANG-LI/bpf-fix-symbol-btf_vmlinux-was-not-declared/20201224-160318
base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
config: nios2-randconfig-r001-20201223 (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.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/e443ee8542971435ebeda1154d82c55c2786b92a
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review YANG-LI/bpf-fix-symbol-btf_vmlinux-was-not-declared/20201224-160318
git checkout e443ee8542971435ebeda1154d82c55c2786b92a
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nios2
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 >>):
nios2-linux-ld: kernel/bpf/btf.o: in function `btf_get_prog_ctx_type.isra.0':
btf.c:(.text+0x4b84): undefined reference to `btf_vmlinux'
>> nios2-linux-ld: btf.c:(.text+0x4b88): undefined reference to `btf_vmlinux'
nios2-linux-ld: kernel/bpf/btf.o: in function `btf_ctx_access':
btf.c:(.text+0x8178): undefined reference to `btf_vmlinux'
nios2-linux-ld: btf.c:(.text+0x817c): undefined reference to `btf_vmlinux'
nios2-linux-ld: btf.c:(.text+0x81d8): undefined reference to `btf_vmlinux'
nios2-linux-ld: kernel/bpf/btf.o:btf.c:(.text+0x81dc): more undefined references to `btf_vmlinux' follow
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for SERIAL_CORE_CONSOLE
Depends on TTY && HAS_IOMEM
Selected by
- EARLY_PRINTK
---
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: 24884 bytes --]
next prev parent reply other threads:[~2020-12-25 10:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-24 8:00 [PATCH] bpf: fix: symbol 'btf_vmlinux' was not declared YANG LI
2020-12-25 10:47 ` kernel test robot [this message]
2020-12-25 11:39 ` kernel test robot
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=202012251804.LvehTcEB-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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.