Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jan 2019 19:47:34 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Morgan Reed <morgan.s.reed@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: x86intrin.h not found after 10.4->11.2 upgrade
Message-ID:  <3F4C1D5F-ACD8-4349-BBBA-B2339C312166@FreeBSD.org>
In-Reply-To: <CAKnh_YsdfXF8OKzFby3FUV7yd8tKK9VEhCYg4V5S7V75kWnD0g@mail.gmail.com>
References:  <CAKnh_YtfNmS%2BqeVL4LqKzKLmG9mu539jSYpXVQNX9BUj6vBZtw@mail.gmail.com> <CAKnh_YsdfXF8OKzFby3FUV7yd8tKK9VEhCYg4V5S7V75kWnD0g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_272291E9-8ED6-4912-A433-10983C51DBB7
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 8 Jan 2019, at 12:50, Morgan Reed <morgan.s.reed@gmail.com> wrote:
>=20
> 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


>=20
> # 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


--Apple-Mail=_272291E9-8ED6-4912-A433-10983C51DBB7
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXDTwRgAKCRCwXqMKLiCW
o8YSAJ9EeGiEW9cjV73U8uYs7aw0FcBdrgCfR/RE91p/tjABq3u23yx9GkZqCao=
=JPTC
-----END PGP SIGNATURE-----

--Apple-Mail=_272291E9-8ED6-4912-A433-10983C51DBB7--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F4C1D5F-ACD8-4349-BBBA-B2339C312166>