On Mon, Feb 20, 2017 at 10:04:08AM -0600, Bruce Dubbs wrote:
> Hazel Russman wrote:
> > I notice that in the new LFS, gold is built but not used. ld.bfd is
> > still the default. Under what circumstances would it make sense to make
> > gold the default?
> 
> I don't use it personally.  I've seen reports that it really doesn't speed
> things up very much, if at all, but see this:
> 
> http://stackoverflow.com/questions/3476093/replacing-ld-with-gold-any-experience
> 
>   -- Bruce

In my experience, _most_ things in BLFS (and, I think, in LFS after
gold has been installed) link with gold.  Of what I've built in the
past months, kernels sometimes fail to build - that depends very
much on the .config - and qt5 tends not to build.  In qt5 I even
passed a switch to turn off gold, but that was ineffective recently
(I suspect the problem was in qtwebengine).

At the moment I'm using -fuse-ld=gold in my CFLAGS and CXXFLAGS,
except for qt5, but I can't tell how many packages ignore CFLAGS.
Previously I put a symlink'd ld pointing to ld.gold at the head of
$PATH for testing.

What I never found time to test is repeated builds of likely
packages, to compare time and space - it has been on my ToDo list
for ages.  But I no longer expect wonderful speedups.

ĸen
-- 
`I shall take my mountains', said Lu-Tze. `The climate will be good
for them.'     -- Small Gods
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to