Hi Nicolas,
I’m trying now to build vmkit with mmtk:
./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
I’ve built llvm-gcc from source and configured llvm so that it can find it.
(I’m on a 32bit lucid machine now)
I get the build error below.
Is this the right configure flag? Does your installation
(32bit lucid) build from a clean checkout using this configuration?
Let me know what you suggest to get vmkit to use mmtk.
Thanks!
Z
vmkit $> make
…
make[3]: Entering directory /home/zoewolk/RESEARCH/vmkit_mmtk/lib/Mvm/MMTk' llvm[3]: Compiling MutatorThread.cpp for Release+Asserts build llvm[3]: Compiling MvmGC.cpp for Release+Asserts build llvm[3]: Building Release+Asserts Archive Library libMMTk.a make[3]: Leaving directory
/home/zoewolk/RESEARCH/vmkit_mmtk/lib/Mvm/MMTk’
make[3]: Entering directory /home/zoewolk/RESEARCH/vmkit_mmtk/lib/Mvm/Runtime' 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 llvm[3]: Compiling LLVMAssembly.s for Release+Asserts build llvm[3]: Compiling MethodInfo.cpp for Release+Asserts build llvm[3]: Compiling Object.cpp for Release+Asserts build /home/zoewolk/RESEARCH/vmkit_mmtk/lib/Mvm/MMTk/MvmGC.h: In member function ‘virtual void mvm::UnpreciseStackScanner::scanStack(mvm::Thread*, uintptr_t)’: /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 Object.cpp:261: sorry, unimplemented: called from here /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 Object.cpp:266: sorry, unimplemented: called from here make[3]: *** [/home/zoewolk/RESEARCH/vmkit_mmtk/lib/Mvm/Runtime/Release+Asserts/Object.o] Error 1 make[3]: Leaving directory
/home/zoewolk/RESEARCH/vmkit_mmtk/lib/Mvm/Runtime’
make[2]: *** [all] Error 1
make[2]: Leaving directory /home/zoewolk/RESEARCH/vmkit_mmtk/lib/Mvm' make[1]: *** [Mvm/.makeall] Error 2 make[1]: Leaving directory
/home/zoewolk/RESEARCH/vmkit_mmtk/lib’
make: *** [all] Error 1