[pypy-issue] Issue #2331: Add ARMv8 (aarch64) build option (pypy/pypy)

Pete Vine issues-reply at bitbucket.org
Sat Jun 25 19:46:55 EDT 2016


New issue 2331: Add ARMv8 (aarch64) build option
https://bitbucket.org/pypy/pypy/issues/2331/add-armv8-aarch64-build-option

Pete Vine:

Running on a Cortex-A53, Android TV box converted to Linux, detection fails presently:

```python
[platform:execute] gcc /tmp/usession-release-pypy2.7-v5.3.1-0/platcheck_84.o -pthread -Wl,--export-dynamic -lexpat -lrt -o /tmp/usession-release-pypy2.7-v5.3.1-0/platcheck_84
[translation:info] Error:
   File "/home/mxqproplus/pypy2-v5.3.1-src/rpython/translator/goal/translate.py", line 283, in main
    default_goal='compile')
   File "/home/mxqproplus/pypy2-v5.3.1-src/rpython/translator/driver.py", line 566, in from_targetspec
    spec = target(driver, args)
   File "targetpypystandalone.py", line 295, in target
    return self.get_entry_point(config)
   File "targetpypystandalone.py", line 343, in get_entry_point
    space = make_objspace(config)
   File "/home/mxqproplus/pypy2-v5.3.1-src/pypy/tool/option.py", line 35, in make_objspace
    return Space(config)
   File "/home/mxqproplus/pypy2-v5.3.1-src/pypy/interpreter/baseobjspace.py", line 411, in __init__
    self.initialize()
   File "/home/mxqproplus/pypy2-v5.3.1-src/pypy/objspace/std/objspace.py", line 106, in initialize
    self.setup_builtin_modules()
   File "/home/mxqproplus/pypy2-v5.3.1-src/pypy/interpreter/baseobjspace.py", line 652, in setup_builtin_modules
    mod.setup_after_space_initialization()
   File "/home/mxqproplus/pypy2-v5.3.1-src/pypy/module/__pypy__/__init__.py", line 119, in setup_after_space_initialization
    model = detect_cpu.autodetect()
   File "/home/mxqproplus/pypy2-v5.3.1-src/rpython/jit/backend/detect_cpu.py", line 109, in autodetect
    return detect_model_from_host_platform()
   File "/home/mxqproplus/pypy2-v5.3.1-src/rpython/jit/backend/detect_cpu.py", line 77, in detect_model_from_host_platform
    raise ProcessorAutodetectError("unknown machine name %s" % mach)
[translation:ERROR] ProcessorAutodetectError: unknown machine name aarch64
[translation] start debugger...
> /home/mxqproplus/pypy2-v5.3.1-src/rpython/jit/backend/detect_cpu.py(77)detect_model_from_host_platform()
-> raise ProcessorAutodetectError("unknown machine name %s" % mach)
```

BTW, these S905 TV boxes are probably the most attractive build bot ARM option at the moment (2GB of RAM and other goodies)




More information about the pypy-issue mailing list