<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><tt>Hi Julien,<br>
<br>
Due to some new commits, openjdk build is broken for the moment.<br>
We are fixing this.<br>
<br>
You can temporarily use the following commit to try VMKit with
OpenJDK implementation.<br>
<br>
d9bf3794d66a116999f8f16d0799fba6fe5bd822<br>
<br>
just call the following command in your vmkit directory:<br>
<br>
git checkout d9bf3794d66a116999f8f16d0799fba6fe5bd822<br>
</tt>
<pre class="moz-signature" cols="72">Harris Bakiras
</pre>
On 03/18/2013 10:12 AM, Julien Pagès wrote:<br>
</div>
<blockquote
cite="mid:CACp1unENMX-N=HqwNkvKZ7Hd3027LMB+ZRYoS9CaJ8kRFXBdfw@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,<br>
<br>
I see that now vmkit2 contains the last revisions of the
project, so I follow these instructions to compile vmkit : <a
moz-do-not-send="true"
href="http://vmkit2.gforge.inria.fr/start.php">http://vmkit2.gforge.inria.fr/start.php</a><br>
<br>
I download and compile LLVM without errors. I have tested with
and without optimizations but this is the same for the errors. <br>
My configuration for LLVM is just : ./configure; make<br>
<br>
Apparently we can build vmkit with OpenJDK instead of GNU
Classpath, so I configured vmkit with :<br>
<br>
./configure
--with-llvm-config-path=/home/julien/vm/llvm-3.2.src/Release+Asserts/bin/llvm-config
--with-classpath-impl=openjdk
--with-openjdk-path=/usr/lib64/jvm/java-1.7.0-openjdk<br>
<br>
But when I compile vmkit I have this error :<br>
<br>
[vmkit ./lib/j3/ClassLib/OpenJDK]: Compiling 'JavaUpcalls.cpp'<br>
In file included from JavaUpcalls.cpp:1048:<br>
/home/julien/vm/vmkit2/lib/j3/ClassLib/Unsafe.inc:499:35: error:
no member named 'vmdataVMThread' in 'j3::Classpath'<br>
JavaField* field = vm->upcalls->vmdataVMThread;<br>
~~~~~~~~~~~ ^<br>
/home/julien/vm/vmkit2/lib/j3/ClassLib/Unsafe.inc:500:36: error:
no member named 'vmThread' in 'j3::Classpath'<br>
JavaField* field2 = vm->upcalls->vmThread; <br>
~~~~~~~~~~~ ^<br>
2 errors generated.<br>
make[4]: ***
[/home/julien/vm/vmkit2/lib/j3/ClassLib/OpenJDK/Release+Asserts/JavaUpcalls.bc]
Erreur 1<br>
[vmkit ./lib/j3/ClassLib]: abort with error in
./lib/j3/ClassLib/OpenJDK<br>
make[3]: *** [all] Erreur 1<br>
[vmkit ./lib/j3]: abort with error in ./lib/j3/ClassLib<br>
make[2]: *** [all] Erreur 1<br>
[vmkit ./lib]: abort with error in ./lib/j3<br>
make[1]: *** [all] Erreur 1<br>
[vmkit .]: abort with error in ./lib<br>
make: *** [all] Erreur 1<br>
<br>
This is the first time I work with vmkit. So, did I do something
wrong (maybe in configure...) ?<br>
<br>
Thanks,<br>
<br>
Julien <br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a class="moz-txt-link-freetext" href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>
</pre>
</blockquote>
<br>
</body>
</html>