Advertisement
Guest User

PyHaskell translation failure

a guest
Jul 20th, 2012
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.80 KB | None | 0 0
  1. [Timer] Timings:
  2. [Timer] annotate --- 64.3 s
  3. [Timer] rtype_lltype --- 101.6 s
  4. [Timer] pyjitpl_lltype --- 173.7 s
  5. [Timer] ==========================================
  6. [Timer] Total: --- 339.6 s
  7. [translation:ERROR] Error:
  8. [translation:ERROR] Traceback (most recent call last):
  9. [translation:ERROR] File "../../pypy/pypy/translator/goal/translate.py", line 308, in main
  10. [translation:ERROR] drv.proceed(goals)
  11. [translation:ERROR] File "/home/even/repos/pypy/pypy/translator/driver.py", line 791, in proceed
  12. [translation:ERROR] return self._execute(goals, task_skip = self._maybe_skip())
  13. [translation:ERROR] File "/home/even/repos/pypy/pypy/translator/tool/taskengine.py", line 116, in _execute
  14. [translation:ERROR] res = self._do(goal, taskcallable, *args, **kwds)
  15. [translation:ERROR] File "/home/even/repos/pypy/pypy/translator/driver.py", line 285, in _do
  16. [translation:ERROR] res = func()
  17. [translation:ERROR] File "/home/even/repos/pypy/pypy/translator/driver.py", line 397, in task_pyjitpl_lltype
  18. [translation:ERROR] backend_name=self.config.translation.jit_backend, inline=True)
  19. [translation:ERROR] File "/home/even/repos/pypy/pypy/jit/metainterp/warmspot.py", line 49, in apply_jit
  20. [translation:ERROR] warmrunnerdesc.finish()
  21. [translation:ERROR] File "/home/even/repos/pypy/pypy/jit/metainterp/warmspot.py", line 237, in finish
  22. [translation:ERROR] self.annhelper.finish()
  23. [translation:ERROR] File "/home/even/repos/pypy/pypy/rpython/annlowlevel.py", line 241, in finish
  24. [translation:ERROR] self.finish_annotate()
  25. [translation:ERROR] File "/home/even/repos/pypy/pypy/rpython/annlowlevel.py", line 260, in finish_annotate
  26. [translation:ERROR] ann.complete_helpers(self.policy)
  27. [translation:ERROR] File "/home/even/repos/pypy/pypy/annotation/annrpython.py", line 142, in complete_helpers
  28. [translation:ERROR] self.complete()
  29. [translation:ERROR] File "/home/even/repos/pypy/pypy/annotation/annrpython.py", line 216, in complete
  30. [translation:ERROR] self.processblock(graph, block)
  31. [translation:ERROR] File "/home/even/repos/pypy/pypy/annotation/annrpython.py", line 414, in processblock
  32. [translation:ERROR] self.flowin(graph, block)
  33. [translation:ERROR] File "/home/even/repos/pypy/pypy/annotation/annrpython.py", line 474, in flowin
  34. [translation:ERROR] self.consider_op(block.operations[i])
  35. [translation:ERROR] File "/home/even/repos/pypy/pypy/annotation/annrpython.py", line 676, in consider_op
  36. [translation:ERROR] raise_nicer_exception(op, str(graph))
  37. [translation:ERROR] File "/home/even/repos/pypy/pypy/annotation/annrpython.py", line 673, in consider_op
  38. [translation:ERROR] resultcell = consider_meth(*argcells)
  39. [translation:ERROR] File "<142-codegen /home/even/repos/pypy/pypy/annotation/annrpython.py:711>", line 3, in consider_op_simple_call
  40. [translation:ERROR] return arg.simple_call(*args)
  41. [translation:ERROR] File "/home/even/repos/pypy/pypy/annotation/unaryop.py", line 175, in simple_call
  42. [translation:ERROR] return obj.call(getbookkeeper().build_args("simple_call", args_s))
  43. [translation:ERROR] File "/home/even/repos/pypy/pypy/annotation/unaryop.py", line 722, in call
  44. [translation:ERROR] return bookkeeper.pbc_call(pbc, args)
  45. [translation:ERROR] File "/home/even/repos/pypy/pypy/annotation/bookkeeper.py", line 672, in pbc_call
  46. [translation:ERROR] results.append(desc.pycall(schedule, args, s_previous_result, op))
  47. [translation:ERROR] File "/home/even/repos/pypy/pypy/annotation/description.py", line 829, in pycall
  48. [translation:ERROR] return self.funcdesc.pycall(schedule, args, s_previous_result, op)
  49. [translation:ERROR] File "/home/even/repos/pypy/pypy/annotation/description.py", line 289, in pycall
  50. [translation:ERROR] result = self.specialize(inputcells, op)
  51. [translation:ERROR] File "/home/even/repos/pypy/pypy/annotation/description.py", line 285, in specialize
  52. [translation:ERROR] return self.specializer(self, inputcells)
  53. [translation:ERROR] File "/home/even/repos/pypy/pypy/rpython/annlowlevel.py", line 125, in default_specialize
  54. [translation:ERROR] return AnnotatorPolicy.default_specialize(funcdesc, args_s)
  55. [translation:ERROR] File "/home/even/repos/pypy/pypy/annotation/specialize.py", line 78, in default_specialize
  56. [translation:ERROR] graph = funcdesc.cachedgraph(key, builder=builder)
  57. [translation:ERROR] File "/home/even/repos/pypy/pypy/annotation/description.py", line 242, in cachedgraph
  58. [translation:ERROR] graph = self.buildgraph(alt_name, builder)
  59. [translation:ERROR] File "/home/even/repos/pypy/pypy/annotation/description.py", line 205, in buildgraph
  60. [translation:ERROR] graph = translator.buildflowgraph(self.pyobj)
  61. [translation:ERROR] File "/home/even/repos/pypy/pypy/translator/translator.py", line 75, in buildflowgraph
  62. [translation:ERROR] graph = space.build_flow(func)
  63. [translation:ERROR] File "/home/even/repos/pypy/pypy/objspace/flow/objspace.py", line 292, in build_flow
  64. [translation:ERROR] ec.build_flow()
  65. [translation:ERROR] File "/home/even/repos/pypy/pypy/objspace/flow/flowcontext.py", line 269, in build_flow
  66. [translation:ERROR] self)
  67. [translation:ERROR] File "/home/even/repos/pypy/pypy/interpreter/pyopcode.py", line 84, in dispatch
  68. [translation:ERROR] next_instr = self.handle_bytecode(co_code, next_instr, ec)
  69. [translation:ERROR] File "/home/even/repos/pypy/pypy/interpreter/pyopcode.py", line 90, in handle_bytecode
  70. [translation:ERROR] next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
  71. [translation:ERROR] File "/home/even/repos/pypy/pypy/interpreter/pyopcode.py", line 265, in dispatch_bytecode
  72. [translation:ERROR] res = meth(oparg, next_instr)
  73. [translation:ERROR] File "/home/even/repos/pypy/pypy/interpreter/pyopcode.py", line 706, in LOAD_GLOBAL
  74. [translation:ERROR] self.pushvalue(self._load_global(self.getname_u(nameindex)))
  75. [translation:ERROR] File "/home/even/repos/pypy/pypy/interpreter/pyopcode.py", line 696, in _load_global
  76. [translation:ERROR] self._load_global_failed(varname)
  77. [translation:ERROR] File "/home/even/repos/pypy/pypy/interpreter/pyopcode.py", line 702, in _load_global_failed
  78. [translation:ERROR] raise operationerrfmt(self.space.w_NameError, message, varname)
  79. [translation:ERROR] File "/home/even/repos/pypy/pypy/interpreter/error.py", line 359, in operationerrfmt
  80. [translation:ERROR] return OpErrFmt(w_type, strings, *args)
  81. [translation:ERROR] File "/home/even/repos/pypy/pypy/interpreter/error.py", line 332, in __init__
  82. [translation:ERROR] raise FlowingError(self._compute_value())
  83. [translation:ERROR] FlowingError': -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  84. [translation:ERROR] global name 'compute_unique_id' is not defined
  85. [translation:ERROR] In <FunctionGraph of (pypy.jit.metainterp.resume:673)VUniSliceInfo.debug_prints at 0x1410d590>:
  86. [translation:ERROR] Happened at file /home/even/repos/pypy/pypy/jit/metainterp/resume.py line 674
  87. [translation:ERROR]
  88. [translation:ERROR] debug_print("\tvunisliceinfo at ", compute_unique_id(self))
  89. [translation:ERROR]
  90. [translation:ERROR] .. v319 = simple_call(v318)
  91. [translation:ERROR] .. '(pypy.jit.metainterp.resume:1281)dump_storage'
  92. [translation:ERROR] Processing block:
  93. [translation:ERROR] block@453 is a <class 'pypy.objspace.flow.flowcontext.SpamBlock'>
  94. [translation:ERROR] in (pypy.jit.metainterp.resume:1281)dump_storage
  95. [translation:ERROR] containing the following operations:
  96. [translation:ERROR] v318 = getattr(v320, ('debug_prints'))
  97. [translation:ERROR] v319 = simple_call(v318)
  98. [translation:ERROR] --end--
  99. [translation] start debugger...
  100. > /home/even/repos/pypy/pypy/interpreter/error.py(332)__init__()
  101. -> raise FlowingError(self._compute_value())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement