Date: Sat, 28 Mar 2020 17:32:00 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: Alexandr Krivulya <shuriku@shurik.kiev.ua> Cc: freebsd-current@freebsd.org Subject: Re: kernel build failed Message-ID: <9E22D99A-63CB-4CCB-B3C1-3838F1769BED@FreeBSD.org> In-Reply-To: <4ee54436-0c15-41c3-3581-053da0a08181@shurik.kiev.ua> References: <672d55ce-0949-2397-0a3c-3a86020381a4@shurik.kiev.ua> <20200328123542.GR1511@albert.catwhisker.org> <4ee54436-0c15-41c3-3581-053da0a08181@shurik.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On 28 Mar 2020, at 13:48, Alexandr Krivulya <shuriku@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 #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXn98AAAKCRCwXqMKLiCW oySLAJsFk3SdAvty2KkfSeYcdZaT67CO2ACgy1zvN3OfhYSkXC0VS7cag8u4+Tw= =CQiQ -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9E22D99A-63CB-4CCB-B3C1-3838F1769BED>
