This bug also appears when the user does not ask for link-time
optimization.

bgeron@tinker:/tmp$ clang -O0 -Wno-unused-value -emit-llvm -o test.ll test.c
/usr/bin/ld: /usr/bin/../lib/LLVMgold.so: error loading plugin: 
/usr/bin/../lib/LLVMgold.so: cannot open shared object file: No such file or 
directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I currently do not have llvm-dev installed.

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