From nobody Sun Apr 16 18:57:02 2023 X-Original-To: stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PzzvP3lXgz45plK for ; Sun, 16 Apr 2023 18:57:21 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 4PzzvP2YHRz3v8l; Sun, 16 Apr 2023 18:57:21 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681671441; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=EZpVYSJj7stWmF3Zlid0m1sc3KLtotZs9n6UaDS+h4M=; b=x3lEAwPwZuXxzAVuMlBc9A6Flg0eZw0H5zglv+dsW0TYiS5rOLQBKjXyLUGWmg8VhoM3p7 sl24Nk9+obZ/VUXjKC5WTR8Dk97GaEDSR5g6kDuVQSzmVMMRpW6MplfoZdXI5ntS7LCD3h itspwrcoHoHp2nMbYMxVknGfAYVfAdsxYhLT/VD5UAnfUM1MVqUL3LgwqXKj3pxmYPaZCI S4b7IBhBffX6PBrZ7hIVeccL/S9GPrVYBrJkPjpGjTBFd/a1/fdxN49KfveW3fcBqnfDor Do6ny2hJC+nA7nsKemW+DJd3ldSQJ4vW14YqDSi0MYfkjB1chrd7Kn5HBzSeNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681671441; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=EZpVYSJj7stWmF3Zlid0m1sc3KLtotZs9n6UaDS+h4M=; b=nfxWZFNzOnLXbfsSablncHsmGevUyD/ZqBNjK4QQnbM/vcw+pwj261mQ1U9MTSkx3d7etb SK/BxP5GyQ4eK7N+RqfQBcyof8xXrBdUL2qPkoBXPaZrUICsFKq006MT76/hfxiiai2HkU FaGdw25IbqEKzhRl8S02X1boots41VSNA0mR6LWZFnt5OCsa2JPAmt1QN0BB44a4/rVRI2 StONySWYSM41q0eKwe9eiRe9MltGlB4McO/UnGsweogReBsy+xo9SbDY7RrbHQ6rDw5uZI pUscYj6jUsIUcs7wi+VCarQ2hr+IJNhYs3hiOpxi8yGfM+9kR5FYCsGCnqCL4w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681671441; a=rsa-sha256; cv=none; b=kRi2J36LXlHXeFyAHsFbyyYZDfOC2Q9StLtSFs6dx3hcPC2NJE+56EnagKIelScn07YpT7 3+QMUA/n6UzWDRRZZZKfGqfMK4kcaYkRVtsBAgsaZ1KTb1pfO52UNHm8De3qYE3K7OLcJM EODorv84wmyeMxvMy1n+1cw2pllmNTGtkd8jwC6kwzhj3gvuLA+ZHZ9PRs2ifDlgisCNHg pf7fAp7DzRH/NRM1sbUo+puGgmyIndAUVpPZOTk6G6ccYfuB/qaTZ9EhwroVmq+QWsntuU mpblyuSLbwtEFf8/DSpDkWXvLXsGTEPRw9lTqZhywYrEGaFq3vU8f1pOQN7Oow== Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (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 (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PzzvP0sN4z1ChH; Sun, 16 Apr 2023 18:57:21 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (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 899735DA24; Sun, 16 Apr 2023 20:57:18 +0200 (CEST) Content-Type: multipart/signed; boundary="Apple-Mail=_FF5232AC-1708-42BC-B272-05D6564D5046"; protocol="application/pgp-signature"; micalg=pgp-sha1 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.500.231\)) Subject: Re: stable does not compile, llvm error From: Dimitry Andric In-Reply-To: Date: Sun, 16 Apr 2023 20:57:02 +0200 Cc: stable@freebsd.org Message-Id: <8D28DB36-A00A-4019-BB9D-D39F4C17405D@FreeBSD.org> References: To: Tom Vogt X-Mailer: Apple Mail (2.3731.500.231) X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_FF5232AC-1708-42BC-B272-05D6564D5046 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 16 Apr 2023, at 20:32, Tom Vogt wrote: >=20 > I try to compile the latest 13 stable version but it fails with an = llvm error. >=20 > My working version is: > 13.2-STABLE stable/13-3cea7ca84 GENERIC amd64 >=20 > The version I try o compile is: > git show -s > commit 3e9d966ce45e3971c295a1dff7435d6b9f1321da (grafted, HEAD -> = stable/13, origin/stable/13) >=20 > Compile: > make -j `sysctl -n hw.ncpu` buildworld buildkernel && make = installkernel >=20 > Error: > cc -O2 -pipe -fno-common = -I/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvm = -I/usr/src/contrib/llvm-project/llvm/lib/Target/X86 = -I/usr/src/contrib/llvm-project/llvm/lib/ObjCopy = -I/usr/src/lib/clang/include = -I/usr/src/contrib/llvm-project/llvm/include -D__STDC_CONSTANT_MACROS = -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAVE_VCS_VERSION_INC = -DNDEBUG -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"x86_64-unknown-freebsd13.2\" = -DLLVM_HOST_TRIPLE=3D\"x86_64-unknown-freebsd13.2\" = -DDEFAULT_SYSROOT=3D\"/usr/obj/usr/src/amd64.amd64/tmp\" = -DLLVM_TARGET_ENABLE_X86 = -DLLVM_NATIVE_ASMPARSER=3DLLVMInitializeX86AsmParser = -DLLVM_NATIVE_ASMPRINTER=3DLLVMInitializeX86AsmPrinter = -DLLVM_NATIVE_DISASSEMBLER=3DLLVMInitializeX86Disassembler = -DLLVM_NATIVE_TARGET=3DLLVMInitializeX86Target = -DLLVM_NATIVE_TARGETINFO=3DLLVMInitializeX86TargetInfo = -DLLVM_NATIVE_TARGETMC=3DLLVMInitializeX86TargetMC -ffunction-sections = -fdata-sections -MD -MF.depend.Support_BLAKE3_blake3.o = -MTSupport/BLAKE3/blake3.o -std=3Dgnu99 -Wno-format-zero-length = -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int = -Wno-unused-const-variable -Wno-error=3Dunused-but-set-variable = -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality = -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef = -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum = -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments = -I/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include -c = /usr/src/contrib/llvm-project/llvm/lib/Support/BLAKE3/blake3.c -o = Support/BLAKE3/blake3.o > In file included from = /usr/src/contrib/llvm-project/llvm/lib/Support/BLAKE3/blake3.c:13: > = /usr/src/contrib/llvm-project/llvm/lib/Support/BLAKE3/blake3_impl.h:61:10:= fatal error: 'immintrin.h' file not found > #include > ^~~~~~~~~~~~~ This type of error pops up every once in a while, and it usually turns out that people deleted their /usr/lib/clang directory for some reason, or if they did a packaged base install, they did not install the toolchain packages. In any case, you will have to restore the files in /usr/lib/clang for the build to continue. -Dimitry --Apple-Mail=_FF5232AC-1708-42BC-B272-05D6564D5046 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 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCZDxE/gAKCRCwXqMKLiCW o6jZAJwO7yspX9XGkebtQL5M03UM2Fb5FACgip+8EDBmW8w05oKRqv5wj/QnmCA= =xfc6 -----END PGP SIGNATURE----- --Apple-Mail=_FF5232AC-1708-42BC-B272-05D6564D5046--