tree:
git://git.infradead.org/users/hch/block.git block-kill-bd_inode
head: ffeb1c3218d3511f9972cc09dfe37a29c0da40cb
commit: e774673fc5332e888028f74b7e83c9797c432395 [5/40] mtd/block2mtd: use bdev_nr_sectors
instead of open coding it
config: m68k-randconfig-r002-20211012 (attached as .config)
compiler: m68k-linux-gcc (GCC) 11.2.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 remote add hch-block
git://git.infradead.org/users/hch/block.git
git fetch --no-tags hch-block block-kill-bd_inode
git checkout e774673fc5332e888028f74b7e83c9797c432395
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir
ARCH=m68k SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
m68k-linux-ld: arch/m68k/kernel/uboot.o: in function `process_uboot_commandline':
uboot.c:(.init.text+0x30): undefined reference to `_init_sp'
m68k-linux-ld: drivers/mtd/devices/block2mtd.o: in function
`add_device.constprop.0.isra.0':
> block2mtd.c:(.text+0x3fc): undefined reference to `__umoddi3'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org