From owner-freebsd-current@freebsd.org Sun Mar 29 11:12:38 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DE03327B262 for ; Sun, 29 Mar 2020 11:12:38 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48qtGd6hq9z4Fsc for ; Sun, 29 Mar 2020 11:12:25 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id 02TBCHeT083562; Sun, 29 Mar 2020 11:12:17 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id 02TBCH1i083561; Sun, 29 Mar 2020 04:12:17 -0700 (PDT) (envelope-from david) Date: Sun, 29 Mar 2020 04:12:17 -0700 From: David Wolfskill To: Alexandr Krivulya Cc: freebsd-current@freebsd.org Subject: Re: kernel build failed Message-ID: <20200329111217.GF1511@albert.catwhisker.org> Reply-To: current@freebsd.org Mail-Followup-To: current@freebsd.org, Alexandr Krivulya , freebsd-current@freebsd.org References: <672d55ce-0949-2397-0a3c-3a86020381a4@shurik.kiev.ua> <20200328123542.GR1511@albert.catwhisker.org> <4ee54436-0c15-41c3-3581-053da0a08181@shurik.kiev.ua> <9E22D99A-63CB-4CCB-B3C1-3838F1769BED@FreeBSD.org> <1829bb5e-22aa-ca15-de07-2a930dacbe3c@shurik.kiev.ua> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="CykJmXQjLoWzTnSU" Content-Disposition: inline In-Reply-To: <1829bb5e-22aa-ca15-de07-2a930dacbe3c@shurik.kiev.ua> X-Rspamd-Queue-Id: 48qtGd6hq9z4Fsc X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=temperror (mx1.freebsd.org: error in processing during lookup of david@catwhisker.org: DNS error) smtp.mailfrom=david@catwhisker.org X-Spamd-Result: default: False [-6.83 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[current@freebsd.org]; SPAMHAUS_ZEN_URIBL_FAIL(0.00)[query timed out]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_SPF_DNSFAIL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[catwhisker.org]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-2.63)[ip: (-9.70), ipnet: 107.192.0.0/12(-4.85), asn: 7018(1.43), country: US(-0.05)] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Mar 2020 11:12:39 -0000 --CykJmXQjLoWzTnSU Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 29, 2020 at 02:02:02PM +0300, Alexandr Krivulya wrote: > 28.03.20 18:32, Dimitry Andric =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > ... > > 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...) > >=20 >=20 > I have updated source tree to r359419 and now make builworld failed with = an > error: >=20 > ... > --- Basic/SourceManager.o --- > /usr/src/contrib/llvm-project/clang/lib/Basic/SourceManager.cpp:1228:10: > fatal error: 'emmintrin.h' file not found > #include > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^~~~~~~~~~~~~ > 1 error generated. > *** [Basic/SourceManager.o] Error code 1 > .... Perhaps it would be helpful for you specify precisely what commands you invoked once the source tree was updated. For example, the process I use is documented in http://www.catwhisker.org/~david/FreeBSD/upgrade.html Peace, david --=20 David H. Wolfskill david@catwhisker.org Trump on sale of GM's Lordstown, OH plant: "GREAT NEWS FOR OHIO!" May 2019 "MUST immediately open their stupidly abandoned Lordstown ...." March 2020 See http://www.catwhisker.org/~david/publickey.gpg for my public key. --CykJmXQjLoWzTnSU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAl6AgpFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 Pcm8OAgAntyExmGRVBTmA7Pt3kXs+YXTEuJ2MmId4dr+eHCuTJM4ppIhHtlU+yTe BAxNnJxU0/HFXRmsG4AfRjO122Y4Bm5iJSUM069vQwXwsZTh8NRol1Tr1+Mr4zXj jkFpA01oW6clrqP2JibXBSX4Kr856ubKwggZu4Pbx44UCc87CtS4wqf0ofJODQAd K8KkrfQQBhGVT/yJKNYleuZIDjfdIzHOpBztEkjNoV5I2KeoEyR+TFvk+rXR3+lt 8n4zKGoyUfsXtN9WgGHjim0kgtCNcNPi6+AaEZFGNDWbA0LU495zrzUMQWaU2JZH X8WWolk70j1+s2ZpVxA48CRjhGeoVQ== =O7J0 -----END PGP SIGNATURE----- --CykJmXQjLoWzTnSU--