Talk:Gold
This is a Talk page - please see the documentation about using talk pages. Add newer comments below older ones, sign comments using four tildes (
~~~~
), and indent successive comments with colons (:
).
Add new sections at the bottom of the page, under a heading (== ==
). Please remember to mark sections as "open for discussion" using {{talk|open}}
, so they will show up in the list of open discussions.Installing gold
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 (talk • contribs)
- 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.