[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202205210854.2gB8rO6D-lkp@intel.com>
Date: Sat, 21 May 2022 08:36:08 +0800
From: kernel test robot <lkp@...el.com>
To: Cong Wang <xiyou.wangcong@...il.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
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: openrisc-randconfig-r035-20220519 (https://download.01.org/0day-ci/archive/20220521/202205210854.2gB8rO6D-lkp@intel.com/config)
compiler: or1k-linux-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=openrisc SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
or1k-linux-ld: kernel/bpf/skb_map.o: in function `skb_map_delete_elem':
>> skb_map.c:(.text+0x52c): undefined reference to `kfree_skb_reason'
skb_map.c:(.text+0x52c): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `kfree_skb_reason'
or1k-linux-ld: kernel/bpf/skb_map.o: in function `skb_map_notification':
skb_map.c:(.text+0x634): undefined reference to `kfree_skb_reason'
skb_map.c:(.text+0x634): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `kfree_skb_reason'
or1k-linux-ld: kernel/bpf/skb_map.o: in function `skb_map_free':
>> skb_map.c:(.text+0x704): undefined reference to `skb_rbtree_purge'
skb_map.c:(.text+0x704): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `skb_rbtree_purge'
or1k-linux-ld: kernel/bpf/skb_map.o: in function `bpf_skb_map_pop':
skb_map.c:(.text+0xa90): undefined reference to `kfree_skb_reason'
skb_map.c:(.text+0xa90): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `kfree_skb_reason'
or1k-linux-ld: kernel/bpf/skb_map.o: in function `skb_map_init':
>> skb_map.c:(.init.text+0x18): undefined reference to `register_netdevice_notifier'
skb_map.c:(.init.text+0x18): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `register_netdevice_notifier'
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists