From owner-freebsd-current@freebsd.org Fri Dec 28 12:02:47 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 44FC71436AA8 for ; Fri, 28 Dec 2018 12:02:47 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CD13987FBC for ; Fri, 28 Dec 2018 12:02:46 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8B8E21436AA6; Fri, 28 Dec 2018 12:02:46 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 50C101436AA5 for ; Fri, 28 Dec 2018 12:02:46 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:470:7a58:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DA32887FB9 for ; Fri, 28 Dec 2018 12:02:45 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [192.168.1.32] (095-096-143-063.static.chello.nl [95.96.143.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 54E5294F6; Fri, 28 Dec 2018 13:02:35 +0100 (CET) From: Dimitry Andric Message-Id: <80F360C1-5769-45F3-8B81-3C90BB06FA1B@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_6D3F4EEA-C7BD-4165-B48A-506CDC0E1B2D"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: /usr/src/lib/clang/libclang 'emmintrin.h' file not found Date: Fri, 28 Dec 2018 13:02:26 +0100 In-Reply-To: <201812281138.wBSBc9lP096617@fire.js.berklix.net> Cc: current@freebsd.org, Enji Cooper To: "Julian H. Stacey" References: <201812281138.wBSBc9lP096617@fire.js.berklix.net> X-Mailer: Apple Mail (2.3445.9.1) 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: Fri, 28 Dec 2018 12:02:47 -0000 --Apple-Mail=_6D3F4EEA-C7BD-4165-B48A-506CDC0E1B2D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 28 Dec 2018, at 12:38, Julian H. Stacey wrote: >=20 > "Julian H. Stacey" wrote: >> Enji Cooper wrote: >>>> On Dec 27, 2018, at 3:48 AM, Julian H. Stacey = wrote: >>>> Hi current@ >>>> Anyone else seeing make buildworld Clang failures ? >>>> ls -l /usr/bin suggests I last made world on Dec 9, >>>> since then I've failed twice below >>>> Seems the UPDATING doesnt give enough to rescue this. >>>> --------------- >>>> =3D20 >>>> cd /usr/src >>>> cat .ctm_status # I recall src-cur 13840 >>>> make world >>>> ... failed approx or maybe as below I recall: >>>> =3D20 >>>> cat .svn_revision # 342545 >>>> cat .ctm_status # src-cur 13841 >>>> make buildworld >>>> =3D20 >>>> c++ -O2 -pipe -DBERKLIX=3D3DYES =3D >>> -I/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libclang =3D >>> -I/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvm =3D >>> -I/usr/src/contrib/llvm/tools/clang/lib/Basic =3D >>> -I/usr/src/contrib/llvm/tools/clang/lib/Driver =3D >>> -I/usr/src/contrib/llvm/tools/clang/include = -I/usr/src/lib/clang/include =3D >>> -I/usr/src/contrib/llvm/include -DLLVM_BUILD_GLOBAL_ISEL =3D >>> -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS =3D >>> -DLLVM_DEFAULT_TARGET_TRIPLE=3D3D\"x86_64-unknown-freebsd13.0\" =3D >>> -DLLVM_HOST_TRIPLE=3D3D\"x86_64-unknown-freebsd13.0\" =3D >>> -DDEFAULT_SYSROOT=3D3D\"/usr/obj/usr/src/amd64.amd64/tmp\" =3D >>> -DLLVM_TARGET_ENABLE_X86 =3D >>> -DLLVM_NATIVE_ASMPARSER=3D3DLLVMInitializeX86AsmParser =3D >>> -DLLVM_NATIVE_ASMPRINTER=3D3DLLVMInitializeX86AsmPrinter =3D >>> -DLLVM_NATIVE_DISASSEMBLER=3D3DLLVMInitializeX86Disassembler =3D >>> -DLLVM_NATIVE_TARGET=3D3DLLVMInitializeX86Target =3D >>> -DLLVM_NATIVE_TARGETINFO=3D3DLLVMInitializeX86TargetInfo =3D >>> -DLLVM_NATIVE_TARGETMC=3D3DLLVMInitializeX86TargetMC = -ffunction-sections =3D >>> -fdata-sections -gline-tables-only -MD -MF.de! >>>> pend.Basic_SourceManager.o -MTBasic/SourceManager.o = -Qunused-arguments =3D >>> -I/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include -std=3D3Dc++11 = =3D >>> -fno-exceptions -fno-rtti -gline-tables-only -stdlib=3D3Dlibc++ =3D >>> -Wno-c++11-extensions -c =3D >>> /usr/src/contrib/llvm/tools/clang/lib/Basic/SourceManager.cpp -o =3D >>> Basic/SourceManager.o >>>> = /usr/src/contrib/llvm/tools/clang/lib/Basic/SourceManager.cpp:1196:10: =3D= >>> fatal error: >>>> 'emmintrin.h' file not found >>>> #include >>>> ^~~~~~~~~~~~~ >>>> 1 error generated. >>>> *** Error code 1 >>>> =3D20 >>>> Stop. >>>> bmake[4]: stopped in /usr/src/lib/clang/libclang Most likely, your host compiler is missing required intrinsics headers. These are located under /usr/lib/clang/x.y.z/include, where x.y.z is the compiler version. If they are missing, you might want to restore the files from backup, or extract them from a release or snapshot tarball. -Dimitry --Apple-Mail=_6D3F4EEA-C7BD-4165-B48A-506CDC0E1B2D Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXCYQ0gAKCRCwXqMKLiCW o76OAKC51xOo0POxWYT9vV3qVosvrqm2SACfcUc41xgBy2+KPiZ+1NYrDcS3tBo= =ebLv -----END PGP SIGNATURE----- --Apple-Mail=_6D3F4EEA-C7BD-4165-B48A-506CDC0E1B2D--