From owner-freebsd-current@freebsd.org Mon Dec 25 20:16:23 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7F2AEA40AC for ; Mon, 25 Dec 2017 20:16:23 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vps.rulingia.com (vps.rulingia.com [103.243.244.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.rulingia.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 415A0719E6; Mon, 25 Dec 2017 20:16:22 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (ppp59-167-167-3.static.internode.on.net [59.167.167.3]) by vps.rulingia.com (8.15.2/8.15.2) with ESMTPS id vBPKG7l0079885 (version=TLSv1.2 cipher=DHE-RSA-CHACHA20-POLY1305 bits=256 verify=OK); Tue, 26 Dec 2017 07:16:14 +1100 (AEDT) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.15.2/8.15.2) with ESMTPS id vBPKG1cf000309 (version=TLSv1.2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256 verify=NO); Tue, 26 Dec 2017 07:16:01 +1100 (AEDT) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.15.2/8.15.2/Submit) id vBPKG1g3000308; Tue, 26 Dec 2017 07:16:01 +1100 (AEDT) (envelope-from peter) Date: Tue, 26 Dec 2017 07:16:01 +1100 From: Peter Jeremy To: Dimitry Andric Cc: freebsd-current@FreeBSD.org Subject: Re: Unable to build 12-current/amd64 Message-ID: <20171225201601.GD5042@server.rulingia.com> References: <20171223095633.GA52398@server.rulingia.com> <962D6B67-8D38-4483-B8D3-933FA483C364@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vEao7xgI/oilGqZ+" Content-Disposition: inline In-Reply-To: <962D6B67-8D38-4483-B8D3-933FA483C364@FreeBSD.org> X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 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: Mon, 25 Dec 2017 20:16:23 -0000 --vEao7xgI/oilGqZ+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2017-Dec-23 13:42:40 +0100, Dimitry Andric wrote: >On 23 Dec 2017, at 10:56, Peter Jeremy wrote: >>=20 >> Since r326496, buildworld on my 12-current/amd64 system has consistently >> died as follows. >... >> /usr/src/contrib/llvm/tools/clang/lib/Basic/SourceManager.cpp:1166:10: f= atal error: 'emmintrin.h' file not found >> #include >> ^~~~~~~~~~~~~ >> 1 error generated. >> *** Error code 1 >>=20 >> Stop. >> make[4]: stopped in /usr/src/lib/clang/libclang >>=20 >> I'm building on a 12.0-CURRENT VirtualBox guest at r326430. I've checked >> that my /usr/src is clean and deleted /usr/obj to no effect. I have dug >> into SourceManager.cpp and the #include is protected by a #if __SSE2__, >> which is relying on clang internal checks to define (and my CPU supports >> SSE2). Does anyone have any ideas to explain what is going on? > >First of all, does your host system have emmintrin.h? E.g. what is the >output of "find /usr/lib/clang -name emmintrin.h" ? Aha. Somehow my entire /usr/lib/clang/5.0.0 tree was missing. I'm not sure if that was an installworld glitch or something I accidently did. In any case, restoring it has fixed the problem. Thanks for the pointer. --=20 Peter Jeremy --vEao7xgI/oilGqZ+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJaQVyBXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFRUIyOTg2QzMwNjcxRTc0RTY1QzIyN0Ux NkE1OTdBMEU0QTIwQjM0AAoJEBall6Dkogs0tOkP/2qmAq3fkkWIW6Viv8nDvoUj xGkZc0sdO+cC5mFc+jfjNoLoQz0iwsGt6EjZs0jE/tnYCdq+fnty9HYLUBV7nDWQ GMhC2bLbBK4CAaqurk9er6SP8AqeQQNjWhgNsuNPMb27YQbCxnbo00klMIuQDphu crmNfSxlxlpFKHp5dw18NpM7Z7LkoWOnAF1hO/MZztLAAbVZx4huwK2bqgerBOCy 59NfxF7aqOYOahEyLgZC6d8kfWh1cPbDsQaySyZ7Mw+38T6UKnNFbHtSODnxS4m9 cvMeU+QjqdszrXDEY4HAEkMrxVLBqq/khkflE9lUFlihMrBNlNTF/ZKhmLkJP2Ke WPvE5slzucLYD6MzuDQa98zlQSH55PPpszJkr2V3A/VmukeBMSXodQfOBMS8PMnn B982UMqaYV/i0y4N7+D2xO2GnFO9KzFhw8Boze+5cxqE4ghPFlADiH8t8GhZTtZ2 72eEqDnI2jaMJdG85/Ya+T21tkqBWVqhzHd1MrOvW6QopYOtPSXleBqYpgql/ltJ rO2JTANZEQtBcrktlHelX/pJdqvHC3MSAaGVsJ4RuLNFx2sM4Z1rt60YhVwzkHMo OhIt0p2//DnjzP+oQrl8cDMLUCE+7lIt0EhBKLtTvkQS24YAapHXvNpgLaDdIgY9 9Rtt3i59i9bhSQTTZD2i =SmdT -----END PGP SIGNATURE----- --vEao7xgI/oilGqZ+--