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

Bug 671618

Summary: sys-apps/systemd[gnuefi] broken systemd-boot EFI boot manager with ld.gold linker
Product: Gentoo Linux Reporter: Tiziano Müller (RETIRED) <dev-zero>
Component: Current packagesAssignee: Gentoo systemd Team <systemd>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tiziano Müller (RETIRED) gentoo-dev 2018-11-21 09:05:46 UTC
Building systemd with USE="gnuefi" and using ld.gold as the default linker leads to a broken systemd-bootx64.efi:
instead of showing the bootmenu after being loaded by the EFI, the screen stays black and the system hangs forever.
Building systemd and thus the EFI payload with ld.bfd instead results in a fully functional systemd-bootx64.efi/systemd-boot EFI boot manager.

Luckily, once the payload is installed, it has to be manually upgraded via `bootctl update` which prevents accidental breakages due to reinstallation of systemd with ld.gold.
Comment 1 Mike Gilbert gentoo-dev 2020-02-23 17:34:07 UTC
If this is still a problem, please report it upstream.