Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266282 - add gold USE flag to toolchain-binutils eclass
Summary: add gold USE flag to toolchain-binutils eclass
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-15 17:25 UTC by Dror Levin (RETIRED)
Modified: 2010-08-07 23:03 UTC (History)
3 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 Dror Levin (RETIRED) gentoo-dev 2009-04-15 17:25:47 UTC
Please add a gold USE flag to enable the experimental gold linker and allow it to be tested more easily.
All that's needed is to add --enable-gold to $myconf in toolchain-binutils_src_compile().
Since it's experimental it would be a good idea to add a note saying it's unsupported, and it should also be disabled by default (i.e. IUSE="-gold").

BTW, other distributions offer gold (e.g. debian offers binutils-gold in experimental), so it's not unheard of :)
Comment 1 SpanKY gentoo-dev 2009-04-18 17:32:43 UTC
in the mean time, you can use EXTRA_ECONF
Comment 2 SpanKY gentoo-dev 2009-05-09 20:57:58 UTC
added to the binutils eclass
Comment 3 Hugo Mildenberger 2009-12-10 18:18:27 UTC
As of binutils-2.20.51.3, gold is still filtered.
Comment 4 Anonymous 2010-08-05 16:36:53 UTC
toolchain-binutils.eclass needs to be changed to search in configure script not "enable-gold=both/ld" and "enable-gold=both/bfd", but just "enable-gold"
Comment 5 SpanKY gentoo-dev 2010-08-07 23:03:30 UTC
new issue -> new bug