Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jul 2019 23:21:08 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        mike tancsa <mike@sentex.net>
Cc:        freebsd-stable@freebsd.org
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...)
Message-ID:  <C9E884D6-0FA1-4F3B-A3C5-3ECD2E01FD0F@FreeBSD.org>
In-Reply-To: <801c0dd8-7a50-d93f-77f6-999aaa91a295@sentex.net>
References:  <201907231840.x6NIeWeq024894@repo.freebsd.org> <b085970b-4e20-6802-182a-c6c976b4fc05@sentex.net> <0CB72C19-405C-41F0-8967-96F363228ED6@FreeBSD.org> <f428eb69-ae82-2255-19ce-3b81e8c68f6e@sentex.net> <8373E39A-46E7-41AB-BC1F-8CDF65F47287@FreeBSD.org> <b07742fd-2d3a-3ada-7066-6e5762e64473@sentex.net> <801c0dd8-7a50-d93f-77f6-999aaa91a295@sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_505C1569-AB6B-45EF-BF74-58E3B3385237
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii

On 24 Jul 2019, at 22:56, mike tancsa <mike@sentex.net> wrote:
> 
> On 7/24/2019 1:21 PM, mike tancsa wrote:
>> On 7/24/2019 12:02 PM, Dimitry Andric wrote:
...
>> # cat /etc/src.conf /etc/make.conf
>> MK_SYSTEM_COMPILER=no
>> MK_SYSTEM_LINKER=no
>> KERNCONF=server
>> MK_SYSTEM_COMPILER=no
>> MK_SYSTEM_LINKER=no
> 
> Hmmm, is the logic reversed somehow ?  The good news is if nothing is
> defined, it does the right thing.

The idea is that the default is to *not* bootstrap the compiler, if the
system compiler is new enough.  E.g. if you build r350256 from a system
built before r350256, it will normally automatically bootstrap
everything.

E.g., your previous builds did not have to bootstrap, and now they do,
which is why they take longer.

So the only good way to compare is to force MK_SYSTEM_COMPILER=yes and
MK_SYSTEM_LINKER=yes, so both buildworlds will do the same thing.

I did a few tests on a relatively fast machine, and buildworld with
those settings on took approximately the same time at r350255 and
r350256.  I'm now repeating those experiments to feed the results to
ministat.

-Dimitry


--Apple-Mail=_505C1569-AB6B-45EF-BF74-58E3B3385237
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

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXTjLxAAKCRCwXqMKLiCW
o5eJAJ9AzKo5AkgsIusI2vHzbXqcCEw20wCgir2Ow1kFNRpR2MZsiN+Lo1MajB4=
=T8cf
-----END PGP SIGNATURE-----

--Apple-Mail=_505C1569-AB6B-45EF-BF74-58E3B3385237--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C9E884D6-0FA1-4F3B-A3C5-3ECD2E01FD0F>