Hi Dmitri,
You must be trying to compile VMKit with openJDK implementation.
This version is broken for the moment, it is our first priority to fix it.
Please use GNU Classpath implementation until the issue is fixed,
or you can revert you java version to 1.6 (package older than
6b27-1.12.5, e.g. 6b27-1.12.3)
Thank you,
Harris Bakiras
On 06/26/2013 02:25 PM, Dmitri Boulytchev wrote:> Hello,
>
> I'm trying to build vmkit as described on
> http://vmkit.llvm.org/get_started.html and
> constantly getting the following error:
>
> db at hot:~/develop/vmkit$ make
> [vmkit .]: Entering compilation process
> [vmkit ./mmtk/java]: Compiling 'mmtk-vmkit.jar'
> vmjc: ctthread.cpp:141: void vmkit::StackWalker::operator++():
> Assertion `(addr < System::GetCallerOfAddress(addr)) &&
"Corrupted
> stack"' failed.
> 0 vmjc 0x00000000010caf72
> llvm::sys::PrintStackTrace(_IO_FILE*) + 34
> 1 vmjc 0x00000000010ca399
> 2 libpthread.so.0 0x00002acc36cabcb0
> 3 libc.so.6 0x00002acc37b0f425 gsignal + 53
> 4 libc.so.6 0x00002acc37b12b8b abort + 379
> 5 libc.so.6 0x00002acc37b080ee
> 6 libc.so.6 0x00002acc37b08192
> 7 vmjc 0x0000000000608e0b vmkit::StackWalker::operator++()
> + 155
> 8 vmjc 0x0000000000608f55
> vmkit::Thread::getFrameContextLength() + 69
> 9 vmjc 0x00000000005f4580 internalFillInStackTrace + 80
> 10 vmjc 0x00000000005f57df JVM_FillInStackTrace + 143
> 11 libjava.so 0x00002acc448172c1
> Java_java_lang_Throwable_fillInStackTrace + 17
> 12 libjava.so 0x00002acc445c1e7f
> Java_java_lang_Throwable_fillInStackTrace + 4292520911
> Aborted (core dumped)
> make[2]: ***
> [/home/db/develop/vmkit/mmtk/java/Release+Asserts/mmtk-vmkit-lower.bc]
> Error 134
> [vmkit ./mmtk]: abort with error in ./mmtk/java
> make[1]: *** [all] Error 1
> [vmkit .]: abort with error in ./mmtk
> make: *** [all] Error 1
>
> Please help!
>
> Best regards,
> Dmitry Boulytchev,
> St.Petersburg State University.
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev