Chi Hsuan Yen added the comment: The problem is: setting PYTHON_FOR_BUILD manually breaks cross-compiling. Please remove it, add python3.6 to $PATH and cross-compiling should be OK.
For the problem of libffi: since issue27976 using bundled libffi is deprecated. Please build libffi outside CPython and then use --with-system-ffi. Some other minor points: * Android support is still highly experimental. Please consider using the latest mercurial changeset, or at least 3.6.x. 3.5.x requires too many patches. * Android NDK has deprecated GCC. Mostly CPython is tested on clang. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28266> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com