[LLVMdev] Errors building dragonegg 3.3 in Fedora rawhide

Eric Smith spacewar at gmail.com
Sat Aug 3 14:36:21 PDT 2013


Fedora rawhide now builds on ARM as well as 32-bit and 64-bit x86, and
while the x86 builds are successful, the ARM build is failing.  I was
able to fix the first problem, which was reported in a Debian bug:

    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=715424

However, there are further build errors for which I haven't found
appropriate fixes.  It looks like there might be a namespace problem
or something, but I'm not a C++ expert.  There are problems in
Debug.cpp with references to Type, CallingConv, Value,
DEFAULT_TARGET_AAPCS_BASED, and others.  Below is an excerpt from the
build log showing the first reported error.  The full build log is
available (for a short time) at:

    http://kojipkgs.fedoraproject.org//work/tasks/3214/5733214/build.log

Any help will be greatly appreciated.

Thanks!
Eric


Compiling Debug.cpp
In file included from
/builddir/build/BUILD/dragonegg-3.3.src/include/dragonegg/ABI.h:30:0,
                 from
/builddir/build/BUILD/dragonegg-3.3.src/src/Convert.cpp:24:
/builddir/build/BUILD/dragonegg-3.3.src/include/arm/dragonegg/Target.h:54:18:
error: 'Type' has not been declared
     tree_node *, Type *Ty, CallingConv::ID, std::vector<Type *> &);
                  ^
/builddir/build/BUILD/dragonegg-3.3.src/include/arm/dragonegg/Target.h:54:28:
error: 'CallingConv' has not been declared
     tree_node *, Type *Ty, CallingConv::ID, std::vector<Type *> &);
                            ^
/builddir/build/BUILD/dragonegg-3.3.src/include/arm/dragonegg/Target.h:54:57:
error: 'Type' was not declared in this scope
     tree_node *, Type *Ty, CallingConv::ID, std::vector<Type *> &);
                                                         ^
/builddir/build/BUILD/dragonegg-3.3.src/include/arm/dragonegg/Target.h:54:57:
note: suggested alternative:
In file included from /usr/include/llvm/IR/DerivedTypes.h:21:0,
                 from /usr/include/llvm/IR/DataLayout.h:25,
                 from /usr/include/llvm/IR/IRBuilder.h:22,
                 from
/builddir/build/BUILD/dragonegg-3.3.src/include/dragonegg/Internals.h:30,
                 from
/builddir/build/BUILD/dragonegg-3.3.src/include/dragonegg/ABI.h:29,
                 from
/builddir/build/BUILD/dragonegg-3.3.src/src/Convert.cpp:24:
/usr/include/llvm/IR/Type.h:44:7: note:   'llvm::Type'



More information about the llvm-dev mailing list