mipsel-linux-ld: super.c:undefined reference to `__umoddi3'

From: kernel test robot
Date: Sun Jun 27 2021 - 01:42:30 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 625acffd7ae2c52898d249e6c5c39f348db0d8df
commit: c49f71f60754acbff37505e1d16ca796bf8a8140 MIPS: Reinstate platform `__div64_32' handler
date: 10 weeks ago
config: mips-randconfig-r012-20210627 (attached as .config)
compiler: mipsel-linux-gcc (GCC) 9.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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c49f71f60754acbff37505e1d16ca796bf8a8140
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout c49f71f60754acbff37505e1d16ca796bf8a8140
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross O=build_dir ARCH=mips SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

mipsel-linux-ld: fs/btrfs/super.o: in function `btrfs_statfs':
super.c:(.text+0xbebc): undefined reference to `__udivdi3'
>> mipsel-linux-ld: super.c:(.text+0xbefc): undefined reference to `__umoddi3'
>> mipsel-linux-ld: super.c:(.text+0xbf4c): undefined reference to `__udivdi3'
mipsel-linux-ld: super.c:(.text+0xc034): undefined reference to `__umoddi3'
mipsel-linux-ld: super.c:(.text+0xc070): undefined reference to `__udivdi3'
mipsel-linux-ld: super.c:(.text+0xc08c): undefined reference to `__udivdi3'
mipsel-linux-ld: super.c:(.text+0xc128): undefined reference to `__udivdi3'
mipsel-linux-ld: super.c:(.text+0xc21c): undefined reference to `__udivdi3'
mipsel-linux-ld: super.c:(.text+0xc25c): undefined reference to `__umoddi3'
mipsel-linux-ld: super.c:(.text+0xc2b8): undefined reference to `__udivdi3'
mipsel-linux-ld: super.c:(.text+0xc388): undefined reference to `__umoddi3'
mipsel-linux-ld: super.c:(.text+0xc3c0): undefined reference to `__udivdi3'
mipsel-linux-ld: super.c:(.text+0xc3e4): undefined reference to `__udivdi3'
mipsel-linux-ld: super.c:(.text+0xc480): undefined reference to `__udivdi3'
mipsel-linux-ld: super.c:(.text+0xc4e8): undefined reference to `__udivdi3'
mipsel-linux-ld: super.c:(.text+0xc508): undefined reference to `__udivdi3'
mipsel-linux-ld: fs/btrfs/super.o:super.c:(.text+0xc540): more undefined references to `__udivdi3' follow

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

Attachment: .config.gz
Description: application/gzip