Hi All,<br><br>Has vmkit been updated and tested with LLVM 2.8?<br>I am unable to build it (llvm builds fine).<br>There were some errors with Makefile.rules:<br>$(Verb) $(LLVMAS) -f $(<F) -o - | $(LLC) -march=cpp -cppgen=contents -o $@<br>
(march and cppgen options not recognized).<br><br>What I cannot get past is this one (the warnings concern me as well):<br>...<br>make[3]: Leaving directory `/home/zoewolk/RESEARCH/vmkit/lib/Mvm/Runtime'<br>make[3]: Entering directory `/home/zoewolk/RESEARCH/vmkit/lib/Mvm/Compiler'<br>
llvm[3]: Compiling JIT.cpp for Debug build<br>In file included from JIT.cpp:70:<br>LLVMRuntime.inc:3: error: stray ‘@’ in program<br>LLVMRuntime.inc:1: error: expected unqualified-id before ‘.’ token<br>In file included from JIT.cpp:74:<br>
MMTkInline.inc: In function ‘llvm::Function* mvm::mmtk_runtime::makeLLVMFunction(llvm::Module*)’:<br>MMTkInline.inc:24: warning: unused variable ‘PointerTy_2’<br>MMTkInline.inc:351: warning: unused variable ‘PointerTy_27’<br>
MMTkInline.inc:380: warning: unused variable ‘PointerTy_33’<br>MMTkInline.inc:395: warning: unused variable ‘PointerTy_36’<br>MMTkInline.inc:397: warning: unused variable ‘PointerTy_38’<br>MMTkInline.inc:435: warning: unused variable ‘PointerTy_39’<br>
MMTkInline.inc:442: warning: unused variable ‘PointerTy_43’<br>MMTkInline.inc:455: warning: unused variable ‘PointerTy_45’<br>MMTkInline.inc:464: warning: unused variable ‘PointerTy_48’<br>MMTkInline.inc:477: warning: unused variable ‘PointerTy_50’<br>
MMTkInline.inc:488: warning: unused variable ‘PointerTy_52’<br>JIT.cpp: In constructor ‘mvm::BaseIntrinsics::BaseIntrinsics(llvm::Module*)’:<br>JIT.cpp:191: error: ‘makeLLVMModuleContents’ is not a member of ‘mvm::llvm_runtime’<br>
make[3]: *** [/home/zoewolk/RESEARCH/vmkit/lib/Mvm/Compiler/Debug/JIT.o] Error 1<br>make[3]: Leaving directory `/home/zoewolk/RESEARCH/vmkit/lib/Mvm/Compiler'<br>make[2]: *** [all] Error 1<br>make[2]: Leaving directory `/home/zoewolk/RESEARCH/vmkit/lib/Mvm'<br>
make[1]: *** [Mvm/.makeall] Error 2<br>make[1]: Leaving directory `/home/zoewolk/RESEARCH/vmkit/lib'<br>make: *** [all] Error 1<br><br><br>Thanks<br>-ZW<br>