More importantly, -fuse-ld=gold per apt-get changelog binutils, here, does NOT work:
binutils (2.23.52.20130722-1) unstable; urgency=low * New upstream snapshot. - Fix PR ld/15762, glibc being built without warning sections. * Set the libdir for arm64 to lib, not lib64. * Stop building the binutils-gold package, let binutils provide binutils-gold. Packages requiring gold should explicity pass -fuse-ld=gold to the compiler, packages requiring the bfd linker should pass -fuse-ld=bfd to the compiler. * Refresh patches. -- Matthias Klose <d...@debian.org> Mon, 22 Jul 2013 21:13:32 +0200 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1371899 Title: clang++ -flto fails to work unless -B /usr/lib/gold-ld is given To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.4/+bug/1371899/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs