[pypy-dev] help with translation (error in JIT code)

wlavrijsen at lbl.gov wlavrijsen at lbl.gov
Sun May 22 04:54:08 CEST 2011


Hi,

trying to translate reflex-support branch, which was recently move up to 1.5,
I'm stuck at the error below. Any ideas? Thanks!

Best regards,
            Wim

[translation:ERROR] Error:
[translation:ERROR]  Traceback (most recent call last):
[translation:ERROR]    File "translate.py", line 306, in main
[translation:ERROR]     drv.proceed(goals)
[translation:ERROR]    File "/home/wlav/pypydev/pypy/pypy/translator/driver.py", line 809, in proceed
[translation:ERROR]     return self._execute(goals, task_skip = self._maybe_skip())
[translation:ERROR]    File "/home/wlav/pypydev/pypy/pypy/translator/tool/taskengine.py", line 116, in _execute
[translation:ERROR]     res = self._do(goal, taskcallable, *args, **kwds)
[translation:ERROR]    File "/home/wlav/pypydev/pypy/pypy/translator/driver.py", line 286, in _do
[translation:ERROR]     res = func()
[translation:ERROR]    File "/home/wlav/pypydev/pypy/pypy/translator/driver.py", line 397, in task_pyjitpl_lltype
[translation:ERROR]     backend_name=self.config.translation.jit_backend, inline=True)
[translation:ERROR]    File "/home/wlav/pypydev/pypy/pypy/jit/metainterp/warmspot.py", line 46, in apply_jit
[translation:ERROR]     **kwds)
[translation:ERROR]    File "/home/wlav/pypydev/pypy/pypy/jit/metainterp/warmspot.py", line 196, in __init__
[translation:ERROR]     self.codewriter.make_jitcodes(verbose=verbose)
[translation:ERROR]    File "/home/wlav/pypydev/pypy/pypy/jit/codewriter/codewriter.py", line 72, in make_jitcodes
[translation:ERROR]     self.transform_graph_to_jitcode(graph, jitcode, verbose)
[translation:ERROR]    File "/home/wlav/pypydev/pypy/pypy/jit/codewriter/codewriter.py", line 41, in transform_graph_to_jitcode
[translation:ERROR]     transform_graph(graph, self.cpu, self.callcontrol, portal_jd)
[translation:ERROR]    File "/home/wlav/pypydev/pypy/pypy/jit/codewriter/jtransform.py", line 25, in transform_graph
[translation:ERROR]     t.transform(graph)
[translation:ERROR]    File "/home/wlav/pypydev/pypy/pypy/jit/codewriter/jtransform.py", line 39, in transform
[translation:ERROR]     self.optimize_block(block)
[translation:ERROR]    File "/home/wlav/pypydev/pypy/pypy/jit/codewriter/jtransform.py", line 61, in optimize_block
[translation:ERROR]     oplist = self.rewrite_operation(op)
[translation:ERROR]    File "/home/wlav/pypydev/pypy/pypy/jit/codewriter/jtransform.py", line 196, in rewrite_operation
[translation:ERROR]     return rewrite(self, op)
[translation:ERROR]    File "/home/wlav/pypydev/pypy/pypy/jit/codewriter/jtransform.py", line 275, in rewrite_op_direct_call
[translation:ERROR]     return getattr(self, 'handle_%s_call' % kind)(op)
[translation:ERROR]    File "/home/wlav/pypydev/pypy/pypy/jit/codewriter/jtransform.py", line 323, in handle_residual_call
[translation:ERROR]     calldescr = self.callcontrol.getcalldescr(op)
[translation:ERROR]    File "/home/wlav/pypydev/pypy/pypy/jit/codewriter/call.py", line 208, in getcalldescr
[translation:ERROR]     assert NON_VOID_ARGS == [T for T in ARGS if T is not lltype.Void]
[translation:ERROR]  AssertionError

-- 
WLavrijsen at lbl.gov    --    +1 (510) 486 6411    --    www.lavrijsen.net


More information about the pypy-dev mailing list