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

Bug 695612

Summary: sys-boot/gnu-efi-3.0.9 with sys-devel/clang-9.0.0 - clang-9: error: unknown argument: '-maccumulate-outgoing-args'
Product: Gentoo Linux Reporter: Peter Levine <plevine457>
Component: Current packagesAssignee: Mike Gilbert <floppym>
Status: RESOLVED FIXED    
Severity: normal CC: ia64
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://sourceforge.net/p/gnu-efi/patches/70/
See Also: https://github.com/gentoo/gentoo/pull/13033
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 408963    
Attachments: build.log

Description Peter Levine 2019-09-25 07:21:40 UTC
Created attachment 591012 [details]
build.log

Building gnu-efi-3.0.9 with clang-9.0.0 fails with:

> clang-9: error: unknown argument: '-maccumulate-outgoing-args'"
Comment 1 Larry the Git Cow gentoo-dev 2019-10-03 21:03:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=610d14c7620422c7dc21e13808db1c3a8faf15e9

commit 610d14c7620422c7dc21e13808db1c3a8faf15e9
Author:     Peter Levine <plevine457@gmail.com>
AuthorDate: 2019-09-25 07:26:23 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2019-10-03 21:02:05 +0000

    sys-boot/gnu-efi: Fix building with clang-9
    
    Fix the build to emit valid CFLAGS for clang.
    
    Closes: https://bugs.gentoo.org/695612
    Closes: https://github.com/gentoo/gentoo/pull/13033
    Package-Manager: Portage-2.3.76, Repoman-2.3.17
    Signed-off-by: Peter Levine <plevine457@gmail.com>
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 .../gnu-efi/files/gnu-efi-3.0.9-fix-clang-build.patch | 19 +++++++++++++++++++
 sys-boot/gnu-efi/gnu-efi-3.0.9.ebuild                 |  4 +++-
 2 files changed, 22 insertions(+), 1 deletion(-)