From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eovZF-0003ls-TK for guix-patches@gnu.org; Thu, 22 Feb 2018 13:26:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eovZC-0006kM-PG for guix-patches@gnu.org; Thu, 22 Feb 2018 13:26:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:48902) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eovZC-0006kA-L3 for guix-patches@gnu.org; Thu, 22 Feb 2018 13:26:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eovZC-0005HI-Cx for guix-patches@gnu.org; Thu, 22 Feb 2018 13:26:02 -0500 Subject: [bug#30579] Go 1.10 Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eovYP-0003cC-1f for guix-patches@gnu.org; Thu, 22 Feb 2018 13:25:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eovYK-0005pQ-21 for guix-patches@gnu.org; Thu, 22 Feb 2018 13:25:13 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:47353) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eovYJ-0005lb-S7 for guix-patches@gnu.org; Thu, 22 Feb 2018 13:25:07 -0500 Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id 3E7A27E4A8 for ; Thu, 22 Feb 2018 13:25:05 -0500 (EST) Date: Thu, 22 Feb 2018 13:25:03 -0500 From: Leo Famulari Message-ID: <20180222182503.GA369@jasmine.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="MGYHOYXEY6WxJCY8" Content-Disposition: inline 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: 30579@debbugs.gnu.org --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 :) 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 --MGYHOYXEY6WxJCY8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlqPCvwACgkQJkb6MLrK fwj/OQ//X/71h5TdRypsVCGwsw8qmy7uCPpjUmzx5CvEnKjLdhj+l6V0L3+3e79L jXGJ9hMBmNCIWymril+BKhnhLiJIyX0bob0cmZ1dDeKvTWvrJ/V682KRuGZOMHzD HMUoKqhOIFLYDdcpF1BlahdPSu0j9iucZtFdZsYK4alS1POl65U9Np0ZvPG8XP/6 eiYSbkXM2Z9hzUvHCxGBt/qaooGpWkfjBujvFgneCy8YdTcv1w4M71/1tgfgmGKD ic6KZeDlWPWm9ul18Lhe6unMqlGBC9tAWfeWD0JZeMx+SQoOWiwsVRQ7zu9iTHpv Jp5QRKcBzUglIw2MUeTk5WdF/jxhaAQTEO9SQHbbvxR8rFD/TuQxJxLap84eAIYV 6KU/EDkP425kZ38uJuIqN3aWw0YVojMVcF3UUtJp8im46OK80fk1W0oOFgDcwGBY YKHqEJCAghpSfFdVfSPbjBHfvoGo/HhAOxyXex+kCpWNqHIs8it4GeS1sqdNuQPC BDrnhjWbsnAy948XEkfZOnbB0esoPs3IaDWltwh8WqU2BvlwRzJceX2sYVBCODVu Zm+H1VG9w8dWDdHf+7NP+O9ke8Uy11w4iazODUvC4FPur515ucFEnbjXoDPsu9Wb DhLkhZ8jKX8thT5Pp+JzDfSPFBTay+2plbI4Ja7w6mDldtD+4lk= =jWpg -----END PGP SIGNATURE----- --MGYHOYXEY6WxJCY8--