GNU bug report logs - #34907
Go compiler refers to multiple versions of GCC

Previous Next

Package: guix;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Mon, 18 Mar 2019 20:21:01 UTC

Severity: normal

Done: Royce Strange <royball <at> disroot.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 34907 in the body.
You can then email your comments to 34907 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#34907; Package guix. (Mon, 18 Mar 2019 20:21:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Famulari <leo <at> famulari.name>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 18 Mar 2019 20:21:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: bug-guix <at> gnu.org
Subject: Go compiler refers to multiple versions of GCC
Date: Mon, 18 Mar 2019 16:20:13 -0400
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.




Information forwarded to bug-guix <at> gnu.org:
bug#34907; Package guix. (Tue, 19 Mar 2019 09:00:02 GMT) Full text and rfc822 format available.

Message #8 received at 34907 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Leo Famulari <leo <at> famulari.name>
Cc: 34907 <at> debbugs.gnu.org
Subject: Re: bug#34907: Go compiler refers to multiple versions of GCC
Date: Tue, 19 Mar 2019 10:59:02 +0200
[Message part 1 (text/plain, inline)]
On Mon, Mar 18, 2019 at 04:20:13PM -0400, Leo Famulari wrote:
> 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.
> 

Does this get fixed on core-updates when we switch to gcc-7 by default?

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#34907; Package guix. (Tue, 19 Mar 2019 16:58:02 GMT) Full text and rfc822 format available.

Message #11 received at 34907 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 34907 <at> debbugs.gnu.org
Subject: Re: bug#34907: Go compiler refers to multiple versions of GCC
Date: Tue, 19 Mar 2019 12:57:16 -0400
[Message part 1 (text/plain, inline)]
On Tue, Mar 19, 2019 at 10:59:02AM +0200, Efraim Flashner wrote:
> Does this get fixed on core-updates when we switch to gcc-7 by default?

Yes, it should.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Royce Strange <royball <at> disroot.org>:
You have taken responsibility. (Wed, 10 Jun 2020 16:20:01 GMT) Full text and rfc822 format available.

Notification sent to Leo Famulari <leo <at> famulari.name>:
bug acknowledged by developer. (Wed, 10 Jun 2020 16:20:01 GMT) Full text and rfc822 format available.

Message #16 received at 34907-done <at> debbugs.gnu.org (full text, mbox):

From: Royce Strange <royball <at> disroot.org>
To: 34907-done <at> debbugs.gnu.org
Subject: Go compiler refers to multiple versions of GCC
Date: Wed, 10 Jun 2020 11:19:23 -0500
Hello.

It has been a while and I believe that the core-updates 
from that time got merged.
The go compiler no longer appears to refer to multiple versions of GCC.

------
$ guix --version
guix (GNU Guix) 2971ed57345ee4e00058efeaf27c6a0790fdc9dd

$ guix gc --references $(guix build --no-grafts go)
/gnu/store/57xj5gcy1jbl9ai2lnrqnpr0dald9i65-coreutils-8.32
/gnu/store/8mgy1zpcsg5hnkgdar0vrkqpssw87fay-tzdata-2019c
/gnu/store/8zvc5mvk0xm3ygrxsgpyy5ilxb5rzjry-perl-5.30.2
/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31
/gnu/store/mdxmdhrlkgdik6ay9pzmmy8mjcbibpwb-gcc-7.5.0-lib
/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16
/gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0
/gnu/store/w8gjhcw6a16rk1dvxa97bz2znal5fihm-go-1.13.9
/gnu/store/zfbbn61ij7w0bl4wbrwi87x5ghqx968c-net-base-5.3
/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16
------

Going to go ahead and close.
(note: there is bug#39400 to look into why go retains a reference to GCC)




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 09 Jul 2020 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 288 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.