[Bug 1042822] Re: cannot use clang with gold without matching llvm-X.Y-dev package

2013-08-09 Thread Bram Geron
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

[Bug 1042822] Re: cannot use clang with gold without matching llvm-X.Y-dev package

2013-08-09 Thread Bram Geron
Wait, that actually makes half-sense. I wanted only the LLVM, but -emit- llvm seems to activate LTO as a side effect, unless the user specifies -S . -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1042822] Re: cannot use clang with gold without matching llvm-X.Y-dev package

2012-11-27 Thread Sylvestre Ledru
Could you report this bug in Debian too ? -- 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

[Bug 1042822] Re: cannot use clang with gold without matching llvm-X.Y-dev package

2012-11-15 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: clang (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/1042822 Title:

[Bug 1042822] Re: cannot use clang with gold without matching llvm-X.Y-dev package

2012-11-15 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: llvm (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/1042822 Title:

[Bug 1042822] Re: cannot use clang with gold without matching llvm-X.Y-dev package

2012-11-15 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: llvm-3.0 (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/1042822 Title:

[Bug 1042822] Re: cannot use clang with gold without matching llvm-X.Y-dev package

2012-11-15 Thread Anders Kaseorg
llvm-X.Y-dev isn’t enough. clang really needs the /usr/lib/libLTO.so and /usr/lib/LLVMgold.so symlinks provided by the llvm-dev metapackage. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1042822

[Bug 1042822] Re: cannot use clang with gold without matching llvm-X.Y-dev package

2012-11-15 Thread Matthias Klose
I don't think that would be a good idea. why can't clang use the corresponding shared libs? -- 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

[Bug 1042822] Re: cannot use clang with gold without matching llvm-X.Y-dev package

2012-11-15 Thread Anders Kaseorg
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

[Bug 1042822] Re: cannot use clang with gold without matching llvm-X.Y-dev package

2012-09-30 Thread Sylvestre Ledru
Please report this bug on Debian. I will have a look then. -- 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