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

Rafael Espindola espindola at google.com
Thu Sep 17 10:52:05 PDT 2009

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.

Rafael Avila de Espindola

Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047

More information about the llvm-dev mailing list