From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#34907: Go compiler refers to multiple versions of GCC Date: Mon, 18 Mar 2019 16:20:13 -0400 Message-ID: <20190318202013.GC5501@jasmine.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([209.51.188.92]:54163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5ykp-0006qx-N1 for bug-guix@gnu.org; Mon, 18 Mar 2019 16:21:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5yko-00039f-HU for bug-guix@gnu.org; Mon, 18 Mar 2019 16:21:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35693) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h5yko-00039C-5y for bug-guix@gnu.org; Mon, 18 Mar 2019 16:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h5ykn-0004w7-Tv for bug-guix@gnu.org; Mon, 18 Mar 2019 16:21:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:54038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5yk5-0006bB-43 for bug-guix@gnu.org; Mon, 18 Mar 2019 16:20:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5yk4-0002ju-F8 for bug-guix@gnu.org; Mon, 18 Mar 2019 16:20:17 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:49633) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h5yk4-0002ji-0x for bug-guix@gnu.org; Mon, 18 Mar 2019 16:20:16 -0400 Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id 89A5FE4210 for ; Mon, 18 Mar 2019 16:20:14 -0400 (EDT) Content-Disposition: inline List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 34907@debbugs.gnu.org As seen in this example, the Go compilers are keeping references to both GCC 5 and 6, which seems wrong: ------ $ guix gc --references $(guix build --no-grafts go) /gnu/store/dna8kpb00kq176rz8x69yy4j33my2q55-perl-5.28.0 /gnu/store/5s2nib1lrd2101bbrivcl17kjx1mspw6-coreutils-8.30 /gnu/store/9mb1npi8xg8yi0swjf91p5n1qn3n315v-go-1.11.5 /gnu/store/dna8kpb00kq176rz8x69yy4j33my2q55-perl-5.28.0 /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28 /gnu/store/izyk3kppj42pa8i2cq29bw3bnr1607ps-tzdata-2018i /gnu/store/n2p1zs14y89lwkg9da68y12pc10c6sw9-gcc-5.5.0 /gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23 /gnu/store/sj8m05bfj2902h67c4qkmvnzg2pjdgsv-net-base-5.3 /gnu/store/ypiv8dj4lkvsnm82s639h18l87frrh5g-gcc-6.5.0-lib /gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23 ------ This is because libgcc 6 is specifically included in the Go dependencies, but parts of GCC 5 come from gnu-build-system by default. We should make the Go compilers use a single GCC version.