--- wikisrc/users/leot/aarch64_problems.mdwn 2018/07/23 21:32:12 1.6 +++ wikisrc/users/leot/aarch64_problems.mdwn 2018/07/23 22:51:09 1.7 @@ -129,3 +129,21 @@ Doing a (please note that also `python36 ((void(*)(void))_cffi_exports[13]) #define _cffi_save_errno \ ((void(*)(void))_cffi_exports[14]) + +The following patch workaround the issue: + + $NetBSD$ + + Kludge for NetBSD/aarch64 SIGILL. + + --- setup.py.orig 2018-02-27 18:15:41.000000000 +0000 + +++ setup.py + @@ -70,7 +70,7 @@ def ask_supports_thread(): + ok = (sys.platform != 'win32' and + config.try_compile('__thread int some_threadlocal_variable_42;')) + if ok: + - define_macros.append(('USE__THREAD', None)) + + pass + else: + ok1 = config.try_compile('int some_regular_variable_42;') + if not ok1: