[LLVMdev] gold plugin use

Rafael Espindola espindola at google.com
Thu Mar 11 08:45:57 PST 2010


> There is no problem in plugin search. If I give -plugin \path\to\plugin option to ar and nm, they are working fine. But, llvm-gcc doesn't pass this option to ar and nm automatically, so when I compile apache, I get those errors. When I wrote a small script to run ar with -plugin option for compiling apache, then I don't get these errors.

The search is so that you don't have to pass -plugin :-)

> BTW, there is no directory called bfd_plugins inside lib. I think, there is some mistake in the documentation. I just copied the plugin to /lib directory and it works fine.

You need to created it manually.

> -Swarup.

Cheers,
-- 
Rafael Ávila de Espíndola




More information about the llvm-dev mailing list