Hello I've tried to build pypy from repository but got some compilation error.
There is a very big traceback, so i skip some parts. Maybe i could provide some additional information? I still have opened pdb console with this failed compilation. Thanks. [platform:execute] make -j 3 in /tmp/usession-release-2.0-beta2-2/testing_1 [platform:Error] data_pypy_module_cpyext_pyobject.c:118:3: warning: initialization from incompatible pointer type [enabled by default] [platform:Error] (&_PyExc_MemoryError), /* 2.value */ [platform:Error] ^ [platform:Error] data_pypy_module_cpyext_pyobject.c:118:3: warning: (near initialization for 'pypy_g_array_916.a.items[2].d_value') [enabled by default] [platform:Error] data_pypy_module_cpyext_pyobject.c:123:3: warning: initialization from incompatible pointer type [enabled by default] [platform:Error] (&_PyExc_NotImplementedError), /* 3.value */ [platform:Error] ^ [platform:Error] data_pypy_module_cpyext_pyobject.c:123:3: warning: (near initialization for 'pypy_g_array_916.a.items[3].d_value') [enabled by default] [platform:Error] data_pypy_module_cpyext_pyobject.c:173:3: warning: initialization from incompatible pointer type [enabled by default] [platform:Error] (&_PyExc_RuntimeError), /* 13.value */ [platform:Error] ^ [platform:Error] data_pypy_module_cpyext_pyobject.c:173:3: warning: (near initialization for 'pypy_g_array_916.a.items[13].d_value') [enabled by default] [platform:Error] data_pypy_module_cpyext_pyobject.c:238:3: warning: initialization from incompatible pointer type [enabled by default] [platform:Error] (&PyWrapperDescr_Type), /* 26.value */ ...... SKIPPED [platform:Error] In file included from /home/e-max/workspace/pypy/pypy/module/cpyext/include/Python.h:132:0, [platform:Error] from structseq.c:4: [platform:Error] ../pypy_decl.h:403:17: note: expected 'struct PyObject *' but argument is of type 'struct PyTupleObject *' [platform:Error] PyAPI_FUNC(int) PyTuple_SetItem(PyObject *arg0, Py_ssize_t arg1, PyObject *arg2); [platform:Error] ^ [platform:Error] In file included from ../module_cache/module_3.c:166:0: [platform:Error] /home/e-max/workspace/pypy/rpython/translator/c/src/dtoa.c:131:0: warning: "PyMem_Malloc" redefined [enabled by default] [platform:Error] #define PyMem_Malloc malloc [platform:Error] ^ [platform:Error] In file included from /home/e-max/workspace/pypy/pypy/module/cpyext/include/Python.h:117:0, [platform:Error] from ../module_cache/module_3.c:34: [platform:Error] /home/e-max/workspace/pypy/pypy/module/cpyext/include/pymem.h:8:0: note: this is the location of the previous definition [platform:Error] #define PyMem_Malloc PyMem_MALLOC [platform:Error] ^ [platform:Error] In file included from ../module_cache/module_3.c:166:0: [platform:Error] /home/e-max/workspace/pypy/rpython/translator/c/src/dtoa.c:132:0: warning: "PyMem_Free" redefined [enabled by default] [platform:Error] #define PyMem_Free free [platform:Error] ^ [platform:Error] In file included from /home/e-max/workspace/pypy/pypy/module/cpyext/include/Python.h:117:0, [platform:Error] from ../module_cache/module_3.c:34: [platform:Error] /home/e-max/workspace/pypy/pypy/module/cpyext/include/pymem.h:9:0: note: this is the location of the previous definition [platform:Error] #define PyMem_Free PyMem_FREE [platform:Error] ^ [platform:Error] Traceback (most recent call last): [platform:Error] File "app_main.py", line 52, in run_toplevel [platform:Error] File "/home/e-max/workspace/pypy/rpython/translator/c/gcc/trackgcroot.py", line 2029, in <module> [platform:Error] tracker.process(f, g, filename=fn) [platform:Error] File "/home/e-max/workspace/pypy/rpython/translator/c/gcc/trackgcroot.py", line 1922, in process [platform:Error] tracker = parser.process_function(lines, filename) [platform:Error] File "/home/e-max/workspace/pypy/rpython/translator/c/gcc/trackgcroot.py", line 1437, in process_function [platform:Error] table = tracker.computegcmaptable(self.verbose) [platform:Error] File "/home/e-max/workspace/pypy/rpython/translator/c/gcc/trackgcroot.py", line 59, in computegcmaptable [platform:Error] self.findframesize() [platform:Error] File "/home/e-max/workspace/pypy/rpython/translator/c/gcc/trackgcroot.py", line 270, in findframesize [platform:Error] self.walk_instructions_backwards(walker, insn, 0) [platform:Error] File "/home/e-max/workspace/pypy/rpython/translator/c/gcc/trackgcroot.py", line 355, in walk_instructions_backwards [platform:Error] for prevstate in walker(insn, state): [platform:Error] File "/home/e-max/workspace/pypy/rpython/translator/c/gcc/trackgcroot.py", line 261, in walker [platform:Error] "inconsistent frame size at instruction %s" % (insn,)) [platform:Error] AssertionError: inconsistent frame size at instruction InsnCopyLocal(%rbx, %rax) --- None [platform:Error] make: *** [pypy_module__cffi_backend_ctypefunc.gcmap] Error 1 [platform:Error] make: *** Waiting for unfinished jobs.... [5dd8a] translation-task} [Timer] Timings: [Timer] annotate --- 587.2 s [Timer] rtype_lltype --- 1194.4 s [Timer] pyjitpl_lltype --- 1057.4 s [Timer] backendopt_lltype --- 215.8 s [Timer] stackcheckinsertion_lltype --- 127.2 s [Timer] database_c --- 310.0 s [Timer] source_c --- 347.3 s [Timer] compile_c --- 882.0 s [Timer] =========================================== [Timer] Total: --- 4721.3 s
_______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev