Talk:Gold

From Gentoo Wiki
Jump to: navigation, search
Note
This is a talk page. Please add newer comments below older ones, and sign your comments using four tildes (~~~~). When adding a new section (at the bottom of the page), please mark it as "open for discussion" by using {{talk|open}} so it will show up in the list of open discussions.

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)