Displaying 4 results from an estimated 4 matches for "bfd_plugins".
2010 Mar 11
3
[LLVMdev] gold plugin use
...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.
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.
-Swarup.
>
>Cheers,
>--
>Rafael Ávila de Espíndola
*************************************
Swarup Kumar Sahoo
Thomas M. Siebel Center for Computer Science
Uni...
2010 Mar 11
0
[LLVMdev] gold plugin use
> Yes, ar and nm actually take -plugin option and if I pass this option, then I don't get these errors. But, llvm-gcc doesn't automatically pass this option to ar.
You probably just need to copy the gold plugin to
$PREFIX/lib/bfd-plugins. Let me know if that works. If not I will
check if there is a bug in the plugin search in binutils.
Cheers,
--
Rafael Ávila de Espíndola
2010 Mar 11
0
[LLVMdev] gold plugin use
...d system to run ar
with the --plugin option (you can set the AR environment variable before
running configure to do this) or place llvmGold.so in the bfd-plugins
directory as Rafael suggests (which will cause ar to load it whenever it
is run).
-- John T.
> 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.
>
> -Swarup.
>
>
>> Cheers,
>> --
>> Rafael Ávila de Espíndola
>>
>
> *************************************
> Swarup K...
2010 Mar 11
2
[LLVMdev] gold plugin use
---- Original message ----
>Date: Wed, 10 Mar 2010 22:09:22 -0800
>From: Nick Lewycky <nicholas at mxc.ca>
>Subject: Re: [LLVMdev] glod plugin use
>To: Swarup Kumar Sahoo <ssahoo2 at illinois.edu>
>Cc: llvmdev at cs.uiuc.edu, Rafael Espindola <espindola at google.com>
>
>Swarup Kumar Sahoo wrote:
>> Hi,
>> I was trying to use gold plugin