Source: llvmlite Severity: normal Control: forwarded -1 https://github.com/numba/llvmlite/issues/224
get_host_cpu_features() results in a RuntimeError on s390x and ppc64el: <cut> >>> from llvmlite import binding as llvm >>> llvm.get_host_cpu_features() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/llvmlite/binding/targets.py", line 62, in get_host_cpu_features raise RuntimeError("failed to get host cpu features.") RuntimeError: failed to get host cpu features. </cut> There's an empty list returned from llvm::sys:getHostCPUFeatures on some archs. This has been fixed upstream not to crash llvmlite, but the problem still remains. DS -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=de_DE.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)