<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hi All,<br>
<br>
During compiling libdawrd and binutils(readelf) using LLVM, I encountered several
linking errors. Unfortunately, their configure scripst does not
have many useful options. I googled the problem and I came to the
conclusion that it's better to use LLVM gold Plugin which handles the
linking process just like ld for gcc.<br>
I compiled it but it seems there is an incompatibility with LLVM2.9 and I get this error when invoke the plugin:<br>
<br>
$ ld -plugin /usr/lib/bfd-plugins/LLVMgold.so ==><br><div dir="ltr">
ld: error: /usr/lib/bfd-plugins/LLVMgold.so: could not load plugin
library: /usr/lib/bfd-plugins/LLVMgold.so: undefined symbol:
lto_codegen_set_cpu<br>
<br>
Do you know what's wrong with it?
<br clear="all"><br>Thanks,</div><span class="HOEnZb"><font color="#888888"><br clear="all"><br>-- <br><div dir="ltr"><font color="#888888">Behrooz Shafiee Sarjaz,<br>
Department of Computer Engineering,<br>University of Waterloo,<br>
Canada.</font><br></div>
</font></span></div></div></div>