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/Parsing.cpython-35m-x86_64-linux-gnu.so
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/Code.cpython-35m-x86_64-linux-gnu.so
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/_tempita.cpython-35m-x86_64-linux-gnu.so
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.
icc -shared -O0
Also, I could run
python setup.py build_ext --inplace
And the examples:
worked with no problems.