lkml.org 
[lkml]   [2022]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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@intel.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@gmail.com>
:::::: CC: David S. Miller <davem@davemloft.net>

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

\
 
 \ /
  Last update: 2022-07-13 13:25    [W:0.165 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site