[LLVMdev] DragonEgg3.3 support for gcc cross compilers

Ajay Panyala ajay.panyala at gmail.com
Mon Oct 27 20:53:56 PDT 2014


I am using a gcc (v 4.8.2) cross compiler for the tilera architecture.
There is an LLVM (v 3.3) cross compiler available for tilera (
http://tilera.github.io/llvm),
but the frontend only has partial support for certain tilera intrinsics and
no OpenMP support.

Hence, I have decided to use DragonEgg (v 3.3) to resolve this. I was able
to build
DragonEgg, but when I pass the command line argument -fplugin=dragonegg.so
when compiling with the tilera-gcc I get the error
cannot load dragonegg.so: wrong ELF class: ELFCLASS64
i.e. the tilera-gcc does not accept the x86 shared library object
dragonegg.so

The dragonegg sources were built using the x86 GCC, but the plugin
was built to load into the tilera gcc.

Could someone please point out what I am missing here.

Thanks
Ajay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141027/a8e7adc6/attachment.html>


More information about the llvm-dev mailing list