Open au-phiware opened 2 years ago
I think I've realised what the problem is... osxcross appears to be using the path of the clang binary as the basis of its search for the xmmintrin header file (see findClangIntrinsicHeaders). On NixOS systems the clang binary lives in the nix store under the clang-wrapper derivation (e.g. /nix/store/a6i45q9psdn8w4148747k2zj7x8vr6fy-clang-wrapper-7.1.0/bin/clang
) and the xmmintrin header lives under the clang derivation (e.g. /nix/store/v5561mfq0y21l0wqj83gf72j4iv3xcz4-clang-7.1.0-lib/lib/clang/7.1.0/include/xmmintrin.h
). The wrapper derivation does have a link to the clang derivation but only to it's include directory.
It would be great if we could configure osxcross with the correct directory to the xmmintrin headers.
Now that I know what the problem is I can work around it.
When running
./build.sh
I encounter these messages:Under the following flake:
Any advice that you can provide would be greatly appreciated.