Advertisement
Rubykuby

PyPy3 compilation

Oct 17th, 2013
487
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.04 KB | None | 0 0
  1. Building PyPy with JIT, it'll take about 40 minutes and 4G of RAM
  2. rpython/bin/rpython -Ojit pypy/goal/targetpypystandalone.py
  3. [translation:info] 2.7.2 (1.9+dfsg-1, Jun 19 2012, 23:45:31)
  4. [translation:info] [PyPy 1.9.0 with GCC 4.7.0]
  5. [platform:msg] Set platform with 'host' cc=None, using cc='gcc'
  6. [translation:info] Translating target as defined by pypy/goal/targetpypystandalone
  7. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-pypy3-release-2.1.x-0/gcctest.c -o /tmp/usession-pypy3-release-2.1.x-0/gcctest.o
  8. [platform:execute] gcc /tmp/usession-pypy3-release-2.1.x-0/gcctest.o -pthread -lrt -o /tmp/usession-pypy3-release-2.1.x-0/gcctest
  9. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-pypy3-release-2.1.x-0/gcctest.c -o /tmp/usession-pypy3-release-2.1.x-0/gcctest.o
  10. [platform:execute] gcc /tmp/usession-pypy3-release-2.1.x-0/gcctest.o -pthread -lrt -o /tmp/usession-pypy3-release-2.1.x-0/gcctest
  11. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-pypy3-release-2.1.x-0/platcheck_0.c -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_0.o
  12. [platform:execute] gcc /tmp/usession-pypy3-release-2.1.x-0/platcheck_0.o -pthread -lintl -lrt -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_0
  13. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-pypy3-release-2.1.x-0/platcheck_1.c -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_1.o
  14. [platform:execute] gcc /tmp/usession-pypy3-release-2.1.x-0/platcheck_1.o -pthread -lrt -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_1
  15. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-pypy3-release-2.1.x-0/platcheck_2.c -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_2.o
  16. [platform:execute] gcc /tmp/usession-pypy3-release-2.1.x-0/platcheck_2.o -pthread -lrt -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_2
  17. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-pypy3-release-2.1.x-0/platcheck_3.c -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_3.o
  18. [platform:execute] gcc /tmp/usession-pypy3-release-2.1.x-0/platcheck_3.o -pthread -lrt -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_3
  19. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused -I/home/ruben/Downloads/pypy3-2.1-beta1-src/rpython/translator/c /tmp/usession-pypy3-release-2.1.x-0/platcheck_4.c -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_4.o
  20. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused -I/home/ruben/Downloads/pypy3-2.1-beta1-src/rpython/translator/c /home/ruben/Downloads/pypy3-2.1-beta1-src/rpython/translator/c/src/thread.c -o /tmp/usession-pypy3-release-2.1.x-0/rpython/translator/c/src/thread.o
  21. [platform:execute] gcc /tmp/usession-pypy3-release-2.1.x-0/platcheck_4.o /tmp/usession-pypy3-release-2.1.x-0/rpython/translator/c/src/thread.o -pthread -Wl,--export-dynamic,--version-script=/tmp/usession-pypy3-release-2.1.x-0/dynamic-symbols-0 -lrt -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_4
  22. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-pypy3-release-2.1.x-0/platcheck_5.c -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_5.o
  23. [platform:execute] gcc /tmp/usession-pypy3-release-2.1.x-0/platcheck_5.o -pthread -lrt -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_5
  24. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-pypy3-release-2.1.x-0/platcheck_6.c -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_6.o
  25. [platform:execute] gcc /tmp/usession-pypy3-release-2.1.x-0/platcheck_6.o -pthread -lrt -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_6
  26. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-pypy3-release-2.1.x-0/platcheck_7.c -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_7.o
  27. [platform:execute] gcc /tmp/usession-pypy3-release-2.1.x-0/platcheck_7.o -pthread -lrt -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_7
  28. [translation] PyPy config object:
  29. [translation] [objspace]
  30. [translation] honor__builtins__ = False
  31. [translation] [opcodes]
  32. [translation] CALL_METHOD = True
  33. [translation] [std]
  34. [translation] builtinshortcut = True
  35. [translation] getattributeshortcut = True
  36. [translation] optimized_list_getitem = True
  37. [translation] withcelldict = True
  38. [translation] withidentitydict = True
  39. [translation] withmapdict = True
  40. [translation] withmethodcache = True
  41. [translation] withprebuiltchar = True
  42. [translation] withspecialisedtuple = True
  43. [translation] withtypeversion = True
  44. [translation] [usemodules]
  45. [translation] __pypy__ = True
  46. [translation] _ast = True
  47. [translation] _cffi_backend = True
  48. [translation] _codecs = True
  49. [translation] _collections = True
  50. [translation] _continuation = True
  51. [translation] _csv = True
  52. [translation] _ffi = True
  53. [translation] _hashlib = True
  54. [translation] _locale = True
  55. [translation] _lsprof = True
  56. [translation] _md5 = True
  57. [translation] _minimal_curses = True
  58. [translation] _multibytecodec = True
  59. [translation] _multiprocessing = True
  60. [translation] _pickle_support = True
  61. [translation] _posixsubprocess = True
  62. [translation] _pypyjson = True
  63. [translation] _random = True
  64. [translation] _rawffi = True
  65. [translation] _socket = True
  66. [translation] _sre = True
  67. [translation] _ssl = True
  68. [translation] _string = True
  69. [translation] _testing = True
  70. [translation] _weakref = True
  71. [translation] array = True
  72. [translation] atexit = True
  73. [translation] binascii = True
  74. [translation] bz2 = True
  75. [translation] cmath = True
  76. [translation] cpyext = True
  77. [translation] crypt = True
  78. [translation] errno = True
  79. [translation] fcntl = True
  80. [translation] gc = True
  81. [translation] imp = True
  82. [translation] itertools = True
  83. [translation] marshal = True
  84. [translation] math = True
  85. [translation] mmap = True
  86. [translation] operator = True
  87. [translation] parser = True
  88. [translation] pwd = True
  89. [translation] pyexpat = True
  90. [translation] pypyjit = True
  91. [translation] rctime = True
  92. [translation] select = True
  93. [translation] signal = True
  94. [translation] struct = True
  95. [translation] symbol = True
  96. [translation] termios = True
  97. [translation] thread = True
  98. [translation] token = True
  99. [translation] unicodedata = True
  100. [translation] zipimport = True
  101. [translation] zlib = True
  102. Wrote /home/ruben/Downloads/pypy3-2.1-beta1-src/lib_pypy/ctypes_config_cache/_resource_64_.py.
  103. Wrote /home/ruben/Downloads/pypy3-2.1-beta1-src/lib_pypy/ctypes_config_cache/_locale_64_.py.
  104. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-pypy3-release-2.1.x-0/platcheck_8.c -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_8.o
  105. [platform:execute] gcc /tmp/usession-pypy3-release-2.1.x-0/platcheck_8.o -pthread -lrt -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_8
  106. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-pypy3-release-2.1.x-0/platcheck_9.c -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_9.o
  107. [platform:execute] gcc /tmp/usession-pypy3-release-2.1.x-0/platcheck_9.o -pthread -lrt -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_9
  108. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-pypy3-release-2.1.x-0/platcheck_10.c -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_10.o
  109. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-pypy3-release-2.1.x-0/platcheck_11.c -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_11.o
  110. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-pypy3-release-2.1.x-0/platcheck_12.c -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_12.o
  111. [platform:execute] gcc /tmp/usession-pypy3-release-2.1.x-0/platcheck_12.o -pthread -lrt -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_12
  112. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-pypy3-release-2.1.x-0/platcheck_13.c -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_13.o
  113. [platform:execute] gcc /tmp/usession-pypy3-release-2.1.x-0/platcheck_13.o -pthread -lrt -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_13
  114. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-pypy3-release-2.1.x-0/platcheck_14.c -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_14.o
  115. [platform:execute] gcc /tmp/usession-pypy3-release-2.1.x-0/platcheck_14.o -pthread -lrt -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_14
  116. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-pypy3-release-2.1.x-0/platcheck_15.c -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_15.o
  117. [platform:execute] gcc /tmp/usession-pypy3-release-2.1.x-0/platcheck_15.o -pthread -lrt -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_15
  118. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-pypy3-release-2.1.x-0/platcheck_16.c -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_16.o
  119. [platform:execute] gcc /tmp/usession-pypy3-release-2.1.x-0/platcheck_16.o -pthread -lrt -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_16
  120. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-pypy3-release-2.1.x-0/platcheck_17.c -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_17.o
  121. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-pypy3-release-2.1.x-0/platcheck_18.c -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_18.o
  122. [platform:execute] gcc /tmp/usession-pypy3-release-2.1.x-0/platcheck_18.o -pthread -lrt -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_18
  123. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-pypy3-release-2.1.x-0/platcheck_19.c -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_19.o
  124. [platform:execute] gcc /tmp/usession-pypy3-release-2.1.x-0/platcheck_19.o -pthread -lrt -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_19
  125. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-pypy3-release-2.1.x-0/platcheck_20.c -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_20.o
  126. [platform:execute] gcc /tmp/usession-pypy3-release-2.1.x-0/platcheck_20.o -pthread -lrt -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_20
  127. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-pypy3-release-2.1.x-0/platcheck_21.c -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_21.o
  128. [platform:execute] gcc /tmp/usession-pypy3-release-2.1.x-0/platcheck_21.o -pthread -lrt -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_21
  129. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused -I/home/ruben/Downloads/pypy3-2.1-beta1-src/rpython/translator/c /tmp/usession-pypy3-release-2.1.x-0/platcheck_22.c -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_22.o
  130. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused -I/home/ruben/Downloads/pypy3-2.1-beta1-src/rpython/translator/c /home/ruben/Downloads/pypy3-2.1-beta1-src/rpython/translator/c/src/signals.c -o /tmp/usession-pypy3-release-2.1.x-0/rpython/translator/c/src/signals.o
  131. [platform:execute] gcc /tmp/usession-pypy3-release-2.1.x-0/platcheck_22.o /tmp/usession-pypy3-release-2.1.x-0/rpython/translator/c/src/signals.o -pthread -Wl,--export-dynamic,--version-script=/tmp/usession-pypy3-release-2.1.x-0/dynamic-symbols-1 -lrt -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_22
  132. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-pypy3-release-2.1.x-0/platcheck_23.c -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_23.o
  133. [platform:execute] gcc /tmp/usession-pypy3-release-2.1.x-0/platcheck_23.o -pthread -lrt -lrt -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_23
  134. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-pypy3-release-2.1.x-0/platcheck_24.c -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_24.o
  135. [platform:execute] gcc /tmp/usession-pypy3-release-2.1.x-0/platcheck_24.o -pthread -lrt -lrt -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_24
  136. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-pypy3-release-2.1.x-0/platcheck_25.c -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_25.o
  137. [platform:execute] gcc /tmp/usession-pypy3-release-2.1.x-0/platcheck_25.o -pthread -lrt -lrt -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_25
  138. [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-pypy3-release-2.1.x-0/platcheck_27.c -o /tmp/usession-pypy3-release-2.1.x-0/platcheck_27.o
  139. [translation:ERROR] Error:
  140. [translation:ERROR] Traceback (most recent call last):
  141. [translation:ERROR] File "/home/ruben/Downloads/pypy3-2.1-beta1-src/rpython/translator/goal/translate.py", line 284, in main
  142. [translation:ERROR] default_goal='compile')
  143. [translation:ERROR] File "/home/ruben/Downloads/pypy3-2.1-beta1-src/rpython/translator/driver.py", line 543, in from_targetspec
  144. [translation:ERROR] spec = target(driver, args)
  145. [translation:ERROR] File "pypy/goal/targetpypystandalone.py", line 289, in target
  146. [translation:ERROR] return self.get_entry_point(config)
  147. [translation:ERROR] File "pypy/goal/targetpypystandalone.py", line 300, in get_entry_point
  148. [translation:ERROR] space = make_objspace(config)
  149. [translation:ERROR] File "/home/ruben/Downloads/pypy3-2.1-beta1-src/pypy/tool/option.py", line 35, in make_objspace
  150. [translation:ERROR] return Space(config)
  151. [translation:ERROR] File "/home/ruben/Downloads/pypy3-2.1-beta1-src/pypy/interpreter/baseobjspace.py", line 334, in __init__
  152. [translation:ERROR] self.initialize()
  153. [translation:ERROR] File "/home/ruben/Downloads/pypy3-2.1-beta1-src/pypy/objspace/std/objspace.py", line 79, in initialize
  154. [translation:ERROR] self.make_builtins()
  155. [translation:ERROR] File "/home/ruben/Downloads/pypy3-2.1-beta1-src/pypy/interpreter/baseobjspace.py", line 524, in make_builtins
  156. [translation:ERROR] self.install_mixedmodule(mixedname, installed_builtin_modules)
  157. [translation:ERROR] File "/home/ruben/Downloads/pypy3-2.1-beta1-src/pypy/interpreter/baseobjspace.py", line 563, in install_mixedmodule
  158. [translation:ERROR] modname = self.setbuiltinmodule(mixedname)
  159. [translation:ERROR] File "/home/ruben/Downloads/pypy3-2.1-beta1-src/pypy/interpreter/baseobjspace.py", line 395, in setbuiltinmodule
  160. [translation:ERROR] None, None, ["Module"]).Module
  161. [translation:ERROR] File "/home/ruben/Downloads/pypy3-2.1-beta1-src/pypy/module/_hashlib/__init__.py", line 2, in <module>
  162. [translation:ERROR] from pypy.module._hashlib.interp_hashlib import algorithms
  163. [translation:ERROR] File "/home/ruben/Downloads/pypy3-2.1-beta1-src/pypy/module/_hashlib/interp_hashlib.py", line 8, in <module>
  164. [translation:ERROR] from rpython.rlib import rgc, ropenssl
  165. [translation:ERROR] File "/home/ruben/Downloads/pypy3-2.1-beta1-src/rpython/rlib/ropenssl.py", line 47, in <module>
  166. [translation:ERROR] include_dir='inc32', library_dir='out32'),
  167. [translation:ERROR] File "/home/ruben/Downloads/pypy3-2.1-beta1-src/rpython/rtyper/tool/rffi_platform.py", line 830, in configure_external_library
  168. [translation:ERROR] raise last_error
  169. [translation:ERROR] CompilationError: CompilationError(err="""
  170. [translation:ERROR] /tmp/usession-pypy3-release-2.1.x-0/platcheck_27.c:31:25: fatal error: openssl/ssl.h: No such file or directory
  171. [translation:ERROR] compilation terminated.
  172. [translation:ERROR] """)
  173. [translation] start debugger...
  174. > /home/ruben/Downloads/pypy3-2.1-beta1-src/rpython/rtyper/tool/rffi_platform.py(830)configure_external_library()
  175. -> raise last_error
  176. (Pdb+)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement