[LLVMdev] dragonegg build failure

ether zhhb etherzhhb at gmail.com
Fri Apr 8 09:36:30 PDT 2011


hi Duncan,


>>
>>> That said, it still doesn't compile because you seem
>>> to have LLVM from svn installed not llvm-2.9, and dragonegg-2.9 needs to
>>> be
>>
>> yep, the dragonegg is also from svn

when i try:
/home/ether/local/gcc-4.5/bin/gcc  -S -O1 -o -
-fplugin=$HOME/sources/dragonegg/dragonegg.so
-fplugin-arg-dragonegg-emit-ir $HOME/sources/hello.c 2>&1 | c++filt
i get:
cc1: error: Cannot load plugin /home/ether/sources/dragonegg/dragonegg.so
/home/ether/sources/dragonegg/dragonegg.so: undefined symbol:
llvm::StructType::get(llvm::LLVMContext&, llvm::ArrayRef<llvm::Type
const*>, bool)

So this means dragonegg-svn do not work with llvm-svn?

best regards
ether



More information about the llvm-dev mailing list