[cfarm-users] GCC220 and error: 'immintrin.h' file not found

Bruno Haible bruno at clisp.org
Thu Mar 18 21:32:33 CET 2021


Jeffrey Walton wrote:
> It looks like <immintrin.h> is missing

No, it is not missing.

$ clang --version | head -n 1
OpenBSD clang version 10.0.1 

$ ls -l /usr/lib/clang/10.0.1/include/immintrin.h                     
-r--r--r--  1 root  bin  16225 Oct  5 01:47 /usr/lib/clang/10.0.1/include/immintrin.h

$ echo '#include <immintrin.h>' | clang -E -dM - > /dev/null; echo $?
0

$ echo '#include <immintrin.h>' | clang++ -E -dM - > /dev/null; echo $?  
0

Could it be that the package you are trying to compile is fiddling
too much with -I options? Or that you are using a non-standard compiler?

Bruno



More information about the cfarm-users mailing list