Date: Sun, 22 Jul 2018 22:37:20 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: Stefan Hagen <sh+freebsd-current@codevoid.de> Cc: freebsd-current@freebsd.org Subject: Re: fatal error: 'immintrin.h' file not found Message-ID: <82B3EB35-676F-42B6-9577-3BAF43F2719F@FreeBSD.org> In-Reply-To: <20180722195900.GA75436@ptrace.hagen.corp> References: <20180722195900.GA75436@ptrace.hagen.corp>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_3EA7F67B-718E-49EC-9DC9-366171FE0465 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 22 Jul 2018, at 21:59, Stefan Hagen <sh+freebsd-current@codevoid.de> = wrote: >=20 > I think I broke something and I can't figure out what it is. Since a = few > weeks, I'm not able to build current anymore. >=20 > make buildkernel, buildworld, toolchain - all abort with the following > error: >=20 > --- lz_encoder.o --- > In file included from = /usr/src/contrib/xz/src/liblzma/lz/lz_encoder.c:23: > /usr/src/contrib/xz/src/liblzma/common/memcmplen.h:19:11: fatal error: = 'immintrin.h' file not found > # include <immintrin.h> > ^~~~~~~~~~~~~ > 1 error generated. >=20 > Find shows me, that immintrin.h can be found in the following = locations: >=20 > $ find / -name "immintrin.h" > /usr/lib/clang/4.0.0/include/immintrin.h > /usr/lib/clang/3.8.0/include/immintrin.h > /usr/lib/clang/5.0.0/include/immintrin.h > /usr/lib/clang/6.0.0/include/immintrin.h > /usr/lib/clang/5.0.1/include/immintrin.h What does "cc -v" show? If it is clang 6.0.1, you are missing the 6.0.1 intrinsics headers, located in /usr/lib/clang/6.0.1/include. As a quick hack, you can try copying the /usr/lib/clang/6.0.0 headers there, or attempt to run "make install" in /usr/src/lib/clang/headers. -Dimitry --Apple-Mail=_3EA7F67B-718E-49EC-9DC9-366171FE0465 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 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCW1TrAAAKCRCwXqMKLiCW ow7eAJ0Q2eRTyW8J6DCH4MBBcfnThKiw1QCgz/IoJ2gt6KhcRxjo+eCR6iQtAv4= =SniT -----END PGP SIGNATURE----- --Apple-Mail=_3EA7F67B-718E-49EC-9DC9-366171FE0465--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?82B3EB35-676F-42B6-9577-3BAF43F2719F>