[pypy-dev] translation with --profopt fails
Elmo Mäntynen
elmo13 at jippii.fi
Wed Jul 19 15:11:58 CEST 2006
Last lines of output (python translate.py --backend=c --profopt='-c
"from richards import *;main(iterations=1)"' --text --batch
targetpypystandalone.py):
"""
[flowgraph] (pypy.rpython.memory.gctransform:733)ll_finalizer
[flowgraph] (pypy.rpython.memory.gctransform:733)ll_finalizer
[flowgraph] (pypy.rpython.memory.gctransform:733)ll_finalizer
XXX: operation v805 = direct_call((<* fn eq__Long_Long>), (StdObjSpace),
arg0_626, v804) cannot raise, but has exception guarding in graph
(?:1)_mm_eq_longS0_W_LongObject_W_BoolObject
XXX: operation v807 = direct_call((<* fn eq__Long_Long>), (StdObjSpace),
arg0_629, v806) cannot raise, but has exception guarding in graph
(?:1)_mm_eq_longS0_W_LongObject_W_IntObject
XXX: operation v809 = direct_call((<* fn eq__Long_Long>), (StdObjSpace),
arg0_631, v808) cannot raise, but has exception guarding in graph
(?:1)_mm_eq_longS0_W_LongObject_W_LongObject
[c] 28000 nodes [ array: 3816 boehm rtti: 120 func: 2075 struct:
29285 ]
[c] 29000 nodes [ array: 4045 boehm rtti: 120 func: 2149 struct:
29980 ]
[c] 30000 nodes [ array: 4129 boehm rtti: 120 func: 2186 struct:
31192 ]
[c] 31000 nodes [ array: 4257 boehm rtti: 120 func: 2201 struct:
32700 ]
[c] 32000 nodes [ array: 4419 boehm rtti: 137 func: 2279 struct:
33433 ]
[translation:ERROR] Error:
[translation:ERROR] Traceback (most recent call last):
[translation:ERROR] File "translate.py", line 335, in main
[translation:ERROR] drv.proceed(goals)
[translation:ERROR] File
"/home/drayko/Workfolder/Security/Python/cvs/pypy-dist/pypy/translator/driver.py",
line 509, in proceed
[translation:ERROR] return self._execute(goals, task_skip =
self._maybe_skip())
[translation:ERROR] File
"/home/drayko/Workfolder/Security/Python/cvs/pypy-dist/pypy/translator/tool/taskengine.py",
line 108, in _execute
[translation:ERROR] res = self._do(goal, taskcallable, *args, **kwds)
[translation:ERROR] File
"/home/drayko/Workfolder/Security/Python/cvs/pypy-dist/pypy/translator/driver.py",
line 197, in _do
[translation:ERROR] res = func()
[translation:ERROR] File
"/home/drayko/Workfolder/Security/Python/cvs/pypy-dist/pypy/translator/driver.py",
line 301, in task_database_c
[translation:ERROR] database = cbuilder.build_database()
[translation:ERROR] File
"/home/drayko/Workfolder/Security/Python/cvs/pypy-dist/pypy/translator/c/genc.py",
line 86, in build_database
[translation:ERROR] db.complete()
[translation:ERROR] File
"/home/drayko/Workfolder/Security/Python/cvs/pypy-dist/pypy/translator/c/database.py",
line 302, in complete
[translation:ERROR] add_dependencies(node.enum_dependencies())
[translation:ERROR] File
"/home/drayko/Workfolder/Security/Python/cvs/pypy-dist/pypy/translator/c/database.py",
line 288, in add_dependencies
[translation:ERROR] self.get(value)
[translation:ERROR] File
"/home/drayko/Workfolder/Security/Python/cvs/pypy-dist/pypy/translator/c/database.py",
line 179, in get
[translation:ERROR] if obj: # test if the ptr is non-NULL
[translation:ERROR] File
"/home/drayko/Workfolder/Security/Python/cvs/pypy-dist/pypy/rpython/lltypesystem/lltype.py",
line 886, in __nonzero__
[translation:ERROR] return self._obj is not None
[translation:ERROR] File
"/home/drayko/Workfolder/Security/Python/cvs/pypy-dist/pypy/rpython/lltypesystem/lltype.py",
line 910, in _getobj
[translation:ERROR] raise RuntimeError("accessing already garbage
collected %r"
[translation:ERROR] RuntimeError: accessing already garbage collected
<Array of Char >
"""
Just in case no one noticed this already...
Elmo
More information about the Pypy-dev
mailing list