mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* ld.lld: error: undefined symbol: bpf_preload_ops
@ 2020-10-29 17:21 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-10-29 17:21 UTC (permalink / raw)
  To: Alexei Starovoitov
  Cc: kbuild-all, clang-built-linux, linux-kernel, Daniel Borkmann

[-- Attachment #1: Type: text/plain, Size: 2082 bytes --]

Hi Alexei,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   23859ae44402f4d935b9ee548135dd1e65e2cbf4
commit: d71fa5c9763c24dd997a2fa4feb7a13a95bab42c bpf: Add kernel module with user mode driver that populates bpffs.
date:   2 months ago
config: x86_64-randconfig-r016-20201029 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 772aaa602383cf82795572ebcd86b0e660f3579f)
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 x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d71fa5c9763c24dd997a2fa4feb7a13a95bab42c
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout d71fa5c9763c24dd997a2fa4feb7a13a95bab42c
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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: undefined symbol: bpf_preload_ops
   >>> referenced by bpf_preload_kern.c:83 (kernel/bpf/preload/bpf_preload_kern.c:83)
   >>> bpf/preload/bpf_preload_kern.o:(fini_umd) in archive kernel/built-in.a
   >>> referenced by bpf_preload_kern.c:83 (kernel/bpf/preload/bpf_preload_kern.c:83)
   >>> bpf/preload/bpf_preload_kern.o:(fini_umd) in archive kernel/built-in.a
   >>> referenced by bpf_preload_kern.c:77 (kernel/bpf/preload/bpf_preload_kern.c:77)
   >>> bpf/preload/bpf_preload_kern.o:(load_umd) in archive kernel/built-in.a
   >>> referenced 1 more times

---
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: 30075 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread
* ld.lld: error: undefined symbol: bpf_preload_ops
@ 2020-10-31  3:13 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-10-31  3:13 UTC (permalink / raw)
  To: Alexei Starovoitov
  Cc: kbuild-all, clang-built-linux, linux-kernel, Daniel Borkmann

[-- Attachment #1: Type: text/plain, Size: 2082 bytes --]

Hi Alexei,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   5fc6b075e165f641fbc366b58b578055762d5f8c
commit: d71fa5c9763c24dd997a2fa4feb7a13a95bab42c bpf: Add kernel module with user mode driver that populates bpffs.
date:   2 months ago
config: x86_64-randconfig-r021-20201030 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project fa5a13276764a2657b3571fa3c57b07ee5d2d661)
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 x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d71fa5c9763c24dd997a2fa4feb7a13a95bab42c
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout d71fa5c9763c24dd997a2fa4feb7a13a95bab42c
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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: undefined symbol: bpf_preload_ops
   >>> referenced by bpf_preload_kern.c:83 (kernel/bpf/preload/bpf_preload_kern.c:83)
   >>> bpf/preload/bpf_preload_kern.o:(fini_umd) in archive kernel/built-in.a
   >>> referenced by bpf_preload_kern.c:83 (kernel/bpf/preload/bpf_preload_kern.c:83)
   >>> bpf/preload/bpf_preload_kern.o:(fini_umd) in archive kernel/built-in.a
   >>> referenced by bpf_preload_kern.c:77 (kernel/bpf/preload/bpf_preload_kern.c:77)
   >>> bpf/preload/bpf_preload_kern.o:(load_umd) in archive kernel/built-in.a
   >>> referenced 1 more times

---
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: 33246 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-31  3:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-29 17:21 ld.lld: error: undefined symbol: bpf_preload_ops kernel test robot
2020-10-31  3:13 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

all inboxes | Powered by JetHome®