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

Nicolas Geoffray nicolas.geoffray at gmail.com
Wed Jun 20 02:45:31 PDT 2012


Hi Wei,

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.

Cheers,
Nicolas

On Tue, Jun 19, 2012 at 11:14 AM, Wei Tang <tangwei.ict at gmail.com> wrote:

> 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
>
> _______________________________________________
> vmkit-commits mailing list
> vmkit-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/vmkit-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/vmkit-commits/attachments/20120620/cb287ffa/attachment.html>


More information about the vmkit-commits mailing list