Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 877539 - toolchain-funcs.eclass: add mold support
Summary: toolchain-funcs.eclass: add mold support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: systemwide-mold
  Show dependency tree
 
Reported: 2022-10-18 06:29 UTC by Joonas Niilola
Modified: 2024-08-16 17:22 UTC (History)
4 users (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 Joonas Niilola gentoo-dev 2022-10-18 06:29:31 UTC
Hey, 

I'd like (need) a similar support for mold that bfd, gold and lld enjoy.
Comment 1 Larry the Git Cow gentoo-dev 2022-10-18 12:54:53 UTC
The bug has been referenced in the following commit(s):

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

commit d52d5a3733acdf481f514dd1e7733d438a33941a
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2022-10-18 12:49:49 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-10-18 12:54:47 +0000

    www-client/firefox: add 106.0
    
     - add a patch to update bindgen cargo crate,
     - llvm:15 can't still be enabled due to rust lacking support - it wouldn't
       work for everyone,
     - pinned lld dependencies on slots, now that lld is gloriously slotted,
     - rebased our no-warnings-as-errors patch,
     - rebased our system-av1 patch,
     - upstream enabled support for mold linker, but we can't enable it yet
       (easily) before support is added to toolchain-funcs.eclass. Track the
       support in bug #877539.
    
    Bug: https://bugs.gentoo.org/873823
    Bug: https://bugs.gentoo.org/877539
    Closes: https://bugs.gentoo.org/877267
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 www-client/firefox/Manifest             |   99 +++
 www-client/firefox/firefox-106.0.ebuild | 1321 +++++++++++++++++++++++++++++++
 2 files changed, 1420 insertions(+)
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2023-08-25 15:31:45 UTC
PR merged
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-25 15:45:45 UTC
No, it hasn't been.
Comment 4 Larry the Git Cow gentoo-dev 2024-08-16 17:21:45 UTC
The bug has been closed via the following commit(s):

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

commit 2d141fdf8928615cb394cc7da03c2299a69c612e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-11-21 04:02:47 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-08-16 17:21:19 +0000

    toolchain-funcs.eclass: fix tc-ld-force-bfd returning early for unknown linkers
    
    For say, mold, until now tc-ld-force-bfd actually didn't work, because
    it bailed early if not lld and not gold (assuming the linker was therefore bfd).
    
    Closes: https://bugs.gentoo.org/877539
    Signed-off-by: Sam James <sam@gentoo.org>

 eclass/toolchain-funcs.eclass | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit 67d76384107dd15f3fa74e4773882fd581c81e40
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-11-21 04:05:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-08-16 17:21:18 +0000

    toolchain-funcs.eclass: add tc-ld-is-mold
    
    For completeness.
    
    Bug: https://bugs.gentoo.org/877539
    Signed-off-by: Sam James <sam@gentoo.org>

 eclass/toolchain-funcs.eclass | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)