<div><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">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 class="HOEnZb"><font color="#888888"><br>
      </font></span></tt><span class="HOEnZb"><font color="#888888">
      <pre cols="72">Harris Bakiras
</pre></font></span><div><div class="h5">
      On 07/19/2013 03:47 PM, Kumar Sukhani wrote:<br>
    </div></div></div><div><div class="h5">
    <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>
                        +919579650250<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>
        +919579650250<br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br>Kumar Sukhani<br>+919579650250<br>