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

Nicolas Geoffray nicolas.geoffray at gmail.com
Sat Jun 23 03:22:44 PDT 2012


On Wed, Jun 20, 2012 at 3:09 PM, Wei Tang <tangwei.ict at gmail.com> wrote:

> Hi Nicolas,
>   This issue happened in debug mode. I will use release build by now. Do
> you have any plan to fix debug build issue?
>

Unfortunately not in the short-term. But it looks like Koutheir is, so
maybe he can jump-into the conversation? :)

Cheers,
Nicolas


> Regards!
> wei
>
>
> On Wed, Jun 20, 2012 at 5:45 PM, Nicolas Geoffray <
> nicolas.geoffray at gmail.com> wrote:
>
>> 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
>>>
>>>
>>
>> _______________________________________________
>> vmkit-commits mailing list
>> vmkit-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/vmkit-commits
>>
>>
>
>
> --
> Best Regards
> tangwei
>
> _______________________________________________
> 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/20120623/8ee96994/attachment.html>


More information about the vmkit-commits mailing list