All of lore.kernel.org
 help / color / mirror / Atom feed
* [zen-kernel-zen-kernel:5.11/bbr2 14/30] net/ipv4/tcp_bbr.c:313: undefined reference to `__udivdi3'
@ 2021-02-19  4:01 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-02-19  4:01 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/zen-kernel/zen-kernel 5.11/bbr2
head:   5ded94b0a37ea404ce97aa284b7c8dbfcc39d788
commit: 35d326afdf4fb797b252bc2d01407df0f1f05cdc [14/30] net-tcp: re-generalize TSO sizing in TCP CC module API
config: i386-randconfig-r023-20210218 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/zen-kernel/zen-kernel/commit/35d326afdf4fb797b252bc2d01407df0f1f05cdc
        git remote add zen-kernel-zen-kernel https://github.com/zen-kernel/zen-kernel
        git fetch --no-tags zen-kernel-zen-kernel 5.11/bbr2
        git checkout 35d326afdf4fb797b252bc2d01407df0f1f05cdc
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

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: net/ipv4/tcp_bbr.o: in function `bbr_tso_segs_generic':
>> net/ipv4/tcp_bbr.c:313: undefined reference to `__udivdi3'
>> ld: net/ipv4/tcp_bbr.c:313: undefined reference to `__udivdi3'
>> ld: net/ipv4/tcp_bbr.c:313: undefined reference to `__udivdi3'


vim +313 net/ipv4/tcp_bbr.c

   299	
   300	/* Return the number of segments BBR would like in a TSO/GSO skb, given
   301	 * a particular max gso size as a constraint.
   302	 */
   303	static u32 bbr_tso_segs_generic(struct sock *sk, unsigned int mss_now,
   304					u32 gso_max_size)
   305	{
   306		u32 segs;
   307		u64 bytes;
   308	
   309		/* Budget a TSO/GSO burst size allowance based on bw (pacing_rate). */
   310		bytes = sk->sk_pacing_rate >> sk->sk_pacing_shift;
   311	
   312		bytes = min_t(u32, bytes, gso_max_size - 1 - MAX_TCP_HEADER);
 > 313		segs = max_t(u32, bytes / mss_now, bbr_min_tso_segs(sk));
   314		return segs;
   315	}
   316	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 40661 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-19  4:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-19  4:01 [zen-kernel-zen-kernel:5.11/bbr2 14/30] net/ipv4/tcp_bbr.c:313: undefined reference to `__udivdi3' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.