[vmkit-commits] VMKIT with LLVM

Gaël Thomas gael.thomas at lip6.fr
Sat Aug 30 19:00:34 PDT 2014


Hi Stamat,

I'm back from holidays, sorray for the delay :) You have to use the
version 6u23 of openjdk, it should work. The project is almost
retired, I'm the last maintainer and I don't have so many time to play
with VMKit, so the development is a little bit stuck since one year...
Ifyou are interested by VMKit, I can help you.

Gaël

2014-08-07 22:08 GMT+02:00  <stamat at bitex.com>:
> Hi Guys,
>
> Can some body help me as answering on the question:
> Which latest VMKIT tag version with which latest LLVM tag version can be
> succesfuly compiled loaded and running?
> I succeeded to compile LLVM + CLANG + COMPILER-RT (all latest tag 33
> version), because for the 34X versions I found that VMKID is harder to be
> compiled, because of the different configuration using or not the
> auto-config of LLVM.
> I am trying with latest VMKIT branch 32 version.
> When I am telling "latest" I mean the most sable which for me means the
> latest final. For VMKIT I choose the branch (not the tag). I am trying
> with OpenJDK 1.6.0 and 1.7.0. Here is the result. Can some body help me:
> ...
> make[2]: Entering directory `/home/bhinkov/vmkit_032_br/mmtk/java'
> Buildfile: /home/bhinkov/vmkit_032_br/mmtk/java/build.xml
>
> main:
>     [javac] /home/bhinkov/vmkit_032_br/mmtk/java/build.xml:4: warning:
> 'includeantruntime' was not set, defaulting to build.sysclasspath=last;
> set to
> false for repeatable builds
>
> BUILD SUCCESSFUL
> Total time: 1 second
> llvm[2]: Building Release+Asserts mmtk-vmkit.jar all
> vmjc: DIBuilder.cpp:964: llvm::DISubprogram
> llvm::DIBuilder::createFunction(llvm::DIDescriptor, llvm::StringRef,
> llvm::StringRef, llvm::DIFile, unsigned int, llvm::DIType, bool, bool,
> unsigned int,
> unsigned int, bool, llvm::Function*, llvm::MDNode*, llvm::MDNode*): Assertion
> `S.Verify() && "createFunction should return a valid DISubprogram"' failed.
> 0  vmjc            0x0000000000fde152
> llvm::sys::PrintStackTrace(_IO_FILE*) + 34
> 1  vmjc            0x0000000000fddde4
> 2  libpthread.so.0 0x0000003a3060f750
> 3  libc.so.6       0x0000003a2fe35c59 gsignal + 57
> 4  libc.so.6       0x0000003a2fe37368 abort + 328
> 5  libc.so.6       0x0000003a2fe2ebb6
> 6  libc.so.6       0x0000003a2fe2ec62
> 7  vmjc            0x0000000000ef56ba
> 8  vmjc            0x00000000005d0042 j3::JavaJIT::javaCompile() + 146
> 9  vmjc            0x00000000005b5a1d
> j3::JavaLLVMCompiler::parseFunction(j3::JavaMethod*, j3::Class*) + 621
> 10 vmjc            0x00000000005b487a
> j3::JavaJITCompiler::materializeFunction(j3::JavaMethod*, j3::Class*) + 42
> 11 vmjc            0x0000000000574aac
> j3::JavaMethod::invokeIntStaticBuf(j3::Jnjvm*,
> j3::Class*, void*) + 60
> 12 vmjc            0x0000000000574a34
> j3::JavaMethod::invokeIntStaticAP(j3::Jnjvm*,
> j3::Class*, __va_list_tag*) + 628
> 13 vmjc            0x0000000000574cbc
> j3::JavaMethod::invokeIntStatic(j3::Jnjvm*,
> j3::Class*, ...) + 124
> 14 vmjc            0x000000000055dbf4
> j3::Class::initialiseClass(j3::Jnjvm*) + 580
> 15 vmjc            0x000000000055db0b
> j3::Class::initialiseClass(j3::Jnjvm*) + 347
> 16 vmjc            0x0000000000561604 j3::Jnjvm::loadBootstrap() + 180
> 17 vmjc            0x00000000005ace2d mainCompilerStart(j3::JavaThread*) +
> 1341
> 18 vmjc            0x00000000005ee3d7
> vmkit::Thread::internalThreadStart(vmkit::Thread*) + 279
> 19 libpthread.so.0 0x0000003a30607f33
> 20 libc.so.6       0x0000003a2fef4ead clone + 109
> make[2]: *** [all] Aborted (core dumped)
> make[2]: Leaving directory `/home/bhinkov/vmkit_032_br/mmtk/java'
> make[1]: *** [all] Error 1
> make[1]: Leaving directory `/home/bhinkov/vmkit_032_br/mmtk'
> make: *** [all] Error 1
> [root at localhost vmkit_032_br]# make CC=clang CXX=clang++ ENABLE_OPTIMIZED=1
>
> Best Regards,
> Bozhidar Hinkov - Stamat
>
>
> _______________________________________________
> vmkit-commits mailing list
> vmkit-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/vmkit-commits



-- 
-------------------------------------------------------------------
Gaël Thomas, Associate Professor, UPMC
http://pagesperso-systeme.lip6.fr/Gael.Thomas/
-------------------------------------------------------------------




More information about the vmkit-commits mailing list