On Monday, 11 June 2012 12:59:55 Michal Bendowski wrote: > The JVM backend worked in February ;) I will be looking into making it > translate the interpreter again soon. For now it requires a 32bit > environment.
FYI, here is the error I get when translating in a 32 environment:
[Timer] Timings:
[Timer] annotate --- 285.0 s
[Timer] rtype_ootype --- 362.7 s
[Timer] backendopt_ootype --- 53.8 s
[Timer] source_jvm --- 17.5 s
[Timer] ==========================================
[Timer] Total: --- 718.9 s
[translation:ERROR] Error:
[translation:ERROR] Traceback (most recent call last):
[translation:ERROR] File "translate.py", line 308, in main
[translation:ERROR] drv.proceed(goals)
[translation:ERROR] File
"/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/translator/driver.py",
line 791, in proceed
[translation:ERROR] return self._execute(goals, task_skip =
self._maybe_skip())
[translation:ERROR] File
"/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/translator/tool/taskengine.py",
line 116, in _execute
[translation:ERROR] res = self._do(goal, taskcallable, *args, **kwds)
[translation:ERROR] File
"/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/translator/driver.py",
line 285, in _do
[translation:ERROR] res = func()
[translation:ERROR] File
"/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/translator/driver.py",
line 703, in task_source_jvm
[translation:ERROR] self.jvmsource = self.gen.generate_source()
[translation:ERROR] File
"/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/translator/jvm/genjvm.py",
line 266, in generate_source
[translation:ERROR] GenOO.generate_source(self)
[translation:ERROR] File
"/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/translator/oosupport/genoo.py",
line 68, in generate_source
[translation:ERROR] self.gen_pendings()
[translation:ERROR] File
"/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/translator/oosupport/genoo.py",
line 83, in gen_pendings
[translation:ERROR] node.render(self.ilasm)
[translation:ERROR] File
"/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/translator/jvm/node.py",
line 902, in render
[translation:ERROR] method.render(gen)
[translation:ERROR] File
"/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/translator/oosupport/function.py",
line 129, in render
[translation:ERROR] self.render_exc_handling_block(block)
[translation:ERROR] File
"/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/translator/oosupport/function.py",
line 156, in
render_exc_handling_block
[translation:ERROR] self._render_op(op)
[translation:ERROR] File
"/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/translator/jvm/node.py",
line 577, in _render_op
[translation:ERROR] OOFunction._render_op(self, op)
[translation:ERROR] File
"/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/translator/oosupport/function.py",
line 377, in _render_op
[translation:ERROR] instr_list.render(self.generator, op)
[translation:ERROR] File
"/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/translator/oosupport/metavm.py",
line 246, in render
[translation:ERROR] instr.render(generator, op)
[translation:ERROR] File
"/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/translator/oosupport/metavm.py",
line 456, in render
[translation:ERROR] is_primitive = get_primitive_name(callee)
[translation:ERROR] File
"/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/translator/oosupport/metavm.py",
line 450, in
get_primitive_name
[translation:ERROR] return sm._name.rsplit('.', 1)
[translation:ERROR] File
"/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/rpython/lltypesystem/lltype.py",
line 1171, in __getattr__
[translation:ERROR] field_name))
[translation:ERROR] AttributeError: <Func ( ) -> Signed> instance has no
field '_name'
I haven't received any requests for use of the JVM backend on FreeBSD so this
is not urgent.
Thanks, and good luck.
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ pypy-dev mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-dev
