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

Koutheir Attouchi koutheir at gmail.com
Sat Jun 23 03:27:28 PDT 2012


I effectively made a debug build for VMKit and it just works. I gave
patches for VMKit and LLVM to make it work but it seems the building
environment is not the same as yours.
Just for information: my dev machine is a Debian Squeeze 6.0 Stable. I use
the SVN trunk version of LLVM and VMKit.

Koutheir ATTOUCHI.
LinkedIn profile: http://www.linkedin.com/in/koutheirattouchi
Blog: http://koutheir.blogspot.com




On Sat, Jun 23, 2012 at 12:22 PM, Nicolas Geoffray <
nicolas.geoffray at gmail.com> wrote:

> 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
>>
>>
>
> _______________________________________________
> 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/2913fd58/attachment.html>


More information about the vmkit-commits mailing list