From owner-freebsd-current@freebsd.org Wed Jan 18 20:18:19 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72E55CB69E1 for ; Wed, 18 Jan 2017 20:18:19 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3A9E213C1 for ; Wed, 18 Jan 2017 20:18:19 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:7b8:3a7::29e6:158e:b841:1bdc] (unknown [IPv6:2001:7b8:3a7:0:29e6:158e:b841:1bdc]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 09E9827E30; Wed, 18 Jan 2017 21:18:16 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_93343DAC-19CD-4D16-8774-C2AA2D82BF53"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Build failure 'wmmintrin.h' file not found From: Dimitry Andric In-Reply-To: <11db64df-356e-1005-7fd4-b825bee3ac8f@selasky.org> Date: Wed, 18 Jan 2017 21:18:08 +0100 Cc: FreeBSD Current Message-Id: <1B87E2DA-76D2-45CD-8987-43A4D1446907@FreeBSD.org> References: <5b6f9e49-09db-6329-4176-3898886ceb61@selasky.org> <8D312F2F-63D9-4269-9E7B-83978F53C1AE@FreeBSD.org> <11db64df-356e-1005-7fd4-b825bee3ac8f@selasky.org> To: Hans Petter Selasky X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2017 20:18:19 -0000 --Apple-Mail=_93343DAC-19CD-4D16-8774-C2AA2D82BF53 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 18 Jan 2017, at 14:16, Hans Petter Selasky wrote: >=20 > On 01/18/17 14:13, Dimitry Andric wrote: >> On 18 Jan 2017, at 13:36, Hans Petter Selasky = wrote: >>>=20 >>> I'm seeing the following build-error trying to build 12-current from = 10-stable: >>>=20 >>> xxx/freebsd/sys/crypto/aesni/aesni_ghash.c:75:10: fatal error: = 'wmmintrin.h' file not found >>> #include >>>=20 >>> Missing header exists: >>>=20 >>> xxx/freebsd/contrib/llvm/tools/clang/lib/Headers/wmmintrin.h >>>=20 >>> Missing include directory or compiler magic? >>=20 >> What are you building, and how? Did you do a buildworld before = buildkernel? >>=20 >> -Dimitry >>=20 >=20 > I did: >=20 > make toolchain -jXX >=20 > And then: >=20 > make buildkernel -jXX >=20 > And the error popped out. As far as I can see, the toolchain target does not install headers and libraries. Can you try the kernel-toolchain target instead? > I'm not observing this error when building a 12-current kernel from an = 11-stable install. Probably not, because you will be using /usr/bin/cc, and the wmmintrin.h header in the base system. -Dimitry --Apple-Mail=_93343DAC-19CD-4D16-8774-C2AA2D82BF53 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.30 iEYEARECAAYFAlh/zYcACgkQsF6jCi4glqN6JACfVIKRP7xVznN+b3HqF57Tre9c ZQsAn3qxn4A44oHLImUC0TNbl9RY1bIK =EP6b -----END PGP SIGNATURE----- --Apple-Mail=_93343DAC-19CD-4D16-8774-C2AA2D82BF53--