x86intrin.h not found after 10.4->11.2 upgrade
Dimitry Andric
dim at FreeBSD.org
Tue Jan 8 18:47:44 UTC 2019
On 8 Jan 2019, at 12:50, Morgan Reed <morgan.s.reed at gmail.com> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20190108/c07aee19/attachment.sig>
More information about the freebsd-stable
mailing list