[cfe-dev] LLVM-Gold-Plugin

Behrooz Shafiee shafiee01 at gmail.com
Tue Jan 15 08:42:03 PST 2013


I use LLVM generated bytecodes for KLEE which only works with LLVM 2.9!!
I'm getting sick of these errors...

On Tue, Jan 15, 2013 at 11:40 AM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> On 15 January 2013 11:29, Behrooz Shafiee <shafiee01 at gmail.com> wrote:
> > Hi All,
> >
> > 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.
> > I compiled it but it seems there is an incompatibility with LLVM2.9 and I
> > get this error when invoke the plugin:
> >
> > $ ld -plugin /usr/lib/bfd-plugins/LLVMgold.so ==>
> > 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
> >
> > Do you know what's wrong with it?
>
> Why are you using such an old llvm? Can you try building 3.2 or trunk?
>
> > Thanks,
> >
>
>
> Cheers,
> Rafael
>



-- 
Behrooz Shafiee Sarjaz,
Department of Computer Engineering,
University of Waterloo,
Canada.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130115/bf42be8b/attachment.html>


More information about the cfe-dev mailing list