[PyPy-issue] [issue684] translation.compile_c() fails in translatorshell.py session (as of trunk 16.04.2011))
Valery
pypy-dev-issue at codespeak.net
Sun Apr 17 12:58:56 CEST 2011
New submission from Valery <khamenya at gmail.com>:
translator/c/src/g_include.h:11: fatal error: marshal.h: No such file or
directory (during translation.compile_c() from translatorshell.py)
I've to commented out #include <marshal.h> and than it fails like that :
[...]
OSError: /tmp/usession-default-16/testing_1/testing_1.so: /tmp/usession-default-
16/testing_1/testing_1.so: undefined symbol: PyObject_Malloc
Details:
Python 2.7.0 (7bcedc5f2e61, Apr 16 2011, 18:24:11)
[PyPy 1.5.0-alpha0 with GCC 4.4.4] on linux2
AMD64
Session to reproduce:
def ack(x,y):
if x == 0: return y + 1
elif y == 0: return ack(x - 1, 1)
else: return ack(x - 1, ack(x, y - 1))
t = Translation(ack)
t.annotate([int, int])
t.rtype()
ack_c = t.compile_c()
----------
effort: ???
messages: 2368
nosy: pypy-issue, vak
priority: bug
release: ???
status: unread
title: translation.compile_c() fails in translatorshell.py session (as of trunk 16.04.2011))
_______________________________________________________
PyPy development tracker <pypy-dev-issue at codespeak.net>
<https://codespeak.net/issue/pypy-dev/issue684>
_______________________________________________________
More information about the Pypy-issue
mailing list