Hi Zoe,<div><br></div><div>Please add --with-llvmgcc at the end of your configure and see if that fixes it.</div><div><br></div><div>Cheers,</div><div>Nicolas<br><br><div class="gmail_quote">On Fri, Jul 9, 2010 at 10:34 AM, 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 Nicolas,<br><br>I'm trying now to build vmkit with mmtk:<br>./configure --with-llvmsrc=/home/zoewolk/RESEARCH/llvm --with-llvmobj=/home/zoewolk/RESEARCH/llvm --with-gnu-classpath-glibj=/home/zoewolk/RESEARCH/classpath-0.97.2/lib --with-gnu-classpath-libs=/home/zoewolk/RESEARCH/classpath-0.97.2/lib --with-gc=mmtk<br>

<br>I've built llvm-gcc from source and configured llvm so that it can find it.<br>(I'm on a 32bit lucid machine now)<br><br>I get the build error below.<br>Is this the right configure flag?  Does your installation <br>

(32bit lucid) build from a clean checkout using this configuration?<br><br>Let me know what you suggest to get vmkit to use mmtk.<br>Thanks!<br>Z<br><br>vmkit $> make<br>...<br>make[3]: Entering directory `/home/zoewolk/RESEARCH/vmkit_mmtk/lib/Mvm/MMTk'<br>

llvm[3]: Compiling MutatorThread.cpp for Release+Asserts build<br>llvm[3]: Compiling MvmGC.cpp for Release+Asserts build<br>llvm[3]: Building Release+Asserts Archive Library libMMTk.a<br>make[3]: Leaving directory `/home/zoewolk/RESEARCH/vmkit_mmtk/lib/Mvm/MMTk'<br>

make[3]: Entering directory `/home/zoewolk/RESEARCH/vmkit_mmtk/lib/Mvm/Runtime'<br>llvm[3]: Building LLVM assembly with /home/zoewolk/RESEARCH/vmkit_mmtk/lib/Mvm/Runtime/LLVMAssembly.ll /home/zoewolk/RESEARCH/vmkit_mmtk/lib/Mvm/Runtime/LLVMAssembly64.ll<br>

llvm[3]: Compiling LLVMAssembly.s for Release+Asserts build <br>llvm[3]: Compiling MethodInfo.cpp for Release+Asserts build<br>llvm[3]: Compiling Object.cpp for Release+Asserts build<br>/home/zoewolk/RESEARCH/vmkit_mmtk/lib/Mvm/MMTk/MvmGC.h: In member function ‘virtual void mvm::UnpreciseStackScanner::scanStack(mvm::Thread*, uintptr_t)’:<br>

/home/zoewolk/RESEARCH/vmkit_mmtk/lib/Mvm/MMTk/MvmGC.h:71: sorry, unimplemented: inlining failed in call to ‘static void mvm::Collector::scanObject(void**, uintptr_t)’: function body not available<br>Object.cpp:261: sorry, unimplemented: called from here<br>

/home/zoewolk/RESEARCH/vmkit_mmtk/lib/Mvm/MMTk/MvmGC.h:71: sorry, unimplemented: inlining failed in call to ‘static void mvm::Collector::scanObject(void**, uintptr_t)’: function body not available<br>Object.cpp:266: sorry, unimplemented: called from here<br>

make[3]: *** [/home/zoewolk/RESEARCH/vmkit_mmtk/lib/Mvm/Runtime/Release+Asserts/Object.o] Error 1<br>make[3]: Leaving directory `/home/zoewolk/RESEARCH/vmkit_mmtk/lib/Mvm/Runtime'<br>make[2]: *** [all] Error 1<br>make[2]: Leaving directory `/home/zoewolk/RESEARCH/vmkit_mmtk/lib/Mvm'<br>

make[1]: *** [Mvm/.makeall] Error 2<br>make[1]: Leaving directory `/home/zoewolk/RESEARCH/vmkit_mmtk/lib'<br>make: *** [all] Error 1<br><br>
<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>