[vmkit-commits] build failure "native method is bogus. Aborting...“

Wei Tang tangwei.ict at gmail.com
Tue Jun 19 02:14:40 PDT 2012


Hi,
  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.
It doesn't work to me. Following are steps to reproduce.

my configure command line:

classpath-0.97.2
../configure --disable-plugin --disable-examples --disable-Werror
--enable-debug

llvm:
../configure --disable-optimized --enable-assertions --enable-debug-runtime
--enable-debug-symbols --enable-jit --enable-threads --enable-pthreads
--enable-pic --enable-targets=x86,cpp


vmkit:
../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


reproduce erro:
/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

Thread 0x110000000 received a SIGSEGV: either the VM code or an external
native method is bogus. Aborting...
Segmentation fault (core dumped)

-- 
Best Regards
wei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/vmkit-commits/attachments/20120619/1bf37d42/attachment.html>


More information about the vmkit-commits mailing list