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

Alex Gaynor alex.gaynor at gmail.com
Wed May 8 22:35:00 CEST 2013


We should probably just delete it at this point, it's completely
unmaintained, doesn't work, and just confuses people; if someone wants to
ressurect it, hg log should be good enough.

Alex


On Wed, May 8, 2013 at 1:26 PM, Maciej Fijalkowski <fijall at gmail.com> wrote:

> 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
> >
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> http://mail.python.org/mailman/listinfo/pypy-dev
>



-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
GPG Key fingerprint: 125F 5C67 DFE9 4084
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20130508/d0b79b55/attachment-0001.html>


More information about the pypy-dev mailing list