Problems building Cython with icc #1591

dbalague opened this Issue Jan 24, 2017 · 1 comment


None yet

2 participants


I am having trouble compiling Cython 0.25.2 using icc. (version 17.0.1)

The problems occur when trying to compile the following files with the corresponding compiler options:

icc -shared -ipo build/temp.linux-x86_64-3.5/usr/local/python/modules/Cython-0.25.2/Cython/Compiler/Parsing.o -o build/lib.linux-x86_64-3.5/Cython/Compiler/

icc -shared -ipo build/temp.linux-x86_64-3.5/usr/local/python/modules/Cython-0.25.2/Cython/Compiler/Code.o -o build/lib.linux-x86_64-3.5/Cython/Compiler/

icc -shared -ipo build/temp.linux-x86_64-3.5/usr/local/python/modules/Cython-0.25.2/Cython/Tempita/_tempita.o -o build/lib.linux-x86_64-3.5/Cython/Tempita/

All three led to this error:

": internal error: 010101_(5000 + 54)

icc: error #10014: problem during multi-file optimization compilation (code 4)
error: command 'icc' failed with exit status 4

I worked around it by compiling the three files manually with icc -shared -O0 instead, and I could finish building and installing Cython with no further problems.

Also, I could run

cd Demos
python build_ext --inplace

And the examples:


worked with no problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment