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>

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

[-- Attachment #1 --]
On 18 Jan 2017, at 14:16, Hans Petter Selasky <hps@selasky.org> wrote:
> 
> On 01/18/17 14:13, Dimitry Andric wrote:
>> On 18 Jan 2017, at 13:36, Hans Petter Selasky <hps@selasky.org> wrote:
>>> 
>>> I'm seeing the following build-error trying to build 12-current from 10-stable:
>>> 
>>> xxx/freebsd/sys/crypto/aesni/aesni_ghash.c:75:10: fatal error: 'wmmintrin.h' file not found
>>> #include <wmmintrin.h>
>>> 
>>> Missing header exists:
>>> 
>>> xxx/freebsd/contrib/llvm/tools/clang/lib/Headers/wmmintrin.h
>>> 
>>> Missing include directory or compiler magic?
>> 
>> What are you building, and how?  Did you do a buildworld before buildkernel?
>> 
>> -Dimitry
>> 
> 
> I did:
> 
> make toolchain -jXX
> 
> And then:
> 
> make buildkernel -jXX
> 
> 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


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.30

iEYEARECAAYFAlh/zYcACgkQsF6jCi4glqN6JACfVIKRP7xVznN+b3HqF57Tre9c
ZQsAn3qxn4A44oHLImUC0TNbl9RY1bIK
=EP6b
-----END PGP SIGNATURE-----
help

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