Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931792 - sys-boot/gnu-efi-3.0.18-r1 fails to link with clang
Summary: sys-boot/gnu-efi-3.0.18-r1 fails to link with clang
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Viorel Munteanu
URL:
Whiteboard:
Keywords:
: 932717 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-05-12 10:51 UTC by NHO
Modified: 2024-08-02 04:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log for 18-r1 (3.0.18-r1-build.log,28.60 KB, text/x-log)
2024-05-12 10:51 UTC, NHO
Details
emerge --info (emerge-clang-glibc.txt,5.67 KB, text/plain)
2024-05-12 10:52 UTC, NHO
Details

Note You need to log in before you can comment on or make changes to this bug.
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(+)