Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830405 - x11-terms/zutty always builds with -flto
Summary: x11-terms/zutty always builds with -flto
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Smith
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: cflags systemwide-mold
  Show dependency tree
 
Reported: 2022-01-01 14:45 UTC by Matthew Smith
Modified: 2024-03-11 22:49 UTC (History)
1 user (show)

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


Attachments

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