I dunno, I’m just explaining how it works now.  clang doesn’t use these
libs directly; rather, ‘clang -O4 -use-gold-plugin’ invokes the linker
(which must be gold) with ‘ld -plugin /usr/lib/LLVMgold.so’.  And
LLVMgold.so has a shared library dependency on libLTO.so without an
rpath.

(If you want my opinion, I think these libs belong somewhere other than
llvm-*-dev entirely, since they’re needed by clang users and not just
LLVM developers.)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1042822

Title:
  cannot use clang with gold without matching llvm-X.Y-dev package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clang/+bug/1042822/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to