[Bug 1371899] Re: clang++ -flto fails to work unless -B /usr/lib/gold-ld is given

2014-10-05 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: llvm-toolchain-3.4 (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1371899

[Bug 1371899] Re: clang++ -flto fails to work unless -B /usr/lib/gold-ld is given

2014-09-20 Thread Matthias Andree
** Attachment added: output of lang++ -stdlib=libc++ try.cpp -O3 -flto -Wall -Wextra -v -B/usr/lib/gold-ld 21 | tee clang-with-B.txt https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.4/+bug/1371899/+attachment/4209579/+files/clang-with-B.txt -- You received this bug notification

[Bug 1371899] Re: clang++ -flto fails to work unless -B /usr/lib/gold-ld is given

2014-09-20 Thread Matthias Andree
The only difference that -B makes is running /usr/lib/gold-ld/ld instead of /usr/bin/ld -- 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

[Bug 1371899] Re: clang++ -flto fails to work unless -B /usr/lib/gold-ld is given

2014-09-20 Thread Matthias Andree
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