From owner-freebsd-current@freebsd.org Sat May 9 11:51:33 2020 Return-Path: Delivered-To: freebsd-current@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 64E452E635E for ; Sat, 9 May 2020 11:51:33 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49K5Bs0sDSz4fnx for ; Sat, 9 May 2020 11:51:33 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: by mailman.nyi.freebsd.org (Postfix) id 1D6B52E635D; Sat, 9 May 2020 11:51:33 +0000 (UTC) Delivered-To: current@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 1D33C2E635C for ; Sat, 9 May 2020 11:51:33 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49K5Br1VjWz4fnn for ; Sat, 9 May 2020 11:51:31 +0000 (UTC) (envelope-from roberthuff@rcn.com) DKIM-Signature: v=1; a=rsa-sha1; d=rcn.com; s=20180516; c=relaxed/simple; q=dns/txt; i=@rcn.com; t=1589025090; h=From:Subject:Date:To:MIME-Version:Content-Type; bh=7zA4ioYlYdIdPuLnd9OFxvS/EAY=; b=g97V3ryMGyaHdy99gnTrnsIou/gJ4ExfC0/a54QOP+4dHSRCx0WVGrW1IsEnO5jK uikaJcwLmT5IdPcNxUsXxxLznM+rcu1hIEOjRgaIQlPi4TOln79Wk3DG65wyUV4q QIYZ5bQQ3xsJMtyr5Uyx9UuwEqfeO6hIzQWbDHrK+WAFLUUv/lGtILLAPUs2kZJX tC2TaS79FMNWVpxrQ08cuQ9mj5UbzkxEQOyYmQDgWLS7+PCRfEpN8mfxq8opuZs5 7aY4DuNo1VcJxZmGzs2uKmKjQY0fMnh7kNVNcpAzIdomw17MxC4xCAI81ck0ljQz qyVjUW7XIqP3+GyKCmJDHQ==; X_CMAE_Category: , , X-CNFS-Analysis: v=2.3 cv=F/kpiZpN c=1 sm=1 tr=0 a=9TgA2UwI6Wy+6BV4wQM/cQ==:117 a=9TgA2UwI6Wy+6BV4wQM/cQ==:17 a=KGjhK52YXX0A:10 a=kj9zAlcOel0A:10 a=XRQyMpdBKAEA:10 a=sTwFKg_x9MkA:10 a=48faUk6PgeAA:10 a=efXzQgPE_lsbtnV2nLsA:9 a=CjuIK1q_8ugA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: cm9iZXJ0aHVmZkByY24uY29t Received: from [209.6.230.48] ([209.6.230.48:63280] helo=jerusalem.litteratus.org.litteratus.org) by smtp.rcn.com (envelope-from ) (ecelerity 3.6.25.56547 r(Core:3.6.25.0)) with ESMTPSA (cipher=AES256-GCM-SHA384) id C2/4F-51190-24996BE5; Sat, 09 May 2020 07:51:30 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <24246.39233.870089.343027@jerusalem.litteratus.org> Date: Sat, 9 May 2020 07:51:29 -0400 From: Robert Huff To: Dimitry Andric Cc: Robert Huff , current@freebsd.org Subject: Re: "make buildworld" fails for r360785? In-Reply-To: References: <24244.52698.726479.288103@jerusalem.litteratus.org> <849835c13cac7bb6ce9f6e13eaa3b589@udns.ultimatedns.net> <24246.7948.924564.999680@jerusalem.litteratus.org> X-Mailer: VM 8.2.0b under 26.3 (amd64-portbld-freebsd13.0) X-Rspamd-Queue-Id: 49K5Br1VjWz4fnn X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=rcn.com header.s=20180516 header.b=g97V3ryM; dmarc=pass (policy=none) header.from=rcn.com; spf=pass (mx1.freebsd.org: domain of roberthuff@rcn.com designates 69.168.97.78 as permitted sender) smtp.mailfrom=roberthuff@rcn.com X-Spamd-Result: default: False [-4.65 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[rcn.com:s=20180516]; RWL_MAILSPIKE_POSSIBLE(0.00)[78.97.168.69.rep.mailspike.net : 127.0.0.17]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:69.168.97.0/24]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-1.55)[ip: (-9.06), ipnet: 69.168.97.0/24(0.63), asn: 36271(0.71), country: US(-0.05)]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; DWL_DNSWL_LOW(-1.00)[rcn.com.dwl.dnswl.org : 127.0.5.1]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[rcn.com:+]; DMARC_POLICY_ALLOW(-0.50)[rcn.com,none]; RCVD_IN_DNSWL_LOW(-0.10)[78.97.168.69.list.dnswl.org : 127.0.5.1]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:36271, ipnet:69.168.97.0/24, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.32 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: Sat, 09 May 2020 11:51:33 -0000 Dimitry Andric writes: > >>>> /usr/src/contrib/llvm-project/clang/lib/Basic/SourceManager.cpp:1228:10: > >>>> fatal error: 'emmintrin.h' file not found > >>>> #include > >>>> ^~~~~~~~~~~~~ > ... > > In file included from /usr/src/contrib/llvm-project/clang/lib/Basic/SourceManager.cpp:1228: > > In file included from /usr/include/emmintrin.h:13: > > /usr/include/xmmintrin.h:27:10: fatal error: 'mm_malloc.h' file not found > > #include > > ^~~~~~~~~~~~~ > > 1 error generated. > > *** Error code 1 > > During which stage of buildworld is this? If it is during the > cross-tools stage, your host environment is busted somehow. That is the latest stage listed by the complete build log. (Which I can make available if it's useful.) The only complaint I see is two lines at the top of the log: make[1]: "/usr/src/Makefile.inc1" line 325: SYSTEM_COMPILER: libclang will be built for bootstrapping a cross-compiler. make[1]: "/usr/src/Makefile.inc1" line 330: SYSTEM_LINKER: libclang will be built for bootstrapping a cross-linker. Makefile.inc1 was downloaded with the fresh source tree, and I have already posted make.conf and src.conf. I am not sure what else could be broken, nor how to diagnose it. > This appears to happen to some people on this list, for unknown reasons. > My guess is they either run "make delete-old" before running buildworld > (which is the wrong order!), I did recently run "delete-old" ... but only as directed by the official documentation. But ... let's say that somehow happened. How do I recover? Is there a bootstrap process? > or have done an earlier buildworld where > they explicitly disabled clang, so the intrinsics headers never get > installed. Other than a custom kernel config file, I don't touch the system build process. Respectfully, Robert Huff