Re: [PATCH v3 1/2] kstats: kernel metric collector

From: kbuild test robot
Date: Tue Mar 10 2020 - 20:09:11 EST


Hi Luigi,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linux/master]
[also build test ERROR on linus/master v5.6-rc5 next-20200310]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url: https://github.com/0day-ci/linux/commits/Luigi-Rizzo/kstats-kernel-metric-collector/20200227-022930
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git f5ae2ea6347a308cfe91f53b53682ce635497d0d
config: nds32-randconfig-a001-20200311 (attached as .config)
compiler: nds32le-linux-gcc (GCC) 9.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=9.2.0 make.cross ARCH=nds32

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

nds32le-linux-ld: lib/kstats.o: in function `ks_show_entry':
kstats.c:(.text+0x4b0): undefined reference to `__udivdi3'
>> nds32le-linux-ld: kstats.c:(.text+0x4b4): undefined reference to `__udivdi3'
>> nds32le-linux-ld: kstats.c:(.text+0x4e8): undefined reference to `__umoddi3'
nds32le-linux-ld: kstats.c:(.text+0x4ec): undefined reference to `__umoddi3'
nds32le-linux-ld: kstats.c:(.text+0x508): undefined reference to `__udivdi3'
nds32le-linux-ld: kstats.c:(.text+0x50c): undefined reference to `__udivdi3'
nds32le-linux-ld: kstats.c:(.text+0x560): undefined reference to `__umoddi3'
nds32le-linux-ld: kstats.c:(.text+0x564): undefined reference to `__umoddi3'
nds32le-linux-ld: kstats.c:(.text+0x578): undefined reference to `__udivdi3'
nds32le-linux-ld: kstats.c:(.text+0x57c): undefined reference to `__udivdi3'
nds32le-linux-ld: kstats.c:(.text+0x5b0): undefined reference to `__udivdi3'
nds32le-linux-ld: kstats.c:(.text+0x5b4): undefined reference to `__udivdi3'

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

Attachment: .config.gz
Description: application/gzip