[LLVMdev] Error on compiling VMkit

Harris BAKIRAS h.bakiras at gmail.com
Fri Jun 7 01:55:07 PDT 2013


Hi,

Your problem occurs because VMKit can not find the libjava.so library.
To solve this issue, just add:
     - <path/to/openJDK/lib> directory (which should contain libjava.so)
     - <path/to/openJDK/lib/i386|amd64/server> (which should contain 
libjvm.so)
in your LD_LIBRARY_PATH environment variable.

VMKit is also not yet compatible with the latest openJDK 1.6 update 
(6b27-1.12.5), we are trying to solve the problem.
You should use a previous version for now.

Regards,

Harris Bakiras

On 06/07/2013 08:59 AM, m kh wrote:
> Hi all,
>
> After "BUILD SUCCESSFUL" Message on compiling VMkit.
>
> The make starts compiling mmtk-vmkit.jar The following command errors 
> out:
>
> Compiling 'mmtk-vmkit.jar'
>
> /vmkit/Release+Asserts/bin/vmjc 
> -load=/vmkit/Release+Asserts/lib/MMTKRuntime.so 
> -load=/vmkit/Release+Asserts/lib/MMTKMagic.so -LowerMagic 
> /vmkit/mmtk/java/Release+Asserts/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 
> /vmkit/mmtk/java/Release+Asserts/mmtk-vmkit-lower.bc 
> -Dmmtk.properties=/vmkit/mmtk/java/vmkit.properties -disable-stubs 
> -assume-compiled
>
> Failed to load 
> /usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/libjava.so, cannot 
> proceed!
> 0  vmjc            0x0000000000f916cf
> 1  vmjc            0x0000000000f91bc9
> 2  libpthread.so.0 0x00007f922c32e030
> 3  libc.so.6       0x00007f922b40d475 gsignal + 53
> 4  libc.so.6       0x00007f922b4106f0 abort + 384
> 5  vmjc            0x00000000005e4a0d
> 6  vmjc            0x00000000005daaf2 j3::Jnjvm::loadBootstrap() + 626
> 7  vmjc            0x0000000000572fc0 
> mainCompilerStart(j3::JavaThread*) + 1376
> 8  vmjc            0x00000000005fffd0 
> vmkit::Thread::internalThreadStart(vmkit::Thread*) + 528
> 9  libpthread.so.0 0x00007f922c325b50
> 10 libc.so.6       0x00007f922b4b5a7d clone + 109
> Aborted
>
> Best regards,
> Mkh
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130607/f354cc1d/attachment.html>


More information about the llvm-dev mailing list