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

Bug 931792

Summary: sys-boot/gnu-efi-3.0.18-r1 fails to link with clang
Product: Gentoo Linux Reporter: NHO <jy6x2b32pie9>
Component: Current packagesAssignee: Viorel Munteanu <ceamac>
Status: RESOLVED WONTFIX    
Severity: normal CC: jy6x2b32pie9, toralf
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log for 18-r1
emerge --info

Description NHO 2024-05-12 10:51:40 UTC
Created attachment 892782 [details]
Build log for 18-r1

I'm having llvm-objcopy: error: invalid output format: 'efi-app-x86_64' as an error, build log attached
Comment 1 NHO 2024-05-12 10:52:02 UTC
Created attachment 892783 [details]
emerge --info
Comment 2 Viorel Munteanu gentoo-dev 2024-08-02 04:32:55 UTC
*** Bug 932717 has been marked as a duplicate of this bug. ***
Comment 3 Larry the Git Cow gentoo-dev 2024-08-02 04:53:19 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a8b0eb8e8ebc6a6ea8d32cbcfba8493d87012f7

commit 6a8b0eb8e8ebc6a6ea8d32cbcfba8493d87012f7
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2024-08-02 04:33:38 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2024-08-02 04:53:05 +0000

    sys-boot/gnu-efi: force use of binutils objcopy
    
    lld-objcopy does not support PE executables.
    Use binutils objcopy instead.
    
    Bug: https://bugs.gentoo.org/931792
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 sys-boot/gnu-efi/gnu-efi-3.0.18-r3.ebuild | 110 ++++++++++++++++++++++++++++++
 1 file changed, 110 insertions(+)