From: kernel test robot <lkp@intel.com>
To: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
"Toke Høiland-Jørgensen" <toke@redhat.com>
Subject: [toke:xdp-queueing-03 2/9] net/packet/af_packet.c:1448: undefined reference to `__umoddi3'
Date: Mon, 14 Mar 2022 08:16:13 +0800 [thread overview]
Message-ID: <202203140800.8pr81INh-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git xdp-queueing-03
head: 3e7f25d58b1bfd5ad623678bf9e11f27c98a8094
commit: 1cc16c4489cbf066b09942ea224e6dc9ac6a46ac [2/9] bpf: Use 64-bit return value for bpf_prog_run
config: i386-randconfig-c001 (https://download.01.org/0day-ci/archive/20220314/202203140800.8pr81INh-lkp@intel.com/config)
compiler: gcc-9 (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git/commit/?id=1cc16c4489cbf066b09942ea224e6dc9ac6a46ac
git remote add toke https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git
git fetch --no-tags toke xdp-queueing-03
git checkout 1cc16c4489cbf066b09942ea224e6dc9ac6a46ac
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
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/packet/af_packet.o: in function `fanout_demux_bpf':
>> net/packet/af_packet.c:1448: undefined reference to `__umoddi3'
vim +1448 net/packet/af_packet.c
2d36097d26b599 Neil Horman 2014-01-22 1437
47dceb8ecdc1c3 Willem de Bruijn 2015-08-14 1438 static unsigned int fanout_demux_bpf(struct packet_fanout *f,
47dceb8ecdc1c3 Willem de Bruijn 2015-08-14 1439 struct sk_buff *skb,
47dceb8ecdc1c3 Willem de Bruijn 2015-08-14 1440 unsigned int num)
47dceb8ecdc1c3 Willem de Bruijn 2015-08-14 1441 {
47dceb8ecdc1c3 Willem de Bruijn 2015-08-14 1442 struct bpf_prog *prog;
47dceb8ecdc1c3 Willem de Bruijn 2015-08-14 1443 unsigned int ret = 0;
47dceb8ecdc1c3 Willem de Bruijn 2015-08-14 1444
47dceb8ecdc1c3 Willem de Bruijn 2015-08-14 1445 rcu_read_lock();
47dceb8ecdc1c3 Willem de Bruijn 2015-08-14 1446 prog = rcu_dereference(f->bpf_prog);
47dceb8ecdc1c3 Willem de Bruijn 2015-08-14 1447 if (prog)
ff936a04e5f28b Alexei Starovoitov 2015-10-07 @1448 ret = bpf_prog_run_clear_cb(prog, skb) % num;
47dceb8ecdc1c3 Willem de Bruijn 2015-08-14 1449 rcu_read_unlock();
47dceb8ecdc1c3 Willem de Bruijn 2015-08-14 1450
47dceb8ecdc1c3 Willem de Bruijn 2015-08-14 1451 return ret;
47dceb8ecdc1c3 Willem de Bruijn 2015-08-14 1452 }
47dceb8ecdc1c3 Willem de Bruijn 2015-08-14 1453
:::::: The code at line 1448 was first introduced by commit
:::::: ff936a04e5f28b7e0455be0e7fa91334f89e4b44 bpf: fix cb access in socket filter programs
:::::: TO: Alexei Starovoitov <ast@plumgrid.com>
:::::: CC: David S. Miller <davem@davemloft.net>
---
0-DAY CI Kernel Test Service
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
reply other threads:[~2022-03-14 0:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202203140800.8pr81INh-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=memxor@gmail.com \
--cc=toke@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox