__efistub_cmdline.c:undefined reference to `__efistub___ashldi3'

From: kernel test robot

Date: Sun Nov 22 2026 - 06:57:11 EST


Hi Dmitry,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 4843f6873f7c4835e62f2c73ba0fd538e57a2f22
commit: 9a4580db6e9f83428813f671a79486469684069f lib: fix memparse() to handle overflow
date: 6 months ago
config: loongarch-randconfig-r2100-20261122 (https://download.01.org/0day-ci/archive/20261122/20261122125352.gAcg5yLx-lkp@xxxxxxxxx/config)
compiler: loongarch64-linux-gcc (GCC) 16.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261122/20261122125352.gAcg5yLx-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: 9a4580db6e9f ("lib: fix memparse() to handle overflow")
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261122125352.gAcg5yLx-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

loongarch64-linux-ld: ./drivers/firmware/efi/libstub/lib-cmdline.stub.o: in function `__efistub_.L47':
>> __efistub_cmdline.c:(.init.text+0x258): undefined reference to `__efistub___ashldi3'
>> loongarch64-linux-ld: __efistub_cmdline.c:(.init.text+0x268): undefined reference to `__efistub___lshrdi3'

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