[LLVMdev] error on compiling vmkit

m kh mkh159 at gmail.com
Wed Jul 31 04:47:41 PDT 2013


Hi all,

After "BUILD SUCCESSFUL" Message on compiling VMkit.

after the make starts compiling mmtk-vmkit.jar
In verbose mode the following command errors out:
/home/usr/vmkit/Release+Asserts/bin/vmjc
-load=/home/usr/vmkit/Release+Asserts/lib/MMTKRuntime.so
-load=/home/usr/vmkit/Release+Asserts/lib/MMTKMagic.so -LowerMagic
/home/usr/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
/home/usr/vmkit/mmtk/java/Release+Asserts/mmtk-vmkit-lower.bc
-Dmmtk.properties=/home/usr/vmkit/mmtk/java/vmkit.properties
-disable-stubs -assume-compiled

The Error:

BUILD SUCCESSFUL
Total time: 4 seconds
[vmkit ./mmtk/java]: Compiling 'mmtk-vmkit.jar'
Failed to load /usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/libjava.so,
cannot proceed:
libjvm.so: cannot open shared object file: No such file or directory
0  vmjc            0x0000000001056e72 llvm::sys::PrintStackTrace(_IO_FILE*) + 34
1  vmjc            0x0000000001056ac9
2  libpthread.so.0 0x00002b8a5b47f030
3  libc.so.6       0x00002b8a5c26b475 gsignal + 53
4  libc.so.6       0x00002b8a5c26e6f0 abort + 384
5  vmjc            0x00000000005fdd7b
6  vmjc            0x00000000005f3f82 j3::Jnjvm::loadBootstrap() + 626
7  vmjc            0x000000000058df80 mainCompilerStart(j3::JavaThread*) + 1376
8  vmjc            0x0000000000618828
vmkit::Thread::internalThreadStart(vmkit::Thread*) + 680
9  libpthread.so.0 0x00002b8a5b476b50
10 libc.so.6       0x00002b8a5c313a7d clone + 109
Aborted


java -version:
java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.5) (6b27-1.12.5-1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

Best regards,
Mkh



More information about the llvm-dev mailing list