Created
August 6, 2011 20:40
-
-
Save gorakhargosh/1129720 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ pypy translate.py -Ojit | |
| [platform:msg] Setting platform to 'host' cc=None | |
| [translation:info] Translating target as defined by targetpypystandalone | |
| [platform:execute] gcc-4.0 -c -arch x86_64 -O3 -fomit-frame-pointer -mdynamic-no-pic /var/folders/vb/qfd4br7s6055nff9kwx65j3w0000gn/T/usession-master-1/gcctest.c -o /var/folders/vb/qfd4br7s6055nff9kwx65j3w0000gn/T/usession-master-1/gcctest.o | |
| Traceback (most recent call last): | |
| File "app_main.py", line 53, in run_toplevel | |
| f(*fargs, **fkwds) | |
| File "translate.py", line 324, in <module> | |
| main() | |
| File "translate.py", line 210, in main | |
| targetspec_dic, translateconfig, config, args = parse_options_and_load_target() | |
| File "translate.py", line 178, in parse_options_and_load_target | |
| targetspec_dic['handle_config'](config, translateconfig) | |
| File "targetpypystandalone.py", line 123, in handle_config | |
| from pypy.objspace.std import multimethod | |
| File "/Volumes/data/src/pypy/pypy/objspace/std/__init__.py", line 1, in <module> | |
| from pypy.objspace.std.objspace import StdObjSpace | |
| File "/Volumes/data/src/pypy/pypy/objspace/std/objspace.py", line 7, in <module> | |
| from pypy.objspace.std import (builtinshortcut, stdtypedef, frame, model, | |
| File "/Volumes/data/src/pypy/pypy/objspace/std/builtinshortcut.py", line 3, in <module> | |
| from pypy.objspace.descroperation import DescrOperation | |
| File "/Volumes/data/src/pypy/pypy/objspace/descroperation.py", line 8, in <module> | |
| from pypy.module.__builtin__.interp_classobj import W_InstanceObject | |
| File "/Volumes/data/src/pypy/pypy/module/__builtin__/__init__.py", line 4, in <module> | |
| import pypy.module.imp.importing | |
| File "/Volumes/data/src/pypy/pypy/module/imp/importing.py", line 14, in <module> | |
| from pypy.rlib import streamio, jit | |
| File "/Volumes/data/src/pypy/pypy/rlib/streamio.py", line 43, in <module> | |
| from pypy.rlib import rposix | |
| File "/Volumes/data/src/pypy/pypy/rlib/rposix.py", line 2, in <module> | |
| from pypy.rpython.lltypesystem.rffi import CConstant, CExternVariable, INT | |
| File "/Volumes/data/src/pypy/pypy/rpython/lltypesystem/rffi.py", line 459, in <module> | |
| NUMBER_TYPES = setup() | |
| File "/Volumes/data/src/pypy/pypy/rpython/lltypesystem/rffi.py", line 448, in setup | |
| names = populate_inttypes() | |
| File "/Volumes/data/src/pypy/pypy/rpython/lltypesystem/rffi.py", line 442, in populate_inttypes | |
| platform.populate_inttypes(populatelist) | |
| File "/Volumes/data/src/pypy/pypy/rpython/tool/rfficache.py", line 82, in populate_inttypes | |
| sizes = sizeof_c_types(names_c, **kwds) | |
| File "/Volumes/data/src/pypy/pypy/rpython/tool/rfficache.py", line 44, in sizeof_c_types | |
| answer = ask_gcc(question, **kwds) | |
| File "/Volumes/data/src/pypy/pypy/rpython/tool/rfficache.py", line 34, in ask_gcc | |
| return build_executable_cache([c_file], eci) | |
| File "/Volumes/data/src/pypy/pypy/tool/gcc_cache.py", line 27, in build_executable_cache | |
| result = platform.execute(platform.compile(c_files, eci)) | |
| File "/Volumes/data/src/pypy/pypy/translator/platform/__init__.py", line 51, in compile | |
| ofiles = self._compile_o_files(cfiles, eci, standalone) | |
| File "/Volumes/data/src/pypy/pypy/translator/platform/__init__.py", line 60, in _compile_o_files | |
| ofiles.append(self._compile_c_file(self.cc, cfile, compile_args)) | |
| File "/Volumes/data/src/pypy/pypy/translator/platform/posix.py", line 38, in _compile_c_file | |
| cwd=str(cfile.dirpath())) | |
| File "/Volumes/data/src/pypy/pypy/translator/platform/__init__.py", line 117, in _execute_c_compiler | |
| cwd) | |
| File "/Volumes/data/src/pypy/pypy/tool/runsubprocess.py", line 11, in run_subprocess | |
| return _run(executable, args, env, cwd) | |
| File "/Volumes/data/src/pypy/pypy/tool/runsubprocess.py", line 78, in _run | |
| raise OSError('%s: %s\nargs=%r' % (args[0], results[1], args)) | |
| OSError: gcc-4.0: [Errno 2] No such file or directory | |
| args=('gcc-4.0', ['-c', '-arch', 'x86_64', '-O3', '-fomit-frame-pointer', '-mdynamic-no-pic', '/var/folders/vb/qfd4br7s6055nff9kwx65j3w0000gn/T/usession-master-1/gcctest.c', '-o', '/var/folders/vb/qfd4br7s6055nff9kwx65j3w0000gn/T/usession-master-1/gcctest.o'], None, '/var/folders/vb/qfd4br7s6055nff9kwx65j3w0000gn/T/usession-master-1') |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
issuing
CC='gcc-4.2' pypy translate.py -Ojiton OS X Lion fixes this.