From owner-freebsd-current@freebsd.org Fri Dec 28 13:07:00 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 31AED1438279 for ; Fri, 28 Dec 2018 13:07:00 +0000 (UTC) (envelope-from jhs@berklix.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 A818C89F2E for ; Fri, 28 Dec 2018 13:06:59 +0000 (UTC) (envelope-from jhs@berklix.com) Received: by mailman.ysv.freebsd.org (Postfix) id 6812F1438278; Fri, 28 Dec 2018 13:06:59 +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 456E61438277 for ; Fri, 28 Dec 2018 13:06:59 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "land.berklix.org", Issuer "land.berklix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A8DCB89F2C; Fri, 28 Dec 2018 13:06:56 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from mart.js.berklix.net (p2E52C0CB.dip0.t-ipconnect.de [46.82.192.203]) (authenticated bits=0) by land.berklix.org (8.15.2/8.15.2) with ESMTPSA id wBSD6l55007062 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 28 Dec 2018 13:06:52 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id wBSD6hOX032298; Fri, 28 Dec 2018 14:06:44 +0100 (CET) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.7/8.14.7) with ESMTP id wBSD6PkN098863; Fri, 28 Dec 2018 14:06:37 +0100 (CET) (envelope-from jhs@berklix.com) Message-Id: <201812281306.wBSD6PkN098863@fire.js.berklix.net> To: Dimitry Andric cc: current@FreeBSD.org, Enji Cooper Subject: Re: /usr/src/lib/clang/libclang 'emmintrin.h' file not found From: "Julian H. Stacey" Organization: http://berklix.eu BSD Unix Linux Consultants, Munich Aachen Kent User-agent: EXMH on FreeBSD http://berklix.eu/free/ X-From: http://www.berklix.eu/~jhs/ In-reply-to: Your message "Fri, 28 Dec 2018 13:02:26 +0100." <80F360C1-5769-45F3-8B81-3C90BB06FA1B@FreeBSD.org> Date: Fri, 28 Dec 2018 14:06:25 +0100 X-Rspamd-Queue-Id: A8DCB89F2C X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [2.51 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.46)[0.455,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[berklix.com]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.71)[0.715,0]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: land.berklix.com]; NEURAL_SPAM_LONG(0.37)[0.371,0]; R_SPF_NA(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[203.192.82.46.zen.spamhaus.org : 127.0.0.10]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:144.76.0.0/16, country:DE]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(0.08)[ipnet: 144.76.0.0/16(2.84), asn: 24940(-2.43), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[] 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: Fri, 28 Dec 2018 13:07:00 -0000 Dimitry Andric wrote: > On 28 Dec 2018, at 12:38, Julian H. Stacey wrote: > >=20 > > "Julian H. Stacey" wrote: > >> Enji Cooper wrote: > >>>> On Dec 27, 2018, at 3:48 AM, Julian H. Stacey = > wrote: > >>>> 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. > >>>> --------------- > >>>> =3D20 > >>>> cd /usr/src > >>>> cat .ctm_status # I recall src-cur 13840 > >>>> make world > >>>> ... failed approx or maybe as below I recall: > >>>> =3D20 > >>>> cat .svn_revision # 342545 > >>>> cat .ctm_status # src-cur 13841 > >>>> make buildworld > >>>> =3D20 > >>>> c++ -O2 -pipe -DBERKLIX=3D3DYES =3D > >>> -I/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libclang =3D > >>> -I/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvm =3D > >>> -I/usr/src/contrib/llvm/tools/clang/lib/Basic =3D > >>> -I/usr/src/contrib/llvm/tools/clang/lib/Driver =3D > >>> -I/usr/src/contrib/llvm/tools/clang/include = > -I/usr/src/lib/clang/include =3D > >>> -I/usr/src/contrib/llvm/include -DLLVM_BUILD_GLOBAL_ISEL =3D > >>> -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS =3D > >>> -DLLVM_DEFAULT_TARGET_TRIPLE=3D3D\"x86_64-unknown-freebsd13.0\" =3D > >>> -DLLVM_HOST_TRIPLE=3D3D\"x86_64-unknown-freebsd13.0\" =3D > >>> -DDEFAULT_SYSROOT=3D3D\"/usr/obj/usr/src/amd64.amd64/tmp\" =3D > >>> -DLLVM_TARGET_ENABLE_X86 =3D > >>> -DLLVM_NATIVE_ASMPARSER=3D3DLLVMInitializeX86AsmParser =3D > >>> -DLLVM_NATIVE_ASMPRINTER=3D3DLLVMInitializeX86AsmPrinter =3D > >>> -DLLVM_NATIVE_DISASSEMBLER=3D3DLLVMInitializeX86Disassembler =3D > >>> -DLLVM_NATIVE_TARGET=3D3DLLVMInitializeX86Target =3D > >>> -DLLVM_NATIVE_TARGETINFO=3D3DLLVMInitializeX86TargetInfo =3D > >>> -DLLVM_NATIVE_TARGETMC=3D3DLLVMInitializeX86TargetMC = > -ffunction-sections =3D > >>> -fdata-sections -gline-tables-only -MD -MF.de! > >>>> pend.Basic_SourceManager.o -MTBasic/SourceManager.o = > -Qunused-arguments =3D > >>> -I/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include -std=3D3Dc++11 = > =3D > >>> -fno-exceptions -fno-rtti -gline-tables-only -stdlib=3D3Dlibc++ =3D > >>> -Wno-c++11-extensions -c =3D > >>> /usr/src/contrib/llvm/tools/clang/lib/Basic/SourceManager.cpp -o =3D > >>> Basic/SourceManager.o > >>>> = > /usr/src/contrib/llvm/tools/clang/lib/Basic/SourceManager.cpp:1196:10: =3D= > > >>> fatal error: > >>>> 'emmintrin.h' file not found > >>>> #include > >>>> ^~~~~~~~~~~~~ > >>>> 1 error generated. > >>>> *** Error code 1 > >>>> =3D20 > >>>> Stop. > >>>> bmake[4]: stopped in /usr/src/lib/clang/libclang > > Most likely, your host compiler is missing required intrinsics headers. > These are located under /usr/lib/clang/x.y.z/include, where x.y.z is the > compiler version. If they are missing, you might want to restore the > files from backup, or extract them from a release or snapshot tarball. > > -Dimitry Thanks Dimitry clang -v FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin cd /usr/lib/clang ; ls 7.0.1/ dmesg FreeBSD 13.0-CURRENT JHS_Lapr amd64 FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) So my current box has a mismatch. My other current box is normaly older, so I turned on to copy 6.0.1 libs & found a newer & consistent current: clang -v FreeBSD clang version 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM 7.0.1) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin dmesg: FreeBSD clang version 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM 7.0.1) cd /usr/bin; ls -l Dec 20 So I'm checking the newer current box with make all, then will do a cross host recovery to the inconsistent older box. Thanks Enji & Dimitry Cheers, Julian -- Julian Stacey, Computer Consultant Sys.Eng. BSD Linux Unix, Munich Aachen Kent First referendum stole 700,000 votes from Brits in EU; 3,700,000 globaly. Lies criminal funded; jobs pound & markets down. 1.9M new voters 1.3M dead. Email MP: "A new referendum will buy UK & EU more time (Art 50.3), to avoid a hard crash, & consider all options." http://berklix.org/brexit/#mp