Advertisement
Guest User

Untitled

a guest
Nov 14th, 2018
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.18 KB | None | 0 0
  1. PYTHONPATH=. python ../pypy/rpython/bin/rpython --log --opt=jit --output=bin/tiger-interpreter src/main/tiger_interpreter.py
  2. [translation:info] 2.7.15 (default, Sep 21 2018, 23:31:20)
  3. [GCC 7.3.1 20180712 (Red Hat 7.3.1-6)]
  4. [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
  5. [translation:info] Translating target as defined by src/main/tiger_interpreter
  6. [translation] translate.py configuration:
  7. [translation] [translate]
  8. opt = jit
  9. targetspec = src/main/tiger_interpreter
  10. [translation] translation configuration:
  11. [translation] [translation]
  12. gc = incminimark
  13. gcrootfinder = shadowstack
  14. gctransformer = framework
  15. jit = True
  16. list_comprehension_operations = True
  17. log = True
  18. output = bin/tiger-interpreter
  19. withsmallfuncsets = 5
  20. [translation:info] Annotating&simplifying...
  21. [14] {translation-task
  22. starting annotate
  23. [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy
  24. ++++++++************************%%%%%%%%%#####%%%%%%%%%%%%%%%%%%%%%%###%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%###################################################################################################################################%###%%%%%%%%%%%%%%%%%%**
  25. +++++++***********************%%%%%%%%%%%%###[90] translation-task}
  26.  
  27. [translation:info] RTyping...
  28. [90] {translation-task
  29. starting rtype_lltype
  30. +++++++********************
  31. [rtyper] specializing: 100 / 1626 blocks (6%)
  32. +++++++***********************%%%%%%%%%%%%###%%%%%%%%%%#%%%%%%%%%%%%#%%%%%%#######################################################################################################################################################################%%%%%%%%%%%%%%%%%%%
  33. +++++***********************%%%%%%%%%%%%%%%%%%%%########%%%%%%%%%%###########################################################################################################
  34. [rtyper] specializing: 500 / 4178 blocks (11%)
  35. +++++************
  36. [rtyper] specializing: 700 / 4228 blocks (16%)
  37. +++++***********************%%%%%%%%%%%%%%%%%%%
  38. [rtyper] specializing: 1000 / 4427 blocks (22%)
  39. +++++****************
  40. [rtyper] specializing: 1300 / 4493 blocks (28%)
  41. +++++****************
  42. [rtyper] specializing: 1600 / 4558 blocks (35%)
  43. [rtyper] specializing: 1900 / 4558 blocks (41%)
  44. +
  45. [rtyper] specializing: 2100 / 4560 blocks (46%)
  46. [rtyper] specializing: 2400 / 4560 blocks (52%)
  47. [rtyper] specializing: 2600 / 4560 blocks (57%)
  48. ++
  49. [rtyper] specializing: 2900 / 4564 blocks (63%)
  50. +
  51. [rtyper] specializing: 3200 / 4566 blocks (70%)
  52. [rtyper] specializing: 3500 / 4566 blocks (76%)
  53. [rtyper] specializing: 3700 / 4566 blocks (81%)
  54. [rtyper] specializing: 4000 / 4566 blocks (87%)
  55. [rtyper] specializing: 4300 / 4566 blocks (94%)
  56. [rtyper] -=- specialized 4566 blocks -=-
  57. +++++***
  58. [rtyper] specializing: 4600 / 4608 blocks (99%)
  59. [rtyper] -=- specialized 42 more blocks -=-
  60. +
  61. [rtyper] -=- specialized 2 more blocks -=-
  62. [20b] translation-task}
  63. [translation:info] JIT compiler generation...
  64. [20b] {translation-task
  65. starting pyjitpl_lltype
  66. +++++******
  67. [rtyper] -=- specialized 53 more blocks -=-
  68. ++
  69. [rtyper] -=- specialized 4 more blocks -=-
  70. [<rpython.jit.metainterp.jitdriver.JitDriverStaticData object at 0x7fbbcc3db710>, <rpython.jit.metainterp.jitdriver.JitDriverStaticData object at 0x7fbbcc3cbcd0>]
  71. +
  72. [rtyper] -=- specialized 2 more blocks -=-
  73. +
  74. [rtyper] -=- specialized 2 more blocks -=-
  75. ++
  76. [rtyper] -=- specialized 6 more blocks -=-
  77. +++++
  78. [rtyper] -=- specialized 17 more blocks -=-
  79. [rtyper] -=- specialized 2 more blocks -=-
  80. [backendopt:removeassert] Removed 30 asserts
  81. [backendopt:inlining] phase with threshold factor: 32.4
  82. [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic
  83. +++++***********************%%%%%%%%%%%%%%%%%%%%########%%%%%%%%%%##################################################
  84. [backendopt:inlining] inlined 335 callsites.
  85. [backendopt:malloc] starting malloc removal
  86. +++++***********************%%
  87. [backendopt:malloc] removed 78 simple mallocs in total
  88. [backendopt:mergeifblocks] starting to merge if blocks
  89. ++
  90. [annrpython:WARNING] SomeInstance(can_be_None=False, classdef=src.ast.While) does not contain SomeInstance(can_be_None=False, classdef=src.ast.Exp)
  91. [annrpython:WARNING] SomeInstance(can_be_None=False, classdef=src.ast.Exp)
  92. [26f] translation-task}
  93. [Timer] Timings:
  94. [Timer] annotate --- 1.6 s
  95. [Timer] rtype_lltype --- 3.8 s
  96. [Timer] pyjitpl_lltype --- 1.2 s
  97. [Timer] ========================================
  98. [Timer] Total: --- 6.6 s
  99. [translation:info] Error:
  100. File "/home/abrown/Code/pypy/rpython/translator/goal/translate.py", line 318, in main
  101. drv.proceed(goals)
  102. File "/home/abrown/Code/pypy/rpython/translator/driver.py", line 554, in proceed
  103. result = self._execute(goals, task_skip = self._maybe_skip())
  104. File "/home/abrown/Code/pypy/rpython/translator/tool/taskengine.py", line 114, in _execute
  105. res = self._do(goal, taskcallable, *args, **kwds)
  106. File "/home/abrown/Code/pypy/rpython/translator/driver.py", line 278, in _do
  107. res = func()
  108. File "/home/abrown/Code/pypy/rpython/translator/driver.py", line 361, in task_pyjitpl_lltype
  109. backend_name=self.config.translation.jit_backend, inline=True)
  110. File "/home/abrown/Code/pypy/rpython/jit/metainterp/warmspot.py", line 49, in apply_jit
  111. **kwds)
  112. File "/home/abrown/Code/pypy/rpython/jit/metainterp/warmspot.py", line 273, in __init__
  113. self.make_driverhook_graphs()
  114. File "/home/abrown/Code/pypy/rpython/jit/metainterp/warmspot.py", line 594, in make_driverhook_graphs
  115. annmodel.SomeString())
  116. File "/home/abrown/Code/pypy/rpython/jit/metainterp/warmspot.py", line 651, in _make_hook_graph
  117. graph = annhelper.getgraph(func, extra_args_s + args_s, s_result)
  118. File "/home/abrown/Code/pypy/rpython/rtyper/annlowlevel.py", line 145, in getgraph
  119. ann.setbinding(v_arg, s_arg)
  120. File "/home/abrown/Code/pypy/rpython/annotator/annrpython.py", line 298, in setbinding
  121. assert False
  122. [translation:ERROR] AssertionError
  123. [translation] start debugger...
  124. > /home/abrown/Code/pypy/rpython/annotator/annrpython.py(298)setbinding()
  125. -> assert False
  126. (Pdb+)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement