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
** 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
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
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