Bug#631178: closed by Sylvestre Ledru <sylvestre at debian.org> (Bug#631178: fixed in llvm-2.9 2.9+dfsg-2)
Anders Kaseorg
andersk at MIT.EDU
Mon Jun 27 23:28:14 UTC 2011
On Tue, 28 Jun 2011, Sylvestre Ledru wrote:
> > Ah. It’s LLVMgold.so, not libLLVMgold.so,
> Well, it is upstream library name. I prefer not to mess with that...
Oh, I see: this changed between llvm-2.8 and llvm-2.9. llvm-2.8-dev
installs libLLVMgold.so, but llvm-2.9-dev installs LLVMgold.so, and clang
2.9 only looks for /usr/lib/LLVMgold.so.
> What is using the bfd-plugins directory ?
ar and nm. For example:
$ echo 'int foo;' > foo.c
$ clang -O4 test.c
$ nm foo.o
nm: foo.o: File format not recognized
# mkdir /usr/lib/bfd-plugins
# ln -s ../llvm-2.9/lib/LLVMgold.so /usr/lib/bfd-plugins/LLVMgold.so
$ nm foo.o
00000000 C foo
Anders
More information about the Pkg-llvm-team
mailing list