[LLVMdev] Dragonegg build broken?

Duncan Sands baldrick at free.fr
Mon Oct 15 05:49:32 PDT 2012


Hi Anitha, I am taking care of it.  While Bill has been trying to fix things up,
I think he's working blind since he's not allowed to compile dragonegg himself
AFAIK.  It makes more sense that I should fix it - I hope to have it done
tonight sometime.

Ciao, Duncan.

On 15/10/12 13:46, Anitha Boyapati wrote:
> Looks like recent changes to Attributes.h broke the dragonegg build. I
> am building with latest clang and llvm trunk.
>
>
> clang version 3.2 (trunk 165928) (llvm/trunk 165925)
> Target: x86_64-unknown-linux-gnu
> Thread model: posix
>
>>>>>>
>
> Compiling TypeConversion.cpp
> /local/home/anitha/dragonegg/src/TypeConversion.cpp: In function
> âllvm::FunctionType* ConvertArgListToFnType(tree,
> llvm::ArrayRef<tree_node*>, tree, bool, llvm::CallingConv::ID&,
> llvm::AttrListPtr&)â:
> /local/home/anitha/dragonegg/src/TypeConversion.cpp:690:3: error: no
> matching function for call to
> âllvm::Attributes::Attributes(llvm::Attributes::AttrVal)â
> /local/home/anitha/dragonegg/src/TypeConversion.cpp:690:3: note: candidates are:
> In file included from /home/anboyapa/install/include/llvm/Instructions.h:21:0,
>                   from /home/anboyapa/install/include/llvm/IRBuilder.h:18,
>                   from
> /local/home/anitha/dragonegg/include/dragonegg/Internals.h:28,
>                   from /local/home/anitha/dragonegg/include/dragonegg/ABI.h:29,
>                   from /local/home/anitha/dragonegg/src/TypeConversion.cpp:24:
> /home/anboyapa/install/include/llvm/Attributes.h:95:3: note:
> llvm::Attributes::Attributes(const llvm::Attributes&)
> /home/anboyapa/install/include/llvm/Attributes.h:95:3: note:   no
> known conversion for argument 1 from âllvm::Attributes::AttrValâ to
> âconst llvm::Attributes&â
> /home/anboyapa/install/include/llvm/Attributes.h:94:3: note:
> llvm::Attributes::Attributes()
> ....
>
>




More information about the llvm-dev mailing list