Hi, everybody.
Tried to play with pypy, but translating to c failes because of lack of
memory.
Used command: python translate.py.
OS: gentoo linux, amd64
RAM: 4Gb
Traceback attached to the letter.
nekto0n
[cbuild:execute] cc -O3 -fomit-frame-pointer -pthread -c -O3
-fomit-frame-pointer -pthread -c __thread_test.c -o __thread_test.o
[Timer] Timings:
[Timer] annotate --- 679.5 s
[Timer] rtype_lltype --- 487.4 s
[Timer] backendopt_lltype --- 458.8 s
[Timer] stackcheckinsertion_lltype --- 70.2 s
[Timer] database_c --- 971.2 s
[Timer] source_c --- 0.4 s
[Timer] ===========================================
[Timer] Total: --- 2667.5 s
[translation:ERROR] Error:
[translation:ERROR] Traceback (most recent call last):
[translation:ERROR] File "translate.py", line 278, in main
[translation:ERROR] drv.proceed(goals)
[translation:ERROR] File "/var/tmp/pypy-svn/dist/pypy/translator/driver.py",
line 797, in proceed
[translation:ERROR] return self._execute(goals, task_skip =
self._maybe_skip())
[translation:ERROR] File
"/var/tmp/pypy-svn/dist/pypy/translator/tool/taskengine.py", line 116, in
_execute
[translation:ERROR] res = self._do(goal, taskcallable, *args, **kwds)
[translation:ERROR] File "/var/tmp/pypy-svn/dist/pypy/translator/driver.py",
line 268, in _do
[translation:ERROR] res = func()
[translation:ERROR] File "/var/tmp/pypy-svn/dist/pypy/translator/driver.py",
line 492, in task_source_c
[translation:ERROR] c_source_filename = cbuilder.generate_source(database)
[translation:ERROR] File "/var/tmp/pypy-svn/dist/pypy/translator/c/genc.py",
line 127, in generate_source
[translation:ERROR] CBuilder.have___thread = check_under_under_thread()
[translation:ERROR] File
"/var/tmp/pypy-svn/dist/pypy/translator/tool/cbuild.py", line 696, in
check_under_under_thread
[translation:ERROR] noerr=True)
[translation:ERROR] File
"/var/tmp/pypy-svn/dist/pypy/translator/tool/cbuild.py", line 654, in
build_executable
[translation:ERROR] compiler.build(noerr=noerr)
[translation:ERROR] File
"/var/tmp/pypy-svn/dist/pypy/translator/tool/cbuild.py", line 578, in build
[translation:ERROR] self._build()
[translation:ERROR] File
"/var/tmp/pypy-svn/dist/pypy/translator/tool/cbuild.py", line 638, in _build
[translation:ERROR] extra_preargs=compile_extra)
[translation:ERROR] File "/usr/lib64/python2.5/distutils/ccompiler.py", line
701, in compile
[translation:ERROR] self._compile(obj, src, ext, cc_args, extra_postargs,
pp_opts)
[translation:ERROR] File "/usr/lib64/python2.5/distutils/unixccompiler.py",
line 180, in _compile
[translation:ERROR] extra_postargs)
[translation:ERROR] File
"/var/tmp/pypy-svn/dist/pypy/translator/tool/cbuild.py", line 482, in
spawn_and_log
[translation:ERROR] return spawn(cmd, *args, **kwds)
[translation:ERROR] File "/usr/lib64/python2.5/distutils/ccompiler.py", line
1042, in spawn
[translation:ERROR] spawn (cmd, dry_run=self.dry_run)
[translation:ERROR] File "/usr/lib64/python2.5/distutils/spawn.py", line 37,
in spawn
[translation:ERROR] _spawn_posix(cmd, search_path, dry_run=dry_run)
[translation:ERROR] File "/usr/lib64/python2.5/distutils/spawn.py", line
127, in _spawn_posix
[translation:ERROR] pid = os.fork()
[translation:ERROR] OSError: [Errno 12] Cannot allocate memory
[translation] start debugger...
> /usr/lib64/python2.5/distutils/spawn.py(127)_spawn_posix()
-> pid = os.fork()
_______________________________________________
[email protected]
http://codespeak.net/mailman/listinfo/pypy-dev