https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100788
--- Comment #9 from seberg <sebastian-gcc at sipsolutions dot net> --- NumPy is pretty light weight (at least on linux systems, and if you do not care about setting up BLAS manually). You probably only need the Python dev headers, that I expect you already have. Hopefully, the following will just work for you: git clone https://github.com/numpy/numpy cd numpy python runtests.py --show-build-log --gcov # If you got problems due to blas/lapack, try with NPY_BLAS_ORDER="" which will leave all the temporary files on error and print out the compiler options. (There is some spammy output at the very end to scroll past, and the exact commands are the concatenation of the print out -- but the erroring one is printed in full after the GCC error.)