--- Begin Message ---
Subject: |
Go compiler refers to multiple versions of GCC |
Date: |
Mon, 18 Mar 2019 16:20:13 -0400 |
User-agent: |
Mutt/1.11.3 (2019-02-01) |
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.
--- End Message ---
--- Begin Message ---
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)
--- End Message ---