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() .... -- Anitha
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() > .... > >
Hi Anitha,> Looks like recent changes to Attributes.h broke the dragonegg build. I > am building with latest clang and llvm trunk.it should be fixed now. Ciao, Duncan.
On 15 October 2012 23:08, Duncan Sands <baldrick at free.fr> wrote:> Hi Anitha, > > >> Looks like recent changes to Attributes.h broke the dragonegg build. I >> am building with latest clang and llvm trunk. > > > it should be fixed now.Thanks. Could build it now. -- Anitha