include/linux/decompress/mm.h:(.text.get_bits+0x5c): undefined reference to `__ashldi3'

From: kernel test robot

Date: Sun Jun 14 2026 - 00:32:41 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 2b07ea76fd28989bde5993532d7a943a6f90e246
commit: d4dba3b9c03a326cfa73833d6b166aeb442f82b5 lib: decompress_bunzip2: fix 32-bit shift undefined behavior
date: 3 months ago
config: mips-randconfig-r052-20260614 (https://download.01.org/0day-ci/archive/20260614/202606141256.AcV2LO0U-lkp@xxxxxxxxx/config)
compiler: mips-linux-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260614/202606141256.AcV2LO0U-lkp@xxxxxxxxx/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
| Fixes: d4dba3b9c03a ("lib: decompress_bunzip2: fix 32-bit shift undefined behavior")
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202606141256.AcV2LO0U-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

mips-linux-ld: arch/mips/boot/compressed/decompress.o: in function `get_bits':
>> include/linux/decompress/mm.h:(.text.get_bits+0x5c): undefined reference to `__ashldi3'
>> mips-linux-ld: include/linux/decompress/mm.h:(.text.get_bits+0xf0): undefined reference to `__ashldi3'
>> mips-linux-ld: arch/mips/boot/compressed/decompress.o:(.debug_addr+0x3a0): undefined reference to `__ashldi3'

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