linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [akpm-mm:mm-nonmm-unstable 26/67] fs/xfs/libxfs/xfs_group.h:142:undefined reference to `__moddi3'
@ 2025-04-19  1:51 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-04-19  1:51 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: oe-kbuild-all, Andrew Morton, Linux Memory Management List,
	Alessandro Carminati, Kees Cook, David Gow

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-nonmm-unstable
head:   d1a9b961293d30be9a865d8685590635db282957
commit: 77b839c0f221fdd4e2226f14fbf3559b09e0976a [26/67] bug/kunit: core support for suppressing warning backtraces
config: riscv-randconfig-001-20250419 (https://download.01.org/0day-ci/archive/20250419/202504190918.JLNuRGVb-lkp@intel.com/config)
compiler: riscv32-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250419/202504190918.JLNuRGVb-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202504190918.JLNuRGVb-lkp@intel.com/

All errors (new ones prefixed by >>):

   riscv32-linux-ld: fs/xfs/xfs_zone_gc.o: in function `xfs_fsb_to_gno':
>> fs/xfs/libxfs/xfs_group.h:142:(.text+0x15b2): undefined reference to `__moddi3'
   riscv32-linux-ld: fs/xfs/xfs_zone_gc.o: in function `xfs_rtb_to_daddr':
>> fs/xfs/libxfs/xfs_rtgroup.h:252:(.text+0x15c8): undefined reference to `__divdi3'
>> riscv32-linux-ld: fs/xfs/libxfs/xfs_rtgroup.h:252:(.text+0x15de): undefined reference to `__divdi3'


vim +142 fs/xfs/libxfs/xfs_group.h

759cc1989a5302 Christoph Hellwig 2024-11-03  133  
759cc1989a5302 Christoph Hellwig 2024-11-03  134  static inline uint32_t
759cc1989a5302 Christoph Hellwig 2024-11-03  135  xfs_fsb_to_gno(
759cc1989a5302 Christoph Hellwig 2024-11-03  136  	struct xfs_mount	*mp,
759cc1989a5302 Christoph Hellwig 2024-11-03  137  	xfs_fsblock_t		fsbno,
759cc1989a5302 Christoph Hellwig 2024-11-03  138  	enum xfs_group_type	type)
759cc1989a5302 Christoph Hellwig 2024-11-03  139  {
759cc1989a5302 Christoph Hellwig 2024-11-03  140  	if (!mp->m_groups[type].blklog)
759cc1989a5302 Christoph Hellwig 2024-11-03  141  		return 0;
759cc1989a5302 Christoph Hellwig 2024-11-03 @142  	return fsbno >> mp->m_groups[type].blklog;
759cc1989a5302 Christoph Hellwig 2024-11-03  143  }
759cc1989a5302 Christoph Hellwig 2024-11-03  144  

:::::: The code at line 142 was first introduced by commit
:::::: 759cc1989a53024066b0f2ea52c206b4ff8f522c xfs: add group based bno conversion helpers

:::::: TO: Christoph Hellwig <hch@lst.de>
:::::: CC: Darrick J. Wong <djwong@kernel.org>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


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

only message in thread, other threads:[~2025-04-19  1:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-19  1:51 [akpm-mm:mm-nonmm-unstable 26/67] fs/xfs/libxfs/xfs_group.h:142:undefined reference to `__moddi3' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox