Hi,
FYI, translating pypy for the CLI backend using mono-2.11.1 in a 32bit
environment results in the following error:
[Timer] Timings:
[Timer] annotate --- 309.3 s
[Timer] rtype_ootype --- 326.7 s
[Timer] ==========================================
[Timer] Total: --- 636.0 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 383, in task_rtype_ootype
[translation:ERROR] crash_on_first_typeerror=insist)
[translation:ERROR] File
"/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/rpython/rtyper.py",
line 211, in specialize
[translation:ERROR] self.specialize_more_blocks()
[translation:ERROR] File
"/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/rpython/rtyper.py",
line 254, in specialize_more_blocks
[translation:ERROR] self.specialize_block(block)
[translation:ERROR] File
"/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/rpython/rtyper.py",
line 408, in specialize_block
[translation:ERROR] self.gottypererror(e, block, hop.spaceop, newops)
[translation:ERROR] File
"/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/rpython/rtyper.py",
line 406, in specialize_block
[translation:ERROR] self.translate_hl_to_ll(hop, varmapping)
[translation:ERROR] File
"/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/rpython/rtyper.py",
line 535, in translate_hl_to_ll
[translation:ERROR] resultvar = hop.dispatch()
[translation:ERROR] File
"/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/rpython/rtyper.py",
line 768, in dispatch
[translation:ERROR] return translate_meth(self)
[translation:ERROR] File "<18375-codegen
/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/rpython/rtyper.py:610>",
line 4, in
translate_op_simple_call
[translation:ERROR] return r_arg1.rtype_simple_call(hop)
[translation:ERROR] File
"/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/rpython/rbuiltin.py",
line 126, in rtype_simple_call
[translation:ERROR] return self._call(hop2)
[translation:ERROR] File
"/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/rpython/rbuiltin.py",
line 117, in _call
[translation:ERROR] v_result = bltintyper(hop2, **kwds_i)
[translation:ERROR] File
"/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/rlib/jit.py", line
802, in specialize_call
[translation:ERROR] v_value = hop.inputarg(repr, arg=2)
[translation:ERROR] File
"/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/rpython/rtyper.py",
line 788, in inputarg
[translation:ERROR] return self.llops.convertvar(v, r_binding, converted_to)
[translation:ERROR] File
"/tmp/usr/ports/lang/pypy/work/pypy-pypy-341e1e3821ff/pypy/rpython/rtyper.py",
line 933, in convertvar
[translation:ERROR] (r_from, r_to))
[translation:ERROR] TyperError: don't know how to convert from <StringRepr
String> to <StringRepr * GcStruct rpy_string { hash, chars }>
[translation:ERROR] .. (pypy.rlib.jit:557)set_param__None_enable_opts
[translation:ERROR] .. block@12 with 1 exits
[translation:ERROR] .. v552 = simple_call((function _set_param), driver_0,
name_0, value_0)I know the CLI backend is not really supported but I am sharing this in the event someone is interested. Regards, David
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ pypy-dev mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-dev
