Build failure 'wmmintrin.h' file not found
Dimitry Andric
dim at FreeBSD.org
Wed Jan 18 20:18:19 UTC 2017
On 18 Jan 2017, at 14:16, Hans Petter Selasky <hps at selasky.org> wrote:
>
> On 01/18/17 14:13, Dimitry Andric wrote:
>> On 18 Jan 2017, at 13:36, Hans Petter Selasky <hps at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20170118/fbee8fc3/attachment.sig>
More information about the freebsd-current
mailing list