<div dir="ltr">I use LLVM generated bytecodes for KLEE which only works with LLVM 2.9!!<br>I'm getting sick of these errors...<br><br><div class="gmail_quote">On Tue, Jan 15, 2013 at 11:40 AM, Rafael EspĂ­ndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 15 January 2013 11:29, Behrooz Shafiee <<a href="mailto:shafiee01@gmail.com">shafiee01@gmail.com</a>> wrote:<br>


> Hi All,<br>
><br>
> During compiling libdawrd and binutils(readelf) using LLVM, I encountered<br>
> several linking errors. Unfortunately, their configure scripst does not have<br>
> many useful options. I googled the problem and I came to the conclusion that<br>
> it's better to use LLVM gold Plugin which handles the linking process just<br>
> like ld for gcc.<br>
> I compiled it but it seems there is an incompatibility with LLVM2.9 and I<br>
> get this error when invoke the plugin:<br>
><br>
> $ ld -plugin /usr/lib/bfd-plugins/LLVMgold.so ==><br>
> ld: error: /usr/lib/bfd-plugins/LLVMgold.so: could not load plugin library:<br>
> /usr/lib/bfd-plugins/LLVMgold.so: undefined symbol: lto_codegen_set_cpu<br>
><br>
> Do you know what's wrong with it?<br>
<br>
</div>Why are you using such an old llvm? Can you try building 3.2 or trunk?<br>
<br>
> Thanks,<br>
><br>
<br>
<br>
Cheers,<br>
Rafael<br>
</blockquote></div><br><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>
</div>