Kernel 5.4.26 (and 27) threw the following link failure: CC drivers/usb/storage/option_ms.o CC drivers/usb/storage/usual-tables.o AR drivers/tty/built-in.a AR drivers/usb/storage/built-in.a AR drivers/usb/built-in.a AR drivers/built-in.a GEN .version CHK include/generated/compile.h LD vmlinux.o MODPOST vmlinux.o MODINFO modules.builtin.modinfo LD .tmp_vmlinux1 ld: arch/x86/mm/ioremap.o: in function `__ioremap_caller': ioremap.c:(.text+0x37f): undefined reference to `efi_mem_type' make: *** [Makefile:1076: vmlinux] Error 1 Seems like https://bugs.gentoo.org/713460 (for gentoo-sources-5.5.9) Reproducible: Always
Triggered by this kernel-config (which has been used via make oldconfig for my older 5.4-series). http://dpaste.com/1XDHMHH
please *attach* all files. Logs and .config. Do not use pastebins. Reopen the ticket afterwards.
Created attachment 625294 [details] kernel config My 5.4.25-config triggering the issue at 5.4.26 and 5.4.27
Please reest with CONFIG_EFI set
Do you mean editing .config and set CONFIG_EFI=n ? That works. Also building with upstream-patch from bug 713460 - https://bugs.gentoo.org/713460 works with CONFIG_EFI unset. System is a non-EFI system. Also trying CONFIG_EFI=y now - builds, though not sure of impact.
Ok, that's actually our patch, not upstream. I can include in in the next gentoo-sources 5.4
This patch is in the kernel series >= 5.4.29
*** Bug 716430 has been marked as a duplicate of this bug. ***