lkml.org 
[lkml]   [2022]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[congwang:sch_bpf 1/2] skb_map.c:undefined reference to `kfree_skb_reason'
tree:   https://github.com/congwang/linux.git sch_bpf
head: b03bbda26c041cf6e7593eadce50ef2fa4853a0c
commit: eed3a0d4dabd4f8015c5d37232438c3176470a58 [1/2] bpf: introduce skb map
config: arc-randconfig-r043-20220519 (https://download.01.org/0day-ci/archive/20220521/202205211111.evh04B2H-lkp@intel.com/config)
compiler: arceb-elf-gcc (GCC) 11.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/congwang/linux/commit/eed3a0d4dabd4f8015c5d37232438c3176470a58
git remote add congwang https://github.com/congwang/linux.git
git fetch --no-tags congwang sch_bpf
git checkout eed3a0d4dabd4f8015c5d37232438c3176470a58
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

arceb-elf-ld: kernel/bpf/skb_map.o: in function `kfree_skb':
>> skb_map.c:(.text+0x11a): undefined reference to `kfree_skb_reason'
>> arceb-elf-ld: skb_map.c:(.text+0x11a): undefined reference to `kfree_skb_reason'
arceb-elf-ld: kernel/bpf/skb_map.o: in function `skb_map_free':
>> skb_map.c:(.text+0x2e8): undefined reference to `skb_rbtree_purge'
>> arceb-elf-ld: skb_map.c:(.text+0x2e8): undefined reference to `skb_rbtree_purge'
arceb-elf-ld: kernel/bpf/skb_map.o: in function `skb_map_init':
>> skb_map.c:(.init.text+0x6): undefined reference to `register_netdevice_notifier'
>> arceb-elf-ld: skb_map.c:(.init.text+0x6): undefined reference to `register_netdevice_notifier'

--
0-DAY CI Kernel Test Service
https://01.org/lkp

\
 
 \ /
  Last update: 2022-05-21 05:20    [W:0.040 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site