[LLVMdev] vmkit + mmtk build problem revision 107990

nicolas geoffray nicolas.geoffray at gmail.com
Fri Jul 9 11:13:35 PDT 2010


Hi Zoe,

Please add --with-llvmgcc at the end of your configure and see if that fixes
it.

Cheers,
Nicolas

On Fri, Jul 9, 2010 at 10:34 AM, Zoe Wolk <zoewolk at gmail.com> wrote:

> 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
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100709/d4925f4e/attachment.html>


More information about the llvm-dev mailing list