On 8 Jan 2019, at 12:50, Morgan Reed <[email protected]> wrote: > > Just did a find across /usr for the file and it's definitely there so I'm > not sure why the compiler can't find it :/
Please post the output of: cc -v -x c -c /dev/null -o /dev/null > > # find /usr -name x86intrin.h > /usr/include/x86intrin.h This copy should not exist. Any idea where it came from, and what is its contents? > /usr/src/contrib/llvm/tools/clang/lib/Headers/x86intrin.h > /usr/local/lib/gcc7/gcc/x86_64-portbld-freebsd11.2/7.4.0/include/x86intrin.h > /usr/local/llvm60/lib/clang/6.0.1/include/x86intrin.h > /usr/lib/clang/6.0.0/include/x86intrin.h If your /usr/bin/cc reports being clang 6.0.0, then the latter one is correct. My guess would be that something (/etc/make.conf, for instance) is messing with your CFLAGS, causing the internal headers to not be found. -Dimitry
signature.asc
Description: Message signed with OpenPGP
