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>