All of lore.kernel.org
 help / color / mirror / Atom feed
* [chao-linux:f2fs-dev 6/9] fs/f2fs/segment.c:2162: undefined reference to `__udivdi3'
@ 2020-07-01 19:06 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-07-01 19:06 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git f2fs-dev
head:   3071cd33e669ffcb435bdc108c975407ebcbcb48
commit: 8764f63129f1fbcd1ee4b5fd62413c47fc9cd96e [6/9] f2fs: record average update time of segment
config: m68k-randconfig-r024-20200701 (attached as .config)
compiler: m68k-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
        git checkout 8764f63129f1fbcd1ee4b5fd62413c47fc9cd96e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k 

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 >>):

   m68k-linux-ld: fs/f2fs/segment.o: in function `update_segment_mtime':
>> fs/f2fs/segment.c:2162: undefined reference to `__udivdi3'

vim +2162 fs/f2fs/segment.c

  2152	
  2153	static void update_segment_mtime(struct f2fs_sb_info *sbi, block_t blkaddr)
  2154	{
  2155		unsigned int segno = GET_SEGNO(sbi, blkaddr);
  2156		struct seg_entry *se = get_seg_entry(sbi, segno);
  2157		unsigned long long mtime = get_mtime(sbi, false);
  2158	
  2159		if (!se->mtime) {
  2160			se->mtime = mtime;
  2161		} else {
> 2162			se->mtime = (se->mtime * se->valid_blocks + mtime) /
  2163							(se->valid_blocks + 1);
  2164		}
  2165		if (mtime > SIT_I(sbi)->max_mtime)
  2166			SIT_I(sbi)->max_mtime = mtime;
  2167	}
  2168	

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

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

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

only message in thread, other threads:[~2020-07-01 19:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-01 19:06 [chao-linux:f2fs-dev 6/9] fs/f2fs/segment.c:2162: undefined reference to `__udivdi3' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.