<div dir="ltr">Thanks so much, that was the problem indeed.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 26, 2012 at 6:53 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Andrew,<div><br></div><div>Using GNU Classpath 0.98 is most probably the reason why it crashes. You should use 0.97.2 instead.</div>
<div><br></div><div>Cheers,</div><div>Nicolas</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Mon, Dec 24, 2012 at 10:52 PM, Andrew Purtell <span dir="ltr"><<a href="mailto:apurtell@apache.org" target="_blank">apurtell@apache.org</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">I've been trying to build vmkit with recent LLVM checked out from SVN. (And Classpath 0.98.) The most recent version (of LLVM) I've tried is r171041. I've also tried r171201 of LLVM, which looks like it may be pretty close to the 3.2 release, with r170964 of vmkit. I've tried building on Ubuntu 12.10 and CentOS 6.2. <div>


<br></div><div>Googling for "Thread 0x110000000 received a SIGSEGV" turns up an old thread from 2011 that claims the x86_64 architecture is not supported by vmkit. Is that still true?</div><div><div><br></div><div>


I don't mind digging in more but don't really know where to start.</div><div><br></div><div>Is there a known good rev of LLVM trunk?</div><div><br></div><div>Here's where the build always ends up:</div>
<div><br></div><div><div>make[2]: Leaving directory `/usr/src/LLVM/vmkit-build/mmtk/mmtk-alloc'</div><div>make[2]: Entering directory `/usr/src/LLVM/vmkit-build/mmtk/java'</div><div>Buildfile: /usr/src/LLVM/vmkit-build/mmtk/java/build.xml</div>


<div><br></div><div>main:</div><div>    [mkdir] Created dir: /usr/src/LLVM/vmkit-build/mmtk/java/classes</div><div>    [javac] /usr/src/LLVM/vmkit-build/mmtk/java/build.xml:4: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds</div>


<div>    [javac] Compiling 380 source files to /usr/src/LLVM/vmkit-build/mmtk/java/classes</div><div>    [javac] Note: Some input files use or override a deprecated API.</div><div>    [javac] Note: Recompile with -Xlint:deprecation for details.</div>


<div>      [jar] Building jar: /usr/src/LLVM/vmkit-build/mmtk/java/mmtk-vmkit.jar</div><div><br></div><div>BUILD SUCCESSFUL</div><div>Total time: 4 seconds</div><div>llvm[2]: Building Release mmtk-vmkit.jar all</div><div>


Thread 0x110000000 received a SIGSEGV: either the VM code or an external</div><div>native method is bogus. Aborting...</div><div>0  vmjc            0x0000000000ee896f</div><div>1  vmjc            0x0000000000ee8e19</div>

<div>
2  libpthread.so.0 0x00002ab388d43cb0</div><div>3  libc.so.6       0x00002ab389bb6425 gsignal + 53</div><div>4  libc.so.6       0x00002ab389bb9b8b abort + 379</div><div>5  vmjc            0x000000000059d4c7 ThrowNullPointerException + 71</div>


<div>6  vmjc            0x000000000052ff48 j3::JavaMethod::invokeIntSpecialAP(j3::Jnjvm*, j3::Class*, j3::JavaObject*, __va_list_tag*) + 56</div><div>7  vmjc            0x00000000005306f5 j3::JavaMethod::invokeIntSpecial(j3::Jnjvm*, j3::Class*, j3::JavaObject*, ...) + 117</div>


<div>8  vmjc            0x0000000000543589 j3::JavaObjectClass::getDeclaredConstructors(j3::JavaObjectClass*, bool) + 761</div><div>9  vmjc            0x000000000054c2d6 Java_java_lang_VMClass_getDeclaredConstructors + 38</div>


<div>10 vmjc            0x00002ab38b810740 Java_java_lang_VMClass_getDeclaredConstructors + 46950622446736</div><div>Aborted (core dumped)</div><div>make[2]: *** [all] Error 134</div><div>make[2]: Leaving directory `/usr/src/LLVM/vmkit-build/mmtk/java'</div>


<div>make[1]: *** [all] Error 1</div><div>make[1]: Leaving directory `/usr/src/LLVM/vmkit-build/mmtk'</div><div>make: *** [all] Error 1</div><span><font color="#888888"><div><br></div></font></span></div>
<span><font color="#888888"><div><br></div>-- <br>Best regards,<br><br>    - Andy<br>
<br>Problems worthy of attack prove their worth by hitting back. - Piet Hein (via Tom White)<br>
</font></span></div></div>
<br></div></div><div class="im">_______________________________________________<br>
vmkit-commits mailing list<br>
<a href="mailto:vmkit-commits@cs.uiuc.edu" target="_blank">vmkit-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/vmkit-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/vmkit-commits</a><br>
<br></div></blockquote></div><br></div>
<br>_______________________________________________<br>
vmkit-commits mailing list<br>
<a href="mailto:vmkit-commits@cs.uiuc.edu">vmkit-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/vmkit-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/vmkit-commits</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Best regards,<br><br>    - Andy<br><br>Problems worthy of attack prove their worth by hitting back. - Piet Hein (via Tom White)<br>
</div>