On Sun, Jul 1, 2012 at 11:09 AM, Jez <span dir="ltr"><<a href="mailto:jezreel@gmail.com" target="_blank">jezreel@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_quote"><div><div class="h5">On Sun, Jul 1, 2012 at 1:35 AM, Maciej Fijalkowski <span dir="ltr"><<a href="mailto:fijall@gmail.com" target="_blank">fijall@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><div>On Sun, Jul 1, 2012 at 2:45 AM, Jez <span dir="ltr"><<a href="mailto:jezreel@gmail.com" target="_blank">jezreel@gmail.com</a>></span> wrote:<br></div></div><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
Hi,<div><br></div><div>I am thinking about contributing to the JVM backend, and I'm trying to build the basic translator for a start. I'm trying out the jvm-improvements branch since there has been some recent work done there, but I can't seem to get it to build. Here's my setup: 32-bit Ubuntu, OpenJDK 6, building with `python translate.py --opt=0 --backend=jvm targetpypystandalone.py`. The translation fails with:</div>
<div><br></div><div><div>[translation:ERROR] File "/mnt/hgfs/jez/src/pypy/pypy/translator/jvm/database.py", line 493, in lltype_to_cts</div><div>[translation:ERROR] raise AssertionError("Untranslatable type %s!" % OOT)</div>
<div>[translation:ERROR] AssertionError: Untranslatable type * Struct timespec { c_tv_sec, c_tv_nsec }!</div></div><div><br></div><div>Am I doing something wrong, or is this failure expected?</div><span><font color="#888888"><div>
<br></div><div>Jez<br>
</div>
</font></span><br></div></div>_______________________________________________<br>
pypy-dev mailing list<br>
<a href="mailto:pypy-dev@python.org" target="_blank">pypy-dev@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/pypy-dev" target="_blank">http://mail.python.org/mailman/listinfo/pypy-dev</a><br>
<br></blockquote></div><br><div>Hi Jez</div><div><br></div><div>As a general note - the branches might fail. As a specific note - I can probably help you with this particular problem in a few days. This is some timing thing (not sure what) exposed in an ootype unfriendly way. Do you want more info about this problem to try to fix yourself?</div>
<div><br></div><div>Cheers,</div><div>fijal</div></blockquote><div><br></div></div></div><div>Hey Fijal,</div><div><br></div><div>Yeah, I don't mind taking a stab at it myself if you could tell me where to start :)</div>
<div><br>
</div><div>Cheers,</div><div>Jez </div></div><br>
</blockquote></div><br><div>Start at finding where the thing gets created (in graphs and in source code). Look at which level you can use the same hacks as in rpython/module/ll_os.py. Expect europython related lags in replies, otherwise I would recommend IRC :)</div>