On Wednesday, 8 May 2013 22:14:00 David Naylor 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/translat > e.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/taskengi > ne.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_unwr > apped [translation:ERROR] .. block@3 with 2 exits(v961) > [translation:ERROR] .. v964 = is_(v962, v963)
I tried again and got the following error:
[Timer] Timings:
[Timer] annotate --- 157.6 s
[Timer] rtype_ootype --- 27.7 s
[Timer] ==========================================
[Timer] Total: --- 185.3 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 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 "<17262-codegen
/tmp/tmp/pypy/work/pypy-pypy-4b60269153b5/rpython/rtyper/rtyper.py:601>", line
4, in translate_op_simple_call
[translation:ERROR] return r_arg1.rtype_simple_call(hop)
[translation:ERROR] File
"/tmp/tmp/pypy/work/pypy-pypy-4b60269153b5/rpython/rtyper/rbuiltin.py", line
117, in rtype_simple_call
[translation:ERROR] return self._call(hop2)
[translation:ERROR] File
"/tmp/tmp/pypy/work/pypy-pypy-4b60269153b5/rpython/rtyper/rbuiltin.py", line
108, in _call
[translation:ERROR] v_result = bltintyper(hop2, **kwds_i)
[translation:ERROR] File
"/tmp/tmp/pypy/work/pypy-pypy-4b60269153b5/rpython/rlib/objectmodel.py", line
370, in specialize_call
[translation:ERROR] hop.gendirectcall(r_list.LIST._ll_resize_hint, v_list,
v_sizehint)
[translation:ERROR] AttributeError: 'List' object has no attribute
'_ll_resize_hint'
Also of note:
# mono --version
Mono JIT compiler version 3.0.3 (tarball Wed May 8 19:40:23 UTC 2013)
Copyright (C) 2002-2012 Novell, Inc, Xamarin Inc and Contributors.
www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notification: kqueue
Architecture: x86
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: Included Boehm (with typed GC and Parallel Mark)
Regards
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ pypy-dev mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-dev
