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


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


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


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

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


[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

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

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


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


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


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