<p>Hi Kumar,</p>
<p>It's a mistake, we will correct that, we haven't tested vmkit on arm. As LLVM supports arm, by cross-compiling vmkit in arm/linux, it could work, but you will probably have to adapt some few parts of the code. If you plan to make the port, feel free to send us a lot of patches :)</p>
<p>Gaël </p>
<div class="gmail_quote">Le 22 juil. 2013 17:09, "Kumar Sukhani" <<a href="mailto:kumarsukhani@gmail.com">kumarsukhani@gmail.com</a>> a écrit :<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<a href="http://vmkit.llvm.org/" target="_blank">here</a> its mentioned that its portable on ARM. So simply cross-compiling will work?<div><br><div class="gmail_quote">On Mon, Jul 22, 2013 at 7:37 PM, Harris BAKIRAS <span dir="ltr"><<a href="mailto:h.bakiras@gmail.com" target="_blank">h.bakiras@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div><tt>Hello Kumar,<br>
<br>
Unfortunately we never experienced on ARM architecture and we
are not planning to port VMKit on ARM for the moment.<br>
<br>
Regards,<br>
</tt>
<pre cols="72">Harris Bakiras
</pre><div><div>
On 07/19/2013 05:50 PM, Kumar Sukhani wrote:<br>
</div></div></div><div><div>
<blockquote type="cite">
<div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">I
am working on a project to port JRuby on Embedded systems.
JRuby converts Ruby code to bytecode which is executed by any
JVM. For this project I am testing performance of JRuby with
various available JVMs. I have chosen ARM architecture.</span></div>
Does vmkit support ARM architecture?<br>
<br>
<div class="gmail_quote">On Fri, Jul 19, 2013 at 8:01 PM, Harris
BAKIRAS <span dir="ltr"><<a href="mailto:h.bakiras@gmail.com" target="_blank">h.bakiras@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div><tt>I don't know how JRuby works, maybe it uses some
new feature that GNU Classpath does not provide.<br>
<br>
VMKit's openJDK version is unstable on 64 bits since
package version 6b27.<br>
You can still use it for very small programs which does
not need GC but that's all.<br>
<br>
It works fine on 32 bits.<br>
So you can try it on 32 bits or revert your java version
to a previous one (< than 6b27) to test it on 64
bits.<br>
<br>
We are working on fixing the 64 bits issue as soon as
possible.<span><font color="#888888"><br>
</font></span></tt><span><font color="#888888">
<pre cols="72">Harris Bakiras
</pre>
</font></span>
<div>
<div> On 07/19/2013 03:47 PM, Kumar Sukhani
wrote:<br>
</div>
</div>
</div>
<div>
<div>
<blockquote type="cite">Hi Harris Bakiras,
<div>Thanks for reply. It working now.</div>
<div>Actually I wanted to try vmkit VM to run jruby
codes.</div>
<div><br>
</div>
<div>vmkit is able to run Java program, but when I try
to run JRuby code then I get following error -</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">root@komal:/home/komal/Desktop/GSOC/programs#
jruby hello.rb </blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Platform.java:39:in
`getPackageName': java.lang.NullPointerException</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="white-space:pre-wrap"> </span>from
ConstantSet.java:84:in `getEnumClass'</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="white-space:pre-wrap"> </span>from
ConstantSet.java:60:in `getConstantSet'</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="white-space:pre-wrap"> </span>from
ConstantResolver.java:181:in `getConstants'</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="white-space:pre-wrap"> </span>from
ConstantResolver.java:102:in `getConstant'</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="white-space:pre-wrap"> </span>from
ConstantResolver.java:146:in `intValue'</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="white-space:pre-wrap"> </span>from
OpenFlags.java:28:in `value'</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="white-space:pre-wrap"> </span>from
RubyFile.java:254:in `createFileClass'</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="white-space:pre-wrap"> </span>from
Ruby.java:1273:in `initCore'</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="white-space:pre-wrap"> </span>from
Ruby.java:1101:in `bootstrap'</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="white-space:pre-wrap"> </span>from
Ruby.java:1079:in `init'</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="white-space:pre-wrap"> </span>from
Ruby.java:179:in `newInstance'</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="white-space:pre-wrap"> </span>from
Main.java:217:in `run'</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="white-space:pre-wrap"> </span>from
Main.java:128:in `run'</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="white-space:pre-wrap"> </span>from
Main.java:97:in `main'</blockquote>
</blockquote>
<div><br>
Can you tell me what will be the issue ?</div>
<div>Vmkit doesn't work with OpenJDK ?</div>
<div><br>
<div class="gmail_quote">On Fri, Jul 19, 2013 at
6:52 PM, Harris BAKIRAS <span dir="ltr"><<a href="mailto:h.bakiras@gmail.com" target="_blank">h.bakiras@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div><tt>Hi Kumar,<br>
<br>
There is an error on your configuration
line, you should provide the path to
llvm-config binary instead of configure
file.<br>
Assuming that you compiled llvm in release
mode, the llvm-config binary is located in
:<br>
<br>
YOUR_PATH_TO_LLVM/Release+Asserts/bin/llvm-config<br>
<br>
Try to change the -with-llvm-config-path
option and it will compile.<br>
</tt>
<pre cols="72">Harris Bakiras
</pre>
<div>
<div> On 07/19/2013 02:36 PM, Kumar
Sukhani wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div>
<div>To compile vmkit on Ubuntu 12.04
64-bit machine, I followed the steps
giving <a href="http://vmkit.llvm.org/get_started.html" target="_blank">here</a>[1]. </div>
<div>but when I run ./configure I am
getting following error-</div>
<div> <br>
</div>
<div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">root@komal:/home/komal/Desktop/GSOC/vmkit/vmkit#
./configure
-with-llvm-config-path=../llvm-3.3.src/configure
--with-gnu-classpath-glibj=/usr/local/classpath/share/classpath/glibj.zip
--with-gnu-classpath-libs=/usr/local/classpath/lib/classpath</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">checking
build system type...
x86_64-unknown-linux-gnu</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">checking
host system type...
x86_64-unknown-linux-gnu</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">checking
target system type...
x86_64-unknown-linux-gnu</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">checking
type of operating system we're
going to host on... Linux</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">configure:
error: missing argument to
--bindir</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">configure:
error: Cannot find (or not
executable)</blockquote>
</blockquote>
<div><br>
</div>
<div>I tried searching it online but
didn't got any similar issue. </div>
<div><br>
</div>
<div>[1] <a href="http://vmkit.llvm.org/get_started.html" target="_blank">http://vmkit.llvm.org/get_started.html<br>
</a><br>
</div>
<div>-- <br>
Kumar Sukhani<br>
<a href="tel:%2B919579650250" value="+919579650250" target="_blank">+919579650250</a><br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
LLVM Developers mailing list
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>
</pre>
</blockquote>
<br>
</div>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>
<a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
Kumar Sukhani<br>
<a href="tel:%2B919579650250" value="+919579650250" target="_blank">+919579650250</a><br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
Kumar Sukhani<br>
<a href="tel:%2B919579650250" value="+919579650250" target="_blank">+919579650250</a><br>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Kumar Sukhani<br><a href="tel:%2B919579650250" value="+919579650250" target="_blank">+919579650250</a><br>
</div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div>