From owner-freebsd-stable@freebsd.org Tue Jan 8 18:47:44 2019 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7C4B01486D3B for ; Tue, 8 Jan 2019 18:47:44 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:470:7a58:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1B18B71E00 for ; Tue, 8 Jan 2019 18:47:44 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:470:7a58::d195:b549:93bd:1952] (unknown [IPv6:2001:470:7a58:0:d195:b549:93bd:1952]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 2B2AD9EC8; Tue, 8 Jan 2019 19:47:35 +0100 (CET) From: Dimitry Andric Message-Id: <3F4C1D5F-ACD8-4349-BBBA-B2339C312166@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_272291E9-8ED6-4912-A433-10983C51DBB7"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: x86intrin.h not found after 10.4->11.2 upgrade Date: Tue, 8 Jan 2019 19:47:34 +0100 In-Reply-To: Cc: freebsd-stable@freebsd.org To: Morgan Reed References: X-Mailer: Apple Mail (2.3445.102.3) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jan 2019 18:47:44 -0000 --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 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--