On 28 Mar 2020, at 13:48, Alexandr Krivulya <shur...@shurik.kiev.ua> wrote:
> 
> 28.03.20 14:35, David Wolfskill пишет:
>> On Sat, Mar 28, 2020 at 02:01:39PM +0200, Alexandr Krivulya wrote:
>>> Hello,
>>> on latest CURRENT kernel fails to build:
>>> 
>>> ===> aesni (all)
>>> [Creating objdir 
>>> /usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG/modules/usr/src/sys/modules/aesni...]
>>> ...
>>> /usr/src/sys/crypto/aesni/aesni_ghash.c:75:10: fatal error: 'wmmintrin.h'
>>> file not found
>>> #include <wmmintrin.h>
>>>          ^~~~~~~~~~~~~
>>> 1 error generated.
>>> *** Error code 1
>>> ....
>> I had no issues updating from r359325 to r359356 yesterday, or from
>> r359356 to r359389 today (using META_MODE).
> 
> So what may be a reason? I tried:
> - remove and checkout source tree
> - remove /usr/obj
> 
> wmmintrin.h is present under 
> /usr/src/contrib/llvm-project/clang/lib/Headers/wmmintrin.h
> 
> /etc/make.conf:
> KERNCONF=GENERIC-NODEBUG
> MALLOC_PRODUCTION=yes
> 
> no /etc/src.conf

This typically happens if you don't run "make buildworld", or at least
"make kernel-toolchain" before running "make buildkernel", and your
userland is missing those headers, for some reason. (Usually people
seem to do a WITHOUT_CLANG installation or strip out 'unnecessary'
stuff manually...)

-Dimitry

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to