Talk:Gold

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
Before creating a discussion or leaving a comment, please read about using talk pages. To create a new discussion, click here. Comments on an existing discussion should be signed using ~~~~:
A comment [[User:Larry|Larry]] 13:52, 13 May 2024 (UTC)
: A reply [[User:Sally|Sally]] 00:52, 4 December 2024 (UTC)
:: Your reply ~~~~

Installing gold

Talk status
This discussion is done as of July 8th, 2017.

In the article, there's a discussion on how to build gold with EXTRA_ECONF. But it seems gold is built by default anyway, without any extra work required, and it has been for a while...

$ ld.gold --version
GNU gold (GNU Binutils 2.22) 1.11
Copyright 2011 Free Software Foundation, Inc.
...

— The preceding unsigned comment was added by Alec (talkcontribs)

Answering myself: EXTRA_ECONF="--enable-gold=default" is to set ld.gold as the ld by default. Alec (talk) 23:12, 8 July 2017 (UTC)
Glad you updated this discussion with the answer. Thanks for the good work; I will close the discussion now. Kind regards, --Maffblaster (talk) 22:57, 9 July 2017 (UTC)

I note there's now a "default-gold" use flag for binutils that does the same as the env file, but with much less hassle. The article doesn't actually discuss whether switching to gold is a Good Thing. User:goverp Fri 7 Jun 20:18:40 BST 2019

Recent kernels seem to block the gold linker. Is gold even maintained any more? /usr/src/linux # make oldconfig scripts/kconfig/conf --oldconfig Kconfig scripts/Kconfig.include:39: gold linker 'ld' not supported make[1]: *** [scripts/kconfig/Makefile:73: oldconfig] Error 1 make: *** [Makefile:567: oldconfig] Error 2 e350 /usr/src/linux #


Gatak (talk) 13:52, 1 December 2019 (UTC)

Activity on gold

Looking at the gold git repository, it seems to have almost daily commits in 2023. Hence, I believe, the warning should be removed.

(Oz123 (talk) 08:18, 14 August 2023 (UTC))

Please make sure you're looking at the gold subdirectory, not the main repo. --Sam (talk) 08:21, 14 August 2023 (UTC)