Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jan 2017 21:18:08 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Build failure 'wmmintrin.h' file not found
Message-ID:  <1B87E2DA-76D2-45CD-8987-43A4D1446907@FreeBSD.org>
In-Reply-To: <11db64df-356e-1005-7fd4-b825bee3ac8f@selasky.org>
References:  <5b6f9e49-09db-6329-4176-3898886ceb61@selasky.org> <8D312F2F-63D9-4269-9E7B-83978F53C1AE@FreeBSD.org> <11db64df-356e-1005-7fd4-b825bee3ac8f@selasky.org>

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

--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 <hps@selasky.org> wrote:
>=20
> On 01/18/17 14:13, Dimitry Andric wrote:
>> On 18 Jan 2017, at 13:36, Hans Petter Selasky <hps@selasky.org> =
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 <wmmintrin.h>
>>>=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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1B87E2DA-76D2-45CD-8987-43A4D1446907>