Re: __efistub_cmdline.c:undefined reference to `__efistub___ashldi3'
From: Andy Shevchenko
Date: Mon Oct 19 2026 - 09:43:42 EST
On Mon, Oct 19, 2026 at 03:27:47PM +0200, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: c03c1a14507dfaf8b856c2608f9ac216021fc222
> commit: 9a4580db6e9f83428813f671a79486469684069f lib: fix memparse() to handle overflow
> date: 5 months ago
> config: loongarch-randconfig-r2309-20261019 (https://download.01.org/0day-ci/archive/20261019/202610191553.uvFTO4t9-lkp@xxxxxxxxx/config)
> compiler: loongarch64-linux-gcc (GCC) 16.2.0
> sparse: v0.6.5-rc1
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261019/202610191553.uvFTO4t9-lkp@xxxxxxxxx/reproduce)
Blast from the past?
> 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/202610191553.uvFTO4t9-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+0x288): undefined reference to `__efistub___ashldi3'
> >> loongarch64-linux-ld: __efistub_cmdline.c:(.init.text+0x298): undefined reference to `__efistub___lshrdi3'
--
With Best Regards,
Andy Shevchenko