From owner-freebsd-stable@freebsd.org Mon Jul 29 17:17:14 2019 Return-Path: Delivered-To: freebsd-stable@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 09812AFF35 for ; Mon, 29 Jul 2019 17:17:14 +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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D96C68BBFD; Mon, 29 Jul 2019 17:17:13 +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 "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id A08C813F7B; Mon, 29 Jul 2019 17:17:13 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:470:7a58::cc2a:eba2:8dac:de5f] (unknown [IPv6:2001:470:7a58:0:cc2a:eba2:8dac:de5f]) (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 721E63FA7B; Mon, 29 Jul 2019 19:17:11 +0200 (CEST) From: Dimitry Andric Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_F9992795-0781-4337-9DDC-DD1D8E679B06"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Buildworld times (was Re: svn commit: r350256 - in stable/12: . contrib/compiler-rt/lib/sanitizer_common contrib/libunwind/src contrib/llvm/lib/DebugInfo/DWARF contrib/llvm/lib/MC contrib/llvm/lib/Object contrib/llvm/lib/Ta...) Date: Mon, 29 Jul 2019 19:17:10 +0200 In-Reply-To: Cc: Jeremy Chadwick , freebsd-stable stable To: Ed Maste References: <20190727023830.GA53438@koitsu.org> X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: D96C68BBFD X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.971,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jul 2019 17:17:14 -0000 --Apple-Mail=_F9992795-0781-4337-9DDC-DD1D8E679B06 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 29 Jul 2019, at 03:07, Ed Maste wrote: >=20 > On Fri, 26 Jul 2019 at 22:44, Jeremy Chadwick via freebsd-stable > wrote: >>=20 >> TL;DR for lazy folks: >>=20 >> stable/11 r350330 world + minimal clang =3D 1:29:34 >> stable/11 r350330 world + full clang =3D 1:46:31 >> stable/11 r350252 world + minimal clang =3D 56:52 >> stable/11 r350252 world + full clang =3D 1:14:30 >=20 > Yes, because you're currently running r349226, and the world build > thus first builds its own toolchain. Try the same experiment running > on a r349226 or later installed world. Indeed, that is the most likely explanation. Unfortunately stable/11's Makefile.inc1 does not explicitly show that it is going to bootstrap the toolchain, like in head and stable/12, which show this right at the start of buildworld: --- buildworld --- make[1]: "/usr/src/Makefile.inc1" line 349: SYSTEM_COMPILER: libclang = will be built for bootstrapping a cross-compiler. make[1]: "/usr/src/Makefile.inc1" line 354: SYSTEM_LINKER: libclang will = be built for bootstrapping a cross-linker. --- buildworld_prologue --- Instead, you can only check for the *absence* of the following message: "Determined that CC=3Dxxx matches the source tree. Not bootstrapping a = cross-compiler." -Dimitry --Apple-Mail=_F9992795-0781-4337-9DDC-DD1D8E679B06 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 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXT8qFgAKCRCwXqMKLiCW o6pzAKCTLMpy+Jn2VjJBSLUNXVD45DMOLgCfVsIN2NRuP+pBRtcDnr4e1s+9LCY= =OLoE -----END PGP SIGNATURE----- --Apple-Mail=_F9992795-0781-4337-9DDC-DD1D8E679B06--