From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56682) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eq7Of-0003v8-FE for guix-patches@gnu.org; Sun, 25 Feb 2018 20:16:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eq7Oc-00027Z-7H for guix-patches@gnu.org; Sun, 25 Feb 2018 20:16:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:52913) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eq7Oc-00027S-36 for guix-patches@gnu.org; Sun, 25 Feb 2018 20:16:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eq7Ob-0000mX-Qi for guix-patches@gnu.org; Sun, 25 Feb 2018 20:16:01 -0500 Subject: [bug#30579] Go 1.10 Resent-Message-ID: From: Marius Bakke In-Reply-To: <20180222182503.GA369@jasmine.lan> References: <20180222182503.GA369@jasmine.lan> Date: Mon, 26 Feb 2018 02:15:19 +0100 Message-ID: <87bmgcwnyw.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Leo Famulari , 30579@debbugs.gnu.org --=-=-= Content-Type: text/plain Leo Famulari writes: > This patch adds Go 1.10 but leaves Go 1.9 as the default Go. > > Go 1.10 changes the way that Go decides whether to re-use built objects > or to recompile them [0]. Reading the release notes, it seems to > implement something like a memoized cache for built objects and test > results. > > Go 1.10 works with our go-build-system, but the built objects are not > re-used. Instead, either most or all required objects are rebuilt, so > the build system will need some adjustment. > > I think it's useful to have this new version of Go packaged, especially > if somebody wants to decipher how the new compiler decides when to > re-use the built objects :) Definitely. Thanks for working on it! :-) > > Also, there is a data race found in the test suite when bootstrapping > with GCC 5, so this patch changes the entire Go stack to GCC 6. I'll > send a report upstream. > > [0] The "build cache" is mentioned in the link below. The mechanism is > called "content-based staleness" in some places. > https://golang.org/doc/go1.10#build --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlqTX6cACgkQoqBt8qM6 VPpFRQgAonRP4BQO10tdsxxUMkloOOPcnd2tAJozZjL5wluZCF8Rumyq1xd7nf6h Eh4FPozOe5wmDW09apiZESh7wqy5KiDgS37c3TkD8vCXp5dhe1ol0iPFyJjl/z1J JGc82nmY8/l+UzuiR7RaWB45SX2DCTVXG31cbbEr6IpiEl4lMEhOB3K3a3NDvtrI Crb5BLKvhXTqjAajpWOgxJG3JU+0RiRXV/+ltXs9ChS1zG3tBAYSroFRbsnny+uB 4aJdoTepvOUJG2b83GWvsRDggaeGcXGVWUOSseR5cOwFqVucimB7W8DU1bSzgods /D9b+kYOB7dlW6LYI9YZ/0DEDAl0Rg== =+RE8 -----END PGP SIGNATURE----- --=-=-=--