[pypy-dev] Translating pypy on FreeBSD with CLI backend

Maciej Fijalkowski fijall at gmail.com
Wed May 8 22:26:39 CEST 2013


CLI backend is not really supported any more

On Wed, May 8, 2013 at 10:14 PM, David Naylor <naylor.b.david at gmail.com> wrote:
> Hi,
>
> I tried to translate pypy-2.0b2 on FreeBSD-9.1/i386 and I get the following error:
>
> [Timer] Timings:
> [Timer] annotate                       --- 218.3 s
> [Timer] rtype_ootype                   --- 137.0 s
> [Timer] ==========================================
> [Timer] Total:                         --- 355.4 s
> [translation:ERROR] Error:
> [translation:ERROR]  Traceback (most recent call last):
> [translation:ERROR]    File "/tmp/tmp/pypy/work/pypy-pypy-4b60269153b5/rpython/translator/goal/translate.py", line 317, in main
> [translation:ERROR]     drv.proceed(goals)
> [translation:ERROR]    File "/tmp/tmp/pypy/work/pypy-pypy-4b60269153b5/rpython/translator/driver.py", line 733, in proceed
> [translation:ERROR]     return self._execute(goals, task_skip = self._maybe_skip())
> [translation:ERROR]    File "/tmp/tmp/pypy/work/pypy-pypy-4b60269153b5/rpython/translator/tool/taskengine.py", line 114, in _execute
> [translation:ERROR]     res = self._do(goal, taskcallable, *args, **kwds)
> [translation:ERROR]    File "/tmp/tmp/pypy/work/pypy-pypy-4b60269153b5/rpython/translator/driver.py", line 284, in _do
> [translation:ERROR]     res = func()
> [translation:ERROR]    File "/tmp/tmp/pypy/work/pypy-pypy-4b60269153b5/rpython/translator/driver.py", line 360, in task_rtype_ootype
> [translation:ERROR]     rtyper.specialize(dont_simplify_again=True)
> [translation:ERROR]    File "/tmp/tmp/pypy/work/pypy-pypy-4b60269153b5/rpython/rtyper/rtyper.py", line 207, in specialize
> [translation:ERROR]     self.specialize_more_blocks()
> [translation:ERROR]    File "/tmp/tmp/pypy/work/pypy-pypy-4b60269153b5/rpython/rtyper/rtyper.py", line 250, in specialize_more_blocks
> [translation:ERROR]     self.specialize_block(block)
> [translation:ERROR]    File "/tmp/tmp/pypy/work/pypy-pypy-4b60269153b5/rpython/rtyper/rtyper.py", line 404, in specialize_block
> [translation:ERROR]     self.gottypererror(e, block, hop.spaceop, newops)
> [translation:ERROR]    File "/tmp/tmp/pypy/work/pypy-pypy-4b60269153b5/rpython/rtyper/rtyper.py", line 402, in specialize_block
> [translation:ERROR]     self.translate_hl_to_ll(hop, varmapping)
> [translation:ERROR]    File "/tmp/tmp/pypy/work/pypy-pypy-4b60269153b5/rpython/rtyper/rtyper.py", line 531, in translate_hl_to_ll
> [translation:ERROR]     resultvar = hop.dispatch()
> [translation:ERROR]    File "/tmp/tmp/pypy/work/pypy-pypy-4b60269153b5/rpython/rtyper/rtyper.py", line 759, in dispatch
> [translation:ERROR]     return translate_meth(self)
> [translation:ERROR]    File "<17296-codegen /tmp/tmp/pypy/work/pypy-pypy-4b60269153b5/rpython/rtyper/rtyper.py:611>", line 5, in translate_op_is_
> [translation:ERROR]     return pair(r_arg1, r_arg2).rtype_is_(hop)
> [translation:ERROR]    File "/tmp/tmp/pypy/work/pypy-pypy-4b60269153b5/rpython/rtyper/rmodel.py", line 293, in rtype_is_
> [translation:ERROR]     return hop.rtyper.type_system.generic_is(robj1, robj2, hop)
> [translation:ERROR]    File "/tmp/tmp/pypy/work/pypy-pypy-4b60269153b5/rpython/rtyper/typesystem.py", line 179, in generic_is
> [translation:ERROR]     roriginal1, roriginal2))
> [translation:ERROR]  TyperError: is of instances of the non-instances: <OOErasedRepr Object>, <OOErasedRepr Object>
> [translation:ERROR] .. (pypy.objspace.std.setobject:517)IntegerSetStrategy._difference_update_unwrapped
> [translation:ERROR] .. block at 3 with 2 exits(v961)
> [translation:ERROR] .. v964 = is_(v962, v963)
>
> Is the CLI supported in general, on FreeBSD or broken?
>
> Regards
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> http://mail.python.org/mailman/listinfo/pypy-dev
>


More information about the pypy-dev mailing list