From owner-dev-commits-src-all@freebsd.org Sun Jun 20 19:56:50 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 595FA658758; Sun, 20 Jun 2021 19:56:50 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G7Nhy1nqVz4gwV; Sun, 20 Jun 2021 19:56:50 +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 "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 0D5AA262E7; Sun, 20 Jun 2021 19:56:50 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (unknown [IPv6:2001:470:7a58:0:1417:3c1a:7c92:9a4a]) (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 5B1714940B; Sun, 20 Jun 2021 21:56:47 +0200 (CEST) From: Dimitry Andric Message-Id: <3960850F-E446-45F1-A79B-F31D832F20BA@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_D336F0B1-F92E-4668-B6A9-122532DAF209"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Subject: Re: git: 23408297fbf3 - main - Merge llvm-project 12.0.1 rc2 Date: Sun, 20 Jun 2021 21:56:40 +0200 In-Reply-To: <20210620155800.236bb4b8@hermann.fritz.box> Cc: "src-committers@freebsd.org" , "dev-commits-src-all@freebsd.org" , "dev-commits-src-main@freebsd.org" To: "Hartmann, O." References: <202106191811.15JIB4nu002236@gitrepo.freebsd.org> <20210620155800.236bb4b8@hermann.fritz.box> X-Mailer: Apple Mail (2.3654.100.0.2.22) X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2021 19:56:50 -0000 --Apple-Mail=_D336F0B1-F92E-4668-B6A9-122532DAF209 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 20 Jun 2021, at 15:58, Hartmann, O. wrote: >=20 > On Sat, 19 Jun 2021 18:11:04 GMT > Dimitry Andric wrote: >=20 >> The branch main has been updated by dim: >>=20 >> URL: = https://cgit.FreeBSD.org/src/commit/?id=3D23408297fbf3089f0388a8873b02fa75= ab3f5bb9 >>=20 >> commit 23408297fbf3089f0388a8873b02fa75ab3f5bb9 >> Merge: cac129e60300 e4bbddaec868 >> Author: Dimitry Andric >> AuthorDate: 2021-06-19 10:06:00 +0000 >> Commit: Dimitry Andric >> CommitDate: 2021-06-19 18:09:28 +0000 >>=20 >> Merge llvm-project 12.0.1 rc2 >>=20 >> This updates llvm, clang, compiler-rt, libc++, libunwind, lld, = lldb and >> openmp to llvmorg-12.0.1-rc2-0-ge7dac564cd0e, a.k.a. 12.0.1 rc2. ... > running FreeBSD 14.0-CURRENT #13 main-n247423-7bd295750b1: Fri Jun 18 = 17:32:58 CEST 2021 > amd64, buildworld fails with the error >=20 > = /usr/src/contrib/llvm-project/clang/lib/Basic/SourceManager.cpp:1256:10: = fatal error: > 'emmintrin.h' file not found >=20 > How can I fix this? I have never been able to figure out why some people encounter this, except that they seem to have manually deleted files from their base system, thereby effectively destroying their toolchain. Normally these intrinsics headers are in /usr/lib/clang/X.Y.Z/include, and you have to explicity rm -rf this directory to make them disappear. Or maybe, if you install the base system via pkg, you can uninstall the toolchain package? In both cases, you'll have to find a backup of that directory, and restore it. Or reinstall it from the installation media. With pkg-base, you might be able to reinstall the toolchain package (if it exists). -Dimitry --Apple-Mail=_D336F0B1-F92E-4668-B6A9-122532DAF209 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 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCYM+deAAKCRCwXqMKLiCW o2alAKDCsyqePviQCXUtwfGQbpftaqzHYQCfWKV7UG9Yeud7kcPi7c1Io68Gwbw= =CjzI -----END PGP SIGNATURE----- --Apple-Mail=_D336F0B1-F92E-4668-B6A9-122532DAF209--