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:31:34 UTC 2011


On Mon, 27 Jun 2011, Anders Kaseorg wrote:
> $ echo 'int foo;' > foo.c
> $ clang -O4 test.c

(That should have read ‘clang -O4 -c foo.c’, of course.)

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