* bug#34907: Go compiler refers to multiple versions of GCC
@ 2019-03-18 20:20 Leo Famulari
2019-03-19 8:59 ` Efraim Flashner
2020-06-10 16:19 ` Royce Strange
0 siblings, 2 replies; 4+ messages in thread
From: Leo Famulari @ 2019-03-18 20:20 UTC (permalink / raw)
To: 34907
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#34907: Go compiler refers to multiple versions of GCC
2019-03-18 20:20 bug#34907: Go compiler refers to multiple versions of GCC Leo Famulari
@ 2019-03-19 8:59 ` Efraim Flashner
2019-03-19 16:57 ` Leo Famulari
2020-06-10 16:19 ` Royce Strange
1 sibling, 1 reply; 4+ messages in thread
From: Efraim Flashner @ 2019-03-19 8:59 UTC (permalink / raw)
To: Leo Famulari; +Cc: 34907
[-- Attachment #1: Type: text/plain, Size: 1427 bytes --]
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@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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#34907: Go compiler refers to multiple versions of GCC
2019-03-19 8:59 ` Efraim Flashner
@ 2019-03-19 16:57 ` Leo Famulari
0 siblings, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2019-03-19 16:57 UTC (permalink / raw)
To: Efraim Flashner; +Cc: 34907
[-- Attachment #1: Type: text/plain, Size: 156 bytes --]
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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#34907: Go compiler refers to multiple versions of GCC
2019-03-18 20:20 bug#34907: Go compiler refers to multiple versions of GCC Leo Famulari
2019-03-19 8:59 ` Efraim Flashner
@ 2020-06-10 16:19 ` Royce Strange
1 sibling, 0 replies; 4+ messages in thread
From: Royce Strange @ 2020-06-10 16:19 UTC (permalink / raw)
To: 34907-done
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)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-06-10 16:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-18 20:20 bug#34907: Go compiler refers to multiple versions of GCC Leo Famulari
2019-03-19 8:59 ` Efraim Flashner
2019-03-19 16:57 ` Leo Famulari
2020-06-10 16:19 ` Royce Strange
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).