Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 716430

Summary: sys-kernel/gentoo-sources-5.4.28: compile error with CONFIG_EFI disabled
Product: Gentoo Linux Reporter: Peter Gantner (a.k.a. nephros) <gentoo>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: fakih18716, kernel
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Peter Gantner (a.k.a. nephros) 2020-04-06 09:37:57 UTC
There is a bug in ioremap.c which makes the kernel compile fail in case CONFIG_EFI is not set in the configuration.

See this for the error message: https://lkml.org/lkml/2020/3/16/776

See this for the fix: https://lkml.org/lkml/2020/3/18/809
Comment 1 Peter Gantner (a.k.a. nephros) 2020-04-06 09:38:26 UTC
Searchbait:

ld: arch/x86/mm/ioremap.o: in function `__ioremap_caller':
ioremap.c:(.text+0x150): undefined reference to `efi_mem_type'
Comment 2 Michael 'veremitz' Everitt 2020-04-06 09:40:25 UTC

*** This bug has been marked as a duplicate of bug 714178 ***