I've changed --enable-gold to --enable-ld=<linker>, because I've found out
that LLVM besides Clang provides also a linker called lld, and lld at least
in version 6 actually performs even better than gold (4s vs gold's 6-7s).
There are some caveats though:
* lld6 crashes sometimes and needs [1] (openSUSE users,
devel:tools:compiler/libLLVM6 has it)
* Valgrind can't handle lld's debuginfo and needs [2] and [3], or
passing --no-rosegment to lld, see
https://bugs.kde.org/show_bug.cgi?id=384727 (openSUSE users,
home:llunak:my/valgrind has them)
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.