Hi Zoe,<div><br></div><div>When configuring llvm, did you add target cpp? Something like:</div><div>./configure --enable-targets=x86,cpp or ./configure --enable-targets=all (default).</div><div><br></div><div>The warnings you get on file MMTkInline.inc are normal, it is an auto-generated file.</div>
<div><br></div><div>Nicolas<br><br><div class="gmail_quote">On Mon, Jun 28, 2010 at 3:54 PM, Zoe Wolk <span dir="ltr"><<a href="mailto:zoewolk@gmail.com">zoewolk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
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><font color="#888888">-ZW<br>
</font><br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br></div>