linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* super.c:undefined reference to `__umoddi3'
@ 2021-07-06 11:54 kernel test robot
  2021-07-07 13:47 ` David Sterba
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2021-07-06 11:54 UTC (permalink / raw)
  To: Maciej W. Rozycki; +Cc: kbuild-all, linux-kernel, Thomas Bogendoerfer

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   79160a603bdb51916226caf4a6616cc4e1c58a58
commit: c49f71f60754acbff37505e1d16ca796bf8a8140 MIPS: Reinstate platform `__div64_32' handler
date:   3 months ago
config: mips-randconfig-r036-20210706 (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@intel.com>

All errors (new ones prefixed by >>):

   mipsel-linux-ld: fs/btrfs/super.o: in function `btrfs_statfs':
   super.c:(.text+0xed4): undefined reference to `__udivdi3'
   mipsel-linux-ld: super.c:(.text+0xf14): undefined reference to `__umoddi3'
   mipsel-linux-ld: super.c:(.text+0xf6c): undefined reference to `__udivdi3'
   mipsel-linux-ld: super.c:(.text+0x1050): undefined reference to `__umoddi3'
   mipsel-linux-ld: super.c:(.text+0x1084): undefined reference to `__udivdi3'
   mipsel-linux-ld: super.c:(.text+0x10a8): undefined reference to `__udivdi3'
   mipsel-linux-ld: super.c:(.text+0x10f4): undefined reference to `__udivdi3'
   mipsel-linux-ld: super.c:(.text+0x1114): undefined reference to `__udivdi3'
   mipsel-linux-ld: super.c:(.text+0x114c): undefined reference to `__udivdi3'
   mipsel-linux-ld: fs/btrfs/super.o:super.c:(.text+0x11c4): more undefined references to `__udivdi3' follow
   mipsel-linux-ld: fs/btrfs/super.o: in function `btrfs_statfs':
>> super.c:(.text+0x13fc): undefined reference to `__umoddi3'
   mipsel-linux-ld: super.c:(.text+0x1454): undefined reference to `__udivdi3'
   mipsel-linux-ld: super.c:(.text+0x1538): undefined reference to `__umoddi3'
   mipsel-linux-ld: super.c:(.text+0x1570): undefined reference to `__udivdi3'
   mipsel-linux-ld: super.c:(.text+0x1590): undefined reference to `__udivdi3'
   mipsel-linux-ld: super.c:(.text+0x15e4): undefined reference to `__udivdi3'
   mipsel-linux-ld: super.c:(.text+0x1604): undefined reference to `__udivdi3'
   mipsel-linux-ld: super.c:(.text+0x1640): undefined reference to `__udivdi3'
   mipsel-linux-ld: fs/btrfs/super.o:super.c:(.text+0x16b0): more undefined references to `__udivdi3' follow

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

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: super.c:undefined reference to `__umoddi3'
  2021-07-06 11:54 super.c:undefined reference to `__umoddi3' kernel test robot
@ 2021-07-07 13:47 ` David Sterba
  2021-07-07 14:20   ` Maciej W. Rozycki
  0 siblings, 1 reply; 3+ messages in thread
From: David Sterba @ 2021-07-07 13:47 UTC (permalink / raw)
  To: kernel test robot
  Cc: Maciej W. Rozycki, kbuild-all, linux-kernel, Thomas Bogendoerfer

On Tue, Jul 06, 2021 at 07:54:13PM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   79160a603bdb51916226caf4a6616cc4e1c58a58
> commit: c49f71f60754acbff37505e1d16ca796bf8a8140 MIPS: Reinstate platform `__div64_32' handler

Is it caused by this patch? It seems to be only MIPS-related, otherwise
we'd get reports from other 32bit arches in case of the emulated 64bit
division.

> date:   3 months ago
> config: mips-randconfig-r036-20210706 (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@intel.com>
> 
> All errors (new ones prefixed by >>):
> 
>    mipsel-linux-ld: fs/btrfs/super.o: in function `btrfs_statfs':
>    super.c:(.text+0xed4): undefined reference to `__udivdi3'
>    mipsel-linux-ld: super.c:(.text+0xf14): undefined reference to `__umoddi3'
>    mipsel-linux-ld: super.c:(.text+0xf6c): undefined reference to `__udivdi3'

If you'd like to get that analyzed in the sources, please post the
snippet related to the binary address .text+0xf14 or .text+0xf6c .

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: super.c:undefined reference to `__umoddi3'
  2021-07-07 13:47 ` David Sterba
@ 2021-07-07 14:20   ` Maciej W. Rozycki
  0 siblings, 0 replies; 3+ messages in thread
From: Maciej W. Rozycki @ 2021-07-07 14:20 UTC (permalink / raw)
  To: David Sterba
  Cc: kernel test robot, kbuild-all, linux-kernel, Thomas Bogendoerfer

On Wed, 7 Jul 2021, David Sterba wrote:

> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head:   79160a603bdb51916226caf4a6616cc4e1c58a58
> > commit: c49f71f60754acbff37505e1d16ca796bf8a8140 MIPS: Reinstate platform `__div64_32' handler
> 
> Is it caused by this patch? It seems to be only MIPS-related, otherwise
> we'd get reports from other 32bit arches in case of the emulated 64bit
> division.

 Not really, cf. 
<https://lore.kernel.org/lkml/alpine.DEB.2.22.394.2105200927570.1771368@ramsan.of.borg/>.

 I've seen an earlier report already and will do a test build as a matter 
of interest to see why it triggered around the MIPS change only, once I'm 
done with the current stuff.

  Maciej

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-07 14:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-06 11:54 super.c:undefined reference to `__umoddi3' kernel test robot
2021-07-07 13:47 ` David Sterba
2021-07-07 14:20   ` Maciej W. Rozycki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).