From owner-freebsd-current@freebsd.org Sun Jul 22 20:37:35 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 630A3102A2DF for ; Sun, 22 Jul 2018 20:37:35 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EBEF483BE5 for ; Sun, 22 Jul 2018 20:37:34 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from coleburn.home.andric.com (coleburn.home.andric.com [192.168.0.15]) (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 ADB30369FC; Sun, 22 Jul 2018 22:37:26 +0200 (CEST) From: Dimitry Andric Message-Id: <82B3EB35-676F-42B6-9577-3BAF43F2719F@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_3EA7F67B-718E-49EC-9DC9-366171FE0465"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: fatal error: 'immintrin.h' file not found Date: Sun, 22 Jul 2018 22:37:20 +0200 In-Reply-To: <20180722195900.GA75436@ptrace.hagen.corp> Cc: freebsd-current@freebsd.org To: Stefan Hagen References: <20180722195900.GA75436@ptrace.hagen.corp> X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 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, 22 Jul 2018 20:37:35 -0000 --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 = 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 > ^~~~~~~~~~~~~ > 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--