[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202207131955.CE8BXrij-lkp@intel.com>
Date: Wed, 13 Jul 2022 19:24:33 +0800
From: kernel test robot <lkp@...el.com>
To: Daniel Borkmann <daniel@...earbox.net>
Cc: kbuild-all@...ts.01.org, Daniel Borkmann <daniel@...earbox.net>,
linux-kernel@...r.kernel.org
Subject: [cilium:pr/meta5 4/4] include/net/sch_generic.h:819: undefined
reference to `__qdisc_calculate_pkt_len'
tree: https://github.com/cilium/linux.git pr/meta5
head: 3dd186e5096ad47e2a3e6a5d00dd9d67513a95e5
commit: 3dd186e5096ad47e2a3e6a5d00dd9d67513a95e5 [4/4] bpf: Add fd-based API to attach tc BPF programs
config: arc-buildonly-randconfig-r005-20220712 (https://download.01.org/0day-ci/archive/20220713/202207131955.CE8BXrij-lkp@intel.com/config)
compiler: arc-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/cilium/linux/commit/3dd186e5096ad47e2a3e6a5d00dd9d67513a95e5
git remote add cilium https://github.com/cilium/linux.git
git fetch --no-tags cilium pr/meta5
git checkout 3dd186e5096ad47e2a3e6a5d00dd9d67513a95e5
# 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@...el.com>
All errors (new ones prefixed by >>):
arc-elf-ld: net/core/dev.o: in function `__dev_xmit_skb':
>> include/net/sch_generic.h:819: undefined reference to `__qdisc_calculate_pkt_len'
>> arc-elf-ld: include/net/sch_generic.h:819: undefined reference to `__qdisc_calculate_pkt_len'
vim +819 include/net/sch_generic.h
378a2f090f7a47 Jarek Poplawski 2008-08-04 811
a2da570d62fcb9 Eric Dumazet 2011-01-20 812 static inline void qdisc_calculate_pkt_len(struct sk_buff *skb,
a2da570d62fcb9 Eric Dumazet 2011-01-20 813 const struct Qdisc *sch)
5f86173bdf1598 Jussi Kivilinna 2008-07-20 814 {
3dd186e5096ad4 Daniel Borkmann 2022-06-13 815 #ifdef CONFIG_NET_XGRESS
a2da570d62fcb9 Eric Dumazet 2011-01-20 816 struct qdisc_size_table *stab = rcu_dereference_bh(sch->stab);
a2da570d62fcb9 Eric Dumazet 2011-01-20 817
a2da570d62fcb9 Eric Dumazet 2011-01-20 818 if (stab)
a2da570d62fcb9 Eric Dumazet 2011-01-20 @819 __qdisc_calculate_pkt_len(skb, stab);
3a682fbd732d3d David S. Miller 2008-07-20 820 #endif
a2da570d62fcb9 Eric Dumazet 2011-01-20 821 }
a2da570d62fcb9 Eric Dumazet 2011-01-20 822
:::::: The code at line 819 was first introduced by commit
:::::: a2da570d62fcb9e8816f6920e1ec02c706b289fa net_sched: RCU conversion of stab
:::::: TO: Eric Dumazet <eric.dumazet@...il.com>
:::::: CC: David S. Miller <davem@...emloft.net>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists