Building Dragonegg for use with LLVM 3.6.2

We are attempting to build Dragonegg 3.6.2 with LLVM 3.6.2 in order to benchmark using the SPEC2006 benchmarks; however, we are unable to build Dragonegg successfully using either GCC 4.6, 4.7, and 4.8. We get the compilation error:

In function ‘llvm::MDNode* describeAliasSet(tree)’:
DRAGONEGG_DIR/src/Aliasing.cpp:140:16: error: ‘class llvm::MDNode’ has no member named ‘replaceAllUsesWith’

Is there a fix for this error? If there is not, is there an alternative way to run the SPEC2006 benchmark programs, including the Fortran benchmarks, with LLVM?


We were able to compile Dragonegg 3.5.2 using gcc 4.8.2. Haven’t tried the DE version you mentioned here.