Hi Wei,<div><br></div><div>Are you able to build optimized mode (--enable-optimized) for both llvm and vmkit? There are some issues for building in debug mode that I haven't looked at yet.</div><div><br></div><div>Cheers,</div>
<div>Nicolas<br><div><br><div class="gmail_quote">On Tue, Jun 19, 2012 at 11:14 AM, Wei Tang <span dir="ltr"><<a href="mailto:tangwei.ict@gmail.com" target="_blank">tangwei.ict@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, <br>  I got following error when compiling mmtk-vmkit.jar, anyone can help?  I searched in Google,  someone got the similar issue and solved by changing different GC plan. <br>It doesn't work to me. Following are steps to reproduce. <br>

<br>my configure command line:<br><br>classpath-0.97.2<br>../configure --disable-plugin --disable-examples --disable-Werror --enable-debug<br><br>llvm: <br>../configure --disable-optimized --enable-assertions --enable-debug-runtime --enable-debug-symbols --enable-jit --enable-threads --enable-pthreads --enable-pic --enable-targets=x86,cpp<br>

<br><br>vmkit: <br>../configure --with-llvmsrc=/wsp/cmplr/vmkit/llvm --with-llvmobj=/wsp/cmplr/vmkit/llvm/obj --with-gnu-classpath-glibj=/wsp/cmplr/vmkit/classpath-0.97.2/lib/glibj.zip --with-gnu-classpath-libs=/wsp/cmplr/vmkit/classpath-0.97.2/lib<br>

<br><br>reproduce erro: <br>/wsp/cmplr/vmkit/vmkit-rel/obj-new/Debug+Asserts/bin/vmjc -std-compile-opts -load=/wsp/cmplr/vmkit/vmkit-rel/obj-new/Debug+Asserts/lib/MMTKRuntime.so -load=/wsp/cmplr/vmkit/vmkit-rel/obj-new/Debug+Asserts/lib/MMTKMagic.so -LowerMagic /wsp/cmplr/vmkit/vmkit-rel/obj-new/mmtk/java/mmtk-vmkit.jar -disable-exceptions -disable-cooperativegc -with-clinit=org/mmtk/vm/VM,org/mmtk/utility/*,org/mmtk/policy/*,org/j3/config/* -Dmmtk.hostjvm=org.j3.mmtk.Factory -o mmtk-vmkit.bc -Dmmtk.properties=/wsp/cmplr/vmkit/vmkit-rel/obj-new/../mmtk/java/vmkit.properties -disable-stubs -assume-compiled<br clear="all">

<br>Thread 0x110000000 received a SIGSEGV: either the VM code or an external<br>native method is bogus. Aborting...<br>Segmentation fault (core dumped)<span class="HOEnZb"><font color="#888888"><br><br>-- <br>Best Regards <br>
wei<br>
</font></span><br>_______________________________________________<br>
vmkit-commits mailing list<br>
<a href="mailto:vmkit-commits@cs.uiuc.edu">vmkit-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/vmkit-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/vmkit-commits</a><br>
<br></blockquote></div><br></div></div>