[LLVMdev] Where should I put libLLVMgold.so??

Nan Zhu zhunansjtu at gmail.com
Thu Sep 17 17:06:52 PDT 2009


OMG,that's just my situation...

I can link with libLLVMgold.so manualy,but will fail in that by llvm-gcc.

Debug llvm-gcc?????

Any one installed the gold-plugin successfully can give some instruction?

2009/9/18 Rafael Espindola <espindola at google.com>

> 2009/9/17 Nan Zhu <zhunansjtu at gmail.com>:
> > Yes,it's indeedly the correct one,and new ld can also support -plugin
> > option,I don't know the reason of the trouble,
>
> Does ld actually work if you pass libLLVMGold.so to it? Try to link
> with llvm-gcc without the -use-gold-plugin option and with -v (it will
> fail as expected). Copy the collect2 line and add the -plugin line. If
> that does work, the only think I can think of is to run llvm-gcc in
> gdb and set a breakpoint on the error message.
>
> Cheers,
> --
> Rafael Avila de Espindola
>
> Google | Gordon House | Barrow Street | Dublin 4 | Ireland
> Registered in Dublin, Ireland | Registration Number: 368047
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090918/5ecd78e7/attachment.html>


More information about the llvm-dev mailing list