From stamat at bitex.com Thu Aug 7 13:08:50 2014 From: stamat at bitex.com (stamat at bitex.com) Date: Thu, 7 Aug 2014 23:08:50 +0300 (EEST) Subject: [vmkit-commits] VMKIT with LLVM Message-ID: <53385.94.72.182.191.1407442130.squirrel@webmail.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 From gael.thomas at lip6.fr Sat Aug 30 18:45:10 2014 From: gael.thomas at lip6.fr (Gael Thomas) Date: Sun, 31 Aug 2014 01:45:10 -0000 Subject: [vmkit-commits] [vmkit] r216831 - Say that the project is retired in the web pages Message-ID: <20140831014510.8DC1F2A6C029@llvm.org> Author: gthomas Date: Sat Aug 30 20:45:10 2014 New Revision: 216831 URL: http://llvm.org/viewvc/llvm-project?rev=216831&view=rev Log: Say that the project is retired in the web pages Modified: vmkit/trunk/www/get_started.html vmkit/trunk/www/index.html vmkit/trunk/www/menu.html.incl Modified: vmkit/trunk/www/get_started.html URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/www/get_started.html?rev=216831&r1=216830&r2=216831&view=diff ============================================================================== --- vmkit/trunk/www/get_started.html (original) +++ vmkit/trunk/www/get_started.html Sat Aug 30 20:45:10 2014 @@ -13,6 +13,18 @@
+ +

The VMKit project is retired

+ + + +

You can still play with the last VMKit release, but the project is not more maintained. + Moreover, the information on these pages may be out of date.

+
+ +

If you are interested in restarting the project, + please contact Gaël Thomas

+

Getting Started: Building and Running VMKit

@@ -26,9 +38,9 @@ involved with the vmkit community.If you would like to check out and build the project, the current scheme is:

-

Prerequisites
-You will have to install a C++ compiler and Java 1.5 or more in order to -compile vmkit2

+ + +
  1. Download @@ -48,42 +60,44 @@ compile vmkit2


    Note: To compile LLVM and VMKit with RTTI enabled, one can pass the parameter REQUIRES_RTTI=1 to llvm make. Passing this argument removes the flag -fno-rtti from the compiler options. Ex: $ make REQUIRES_RTTI=1 - -

    Skip the Classpath steps if you plan to use OpenJDK.
    -

  2. Download - GNU Classpath 0.99:
  3. - - + +

    +

  4. Download, compile and install Openjdk version 6u23 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  5. Checkout vmkit:
  6. - +
    + --with-classpath-impl=openjdk +
    +
    Tell vmkit to use OpenJDK classpath implementation.
    +
    +
    + --with-openjdk-path=<directory> +
    +
    Tell vmkit where OpenJDK is located.
    Modified: vmkit/trunk/www/index.html URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/www/index.html?rev=216831&r1=216830&r2=216831&view=diff ============================================================================== --- vmkit/trunk/www/index.html (original) +++ vmkit/trunk/www/index.html Sat Aug 30 20:45:10 2014 @@ -12,6 +12,18 @@
    +

    The VMKit project is retired

    + + + +

    You can still play with the last VMKit release, but the project is not more maintained. + Moreover, the information on these pages may be out of date.

    + +

    If you are interested in restarting the project, + please contact Gaël Thomas

    +
    + +

    VMKit: a substrate for virtual machines

    Modified: vmkit/trunk/www/menu.html.incl URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/www/menu.html.incl?rev=216831&r1=216830&r2=216831&view=diff ============================================================================== --- vmkit/trunk/www/menu.html.incl (original) +++ vmkit/trunk/www/menu.html.incl Sat Aug 30 20:45:10 2014 @@ -16,7 +16,7 @@ llvm-dev vmkit-commits - Bug Reports + Browse Source
From gael.thomas at lip6.fr Sat Aug 30 18:45:54 2014 From: gael.thomas at lip6.fr (Gael Thomas) Date: Sun, 31 Aug 2014 01:45:54 -0000 Subject: [vmkit-commits] [vmkit] r216832 - Fix the color in get_started.html Message-ID: <20140831014554.DC7542A6C029@llvm.org> Author: gthomas Date: Sat Aug 30 20:45:54 2014 New Revision: 216832 URL: http://llvm.org/viewvc/llvm-project?rev=216832&view=rev Log: Fix the color in get_started.html Modified: vmkit/trunk/www/get_started.html Modified: vmkit/trunk/www/get_started.html URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/www/get_started.html?rev=216832&r1=216831&r2=216832&view=diff ============================================================================== --- vmkit/trunk/www/get_started.html (original) +++ vmkit/trunk/www/get_started.html Sat Aug 30 20:45:54 2014 @@ -20,10 +20,11 @@

You can still play with the last VMKit release, but the project is not more maintained. Moreover, the information on these pages may be out of date.

-

If you are interested in restarting the project, please contact Gaël Thomas

+ +

Getting Started: Building and Running VMKit

From gael.thomas at lip6.fr Sat Aug 30 19:00:34 2014 From: gael.thomas at lip6.fr (=?UTF-8?B?R2HDq2wgVGhvbWFz?=) Date: Sun, 31 Aug 2014 04:00:34 +0200 Subject: [vmkit-commits] VMKIT with LLVM In-Reply-To: <53385.94.72.182.191.1407442130.squirrel@webmail.bitex.com> References: <53385.94.72.182.191.1407442130.squirrel@webmail.bitex.com> Message-ID: 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 : > 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/ -------------------------------------------------------------------