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

Bug 830405

Summary: x11-terms/zutty always builds with -flto
Product: Gentoo Linux Reporter: Matthew Smith <matthew>
Component: Current packagesAssignee: Matthew Smith <matthew>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/23619
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 59506, 830404    

Description Matthew Smith gentoo-dev 2022-01-01 14:45:32 UTC
The Zutty build script always appends -flto to CXXFLAGS and LDFLAGS (along with -O3 and -march=native) which breaks the build with the mold linker, as it does not support LTO.
Comment 1 Larry the Git Cow gentoo-dev 2022-01-21 07:08:54 UTC
The bug has been closed via the following commit(s):

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

commit c7b5d731d1f75172fd49b838e3b29a51b17b7e5a
Author:     Matthew Smith <matt@offtopica.uk>
AuthorDate: 2022-01-01 15:11:03 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-01-21 06:33:25 +0000

    x11-terms/zutty: add 0.11
    
    - Add a comment on why we don't run the tests.
    - Remove default CXXFLAGS/LDFLAGS from wscript.
    
    Closes: https://bugs.gentoo.org/830405
    Signed-off-by: Matthew Smith <matt@offtopica.uk>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 x11-terms/zutty/Manifest                  |  1 +
 x11-terms/zutty/zutty-0.11-cxxflags.patch | 27 ++++++++++++++++++++
 x11-terms/zutty/zutty-0.11.ebuild         | 41 +++++++++++++++++++++++++++++++
 3 files changed, 69 insertions(+)