Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2018 13:02:26 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        "Julian H. Stacey" <jhs@berklix.com>
Cc:        current@freebsd.org, Enji Cooper <yaneurabeya@gmail.com>
Subject:   Re: /usr/src/lib/clang/libclang 'emmintrin.h' file not found
Message-ID:  <80F360C1-5769-45F3-8B81-3C90BB06FA1B@FreeBSD.org>
In-Reply-To: <201812281138.wBSBc9lP096617@fire.js.berklix.net>
References:  <201812281138.wBSBc9lP096617@fire.js.berklix.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <jhs@berklix.com> wrote:
>=20
> "Julian H. Stacey" wrote:
>> Enji Cooper wrote:
>>>> On Dec 27, 2018, at 3:48 AM, Julian H. Stacey <jhs@berklix.com> =
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 <emmintrin.h>
>>>>        ^~~~~~~~~~~~~
>>>> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?80F360C1-5769-45F3-8B81-3C90BB06FA1B>