Message 269907 - Python tracker
+1 for this. Cross-compile CPython for ARM with clang fails in _ctypes due to https://llvm.org/bugs/show_bug.cgi?id=20595. This bug is already fixed in libffi. By the way, I can't apply libffi.patch to the default branch. Some hunks are rejcted. Is there something wrong? issue26942 may also be relevant. I did't test it as I'm not sure how to update CPython's internal libffi.