From owner-freebsd-current@freebsd.org Thu Dec 27 11:55:19 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 3B58A135B862 for ; Thu, 27 Dec 2018 11:55:19 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 995366FFAB for ; Thu, 27 Dec 2018 11:55:18 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 5C7EE135B85E; Thu, 27 Dec 2018 11:55:18 +0000 (UTC) Delivered-To: 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 373B3135B85C for ; Thu, 27 Dec 2018 11:55:18 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A3DF96FFA6 for ; Thu, 27 Dec 2018 11:55:17 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pl1-x62d.google.com with SMTP id e11so8690286plt.11 for ; Thu, 27 Dec 2018 03:55:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=L1UulzgEgm/ffPGM3DFCzW/VtoXhP1GT2p/DAff4flM=; b=Sm+AUF1MQ0Y2EzDxzbjLy9jQdyIyF/NmyVn0rE8o5lW3orfFoX1SeB5KtG9dNR65/q ESgEl34YSaJxvAsBfQWRpjCD7QpNPsaRUvYAIWSwE/xpn3/YidYd4Mqq4wKUBXeUG5Wx lXGht13PHSfaGW+8bYB4xaHWz4D7pj4SzrtsBzra+fuZnXxGF/Y2kEfMuEUVCilHIhFD UK9hjmkLf+UpGU5LuypSAitj2hTMQWHKhOE/pmhSyo4oto8NASWtVGrzGqYls4nIy2zG vXKnm6W0BwVReP60Tpkrgn7X/fkNOIs8vCUKMouFS+g+4BlJRVe2vxdmMh8Re/PPnMhp 3NtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=L1UulzgEgm/ffPGM3DFCzW/VtoXhP1GT2p/DAff4flM=; b=BMPOcM/7zmCGy3uvbhE1OlQypRdoKZFQ68/SoQUY7r3Nc0l0eLlcTKRmrkhyWm/Ufp ZMmKVhnZgiOiqyhLjdZnJ8VHT01C8hnOhnskXasuP1jx6U7KUQYSTjpF4k3uJxnu+lX3 +B5c9xVOOcOL2AWI4xm7VZz7S0DcjU7OcgRR/8jlXVNAdjxynO8MjtDShix7dsN8ZjVI liPYuOB8qH4Rznaj571R4pvEoyVd0494wX5ghXxzuQtJ1e0tbvzMDxc0BO+UqUGgR2KF M1LduxwUVU+9R68mlpfW9Zm6J24wX5VA9LUCNpPCeOhTY5XXyCcqjN67OeymAzDnVHmd aaSw== X-Gm-Message-State: AJcUukf+1uboWa72YVcMst88WrzAEtPZJ36jlgPW3P8ozonAit3NUHKg ZbZvAVAnfsJnIzUnIb9lmUzHOZFf X-Google-Smtp-Source: ALg8bN5T/UHpu59YhHyHpwUAsbwINLZALrXkMl3NlG2E5wFJ2uiYqODKh41VbOoMqxrKsYC29vQCaQ== X-Received: by 2002:a17:902:7687:: with SMTP id m7mr23190211pll.187.1545911716474; Thu, 27 Dec 2018 03:55:16 -0800 (PST) Received: from [192.168.20.7] (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id a90sm68796244pfj.109.2018.12.27.03.55.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Dec 2018 03:55:15 -0800 (PST) From: Enji Cooper Message-Id: <59E5352B-6C93-47C8-BFAD-87DD152588C2@gmail.com> Content-Type: multipart/signed; boundary="Apple-Mail=_4BF6CECA-E53F-44F5-A629-849091814850"; protocol="application/pgp-signature"; micalg=pgp-sha256 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: /usr/src/lib/clang/libclang 'emmintrin.h' file not found Date: Thu, 27 Dec 2018 03:55:15 -0800 In-Reply-To: <201812271148.wBRBm8i6038556@fire.js.berklix.net> Cc: current@freebsd.org To: "Julian H. Stacey" References: <201812271148.wBRBm8i6038556@fire.js.berklix.net> X-Mailer: Apple Mail (2.3445.9.1) X-Rspamd-Queue-Id: A3DF96FFA6 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.975,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 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: Thu, 27 Dec 2018 11:55:19 -0000 --Apple-Mail=_4BF6CECA-E53F-44F5-A629-849091814850 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Dec 27, 2018, at 3:48 AM, Julian H. Stacey wrote: >=20 > 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. > --------------- >=20 > cd /usr/src > cat .ctm_status # I recall src-cur 13840 > make world > ... failed approx or maybe as below I recall: >=20 > cat .svn_revision # 342545 > cat .ctm_status # src-cur 13841 > make buildworld >=20 > c++ -O2 -pipe -DBERKLIX=3DYES = -I/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libclang = -I/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvm = -I/usr/src/contrib/llvm/tools/clang/lib/Basic = -I/usr/src/contrib/llvm/tools/clang/lib/Driver = -I/usr/src/contrib/llvm/tools/clang/include -I/usr/src/lib/clang/include = -I/usr/src/contrib/llvm/include -DLLVM_BUILD_GLOBAL_ISEL = -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS = -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"x86_64-unknown-freebsd13.0\" = -DLLVM_HOST_TRIPLE=3D\"x86_64-unknown-freebsd13.0\" = -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 -gline-tables-only -MD -MF.de! > pend.Basic_SourceManager.o -MTBasic/SourceManager.o -Qunused-arguments = -I/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include -std=3Dc++11 = -fno-exceptions -fno-rtti -gline-tables-only -stdlib=3Dlibc++ = -Wno-c++11-extensions -c = /usr/src/contrib/llvm/tools/clang/lib/Basic/SourceManager.cpp -o = Basic/SourceManager.o > /usr/src/contrib/llvm/tools/clang/lib/Basic/SourceManager.cpp:1196:10: = fatal error: > 'emmintrin.h' file not found > #include > ^~~~~~~~~~~~~ > 1 error generated. > *** Error code 1 >=20 > Stop. > bmake[4]: stopped in /usr/src/lib/clang/libclang > *** Error code 1 >=20 > src/UPDATING last has a note at 20181220 ... & > 20181211: > Clang, llvm, lld, lldb, compiler-rt and libc++ have been = upgraded to > 7.0.1. Please see the 20141231 entry below for information = about > prerequisites and upgrading, if you are not already using clang = 3.5.0 > or higher. >=20 > clang -v > FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on = LLVM 6.0.1) >=20 > make includes > mkdir -p /usr/lib/clang/7.0.1/include/sanitizer/ > make includes > clang-tblgen -help > make -i includes > cd /usr/src/lib/clang/libclang > make > clang-tblgen -gen-clang-attr-dump -I = /usr/src/contrib/llvm/tools/clang/include -d clang/AST/AttrDump.inc.d -o = clang/AST/AttrDump.inc = /usr/src/contrib/llvm/tools/clang/include/clang/Basic/Attr.td > *** Signal 11 > reboot > cd /usr/src/lib/clang/libclang > make clean > make > clang-tblgen -gen-clang-attr-dump -I = /usr/src/contrib/llvm/tools/clang/include -d clang/AST/AttrDump.inc.d -o = clang/AST/AttrDump.inc = /usr/src/contrib/llvm/tools/clang/include/clang/Basic/Attr.td > *** Signal 11 Hi Julian, The handful of times I=E2=80=99ve seen this occur in the past = with other compiler versions, it=E2=80=99s been caused by an incomplete = buildworld and/or tainted .OBJDIR. It might be a good idea to wipe out = ${OBJROOT} and start buildworld from scratch, to see if the issue = persists. Best of luck, -Enji --Apple-Mail=_4BF6CECA-E53F-44F5-A629-849091814850 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----- iQIzBAEBCAAdFiEE5bk3FaGcY5rvqmb79YOpJmkwhhUFAlwkvaMACgkQ9YOpJmkw hhXqnw/+KEgw5pzUAmn6DaPmDJmaoW/BGriB8/zz6n7CpM3gCFRKVImRdyhqXJ0O kuV8JqvC2aWiah56G45lKWgNibfFKTWNKSwFuNeT9WrHpddj9b67DOnAFeXLHuCq GJSrzbjN1kiqrz2bDVsCBrTZ2AAia8YPsyaB0pq541uoPIR7tVQGsVJ0IRbnUlYf BH3pSPM/rNaYqYm4EOXbO/ncNtOQuHzlFINJWAllqocsCPll2QDeNT1zOuHRyIpy HbwRJNHknMRR22NlUDc0aRvPsLkyM0f4gOpU1Q+zmyKJrMAK6XTpCH96CwKr++3w xldt8c1iHjwIwQCIRAxNxX+v2BL2Y+aYqryWY5u6bKZpG+V7v1Dk4I1hhfiK3Djp 7v5Aug5GnkYYopCrMBU6q4hCoXwQOt9tcdOT4eGwEfPmYWouKwZ7h/sC5oYHLHNy UnDTRb3RUDFS47/vRZefFu4FJki7ZTSGTyDluH/J6fGGN93brwS5gnrVZ6SFAZm6 ybYCX+UHyxYqK8fBF4Ng+eD7uBPnT+4jF/5PdnF8gpdDJQe+pTozn12jNxxDfaeA 6tDe59VcIPIFAlgdZ0MajjetcZIGGc6SQMGEeP8mvfK7PEl2YFT9vHMXEZtH+5kC iuDfgzxedOiNrHAruTsm9IR7gH4zIW49I+9u5fw1tgMH/P0WHz4= =WhCx -----END PGP SIGNATURE----- --Apple-Mail=_4BF6CECA-E53F-44F5-A629-849091814850--