Forgot to send to the mailing list...<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Joshua Warner</b> <span dir="ltr"><<a href="mailto:joshuawarner32@gmail.com">joshuawarner32@gmail.com</a>></span><br>
Date: Mon, Jul 19, 2010 at 10:19 AM<br>Subject: Re: [LLVMdev] Building VMKit<br>To: nicolas geoffray <<a href="mailto:nicolas.geoffray@gmail.com">nicolas.geoffray@gmail.com</a>><br><br><br>Thanks Nicolas, that worked great!<br>
<br>Now, I'm having trouble invoking the compiler properly:<br>$ llcj Hello.class -o=Hello.ll<br>$ cat Hello.ll<br>cat: Hello.ll: No such file or directory<br>$ j3 Hello<br>j3: JavaClass.cpp:480: j3::JavaObject* j3::Class::doNew(j3::Jnjvm*): Assertion `(this->isInitializing() || classLoader->getCompiler()->isStaticCompiling()) && "Uninitialized class when allocating."' failed.<br>

Aborted<br>$ java Hello<br>hello, world!<br><br>"Hello" is a completely banal "hello world!" program.<br><font color="#888888"><br>Joshua</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">
On Mon, Jul 19, 2010 at 9:44 AM, nicolas geoffray <span dir="ltr"><<a href="mailto:nicolas.geoffray@gmail.com" target="_blank">nicolas.geoffray@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Joshua,<div><br></div><div>The .Net implementation in VMKit hasn't been updated for a long while. Fortunately for you, the Java implementation is not :). Remove all pnet references in your configure and it should compile fine:<br>


<br></div><div><div>./configure --with-llvmsrc=/home/jowarner/code/llvm/ --with-llvmobj=/home/jowarner/code/llvm/ --with-gnu-classpath-glibj=/usr/share/classpath/glibj.zip</div><div><br></div></div><font color="#888888"><div>

Nicolas</div></font><div><div></div><div><div><br><div class="gmail_quote">
On Mon, Jul 19, 2010 at 5:21 PM, Joshua Warner <span dir="ltr"><<a href="mailto:joshuawarner32@gmail.com" target="_blank">joshuawarner32@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


Sure:<br><br>I'm on 64-bit Ubuntu Linux 10.04 with gcc 4.4.3. I followed the instructions on <a href="http://vmkit.llvm.org/get_started.html" target="_blank">http://vmkit.llvm.org/get_started.html</a>, as near as I can tell.<br>


<br>I configured llvm with the default configuration:<br>
./configure<br><br>I configured vmkit with:<br>./configure --with-llvmsrc=/home/jowarner/code/llvm/ --with-llvmobj=/home/jowarner/code/llvm/ --with-gnu-classpath-glibj=/usr/share/classpath/glibj.zip --with-pnet-local-prefix=/home/jowarner/code/pnet-0.8.0/ --with-pnetlib=/home/jowarner/code/pnetlib-0.8.0/<br>



<br>Thanks,<br><font color="#888888">Joshua</font><div><div></div><div><br><br><div class="gmail_quote">On Mon, Jul 19, 2010 at 8:40 AM, Duncan Sands <span dir="ltr"><<a href="mailto:baldrick@free.fr" target="_blank">baldrick@free.fr</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>> I'm trying to build VMKit from SVN, and I'm getting a bunch of errors<br>
> that all seem to be related to the TRACER macro not getting defined:<br>
</div>...<br>
<div>> Is there something wrong with my configuration?<br>
<br>
</div>Hi Joshua, some details like what platform you are on (darwin, linux,<br>
windows), what compiler you are using, how you configured LLVM etc<br>
would be helpful.<br>
<br>
Ciao,<br>
<br>
Duncan.<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>
</blockquote></div><br>
</div></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></div>
</div></div></blockquote></div><br>
</div></div></div><br>