C++, the time needed for it to build itself has just been absolutely horrendous. And it gets worse with each
new release, for some reason.
Noticing that the ebuild for gcc-12.3.0 got dropped with little
explanation. It is the upstream stable release. I am eyeballing
#906310 as what may have triggered the drop, but I find it a bit of a
stretch that an upstream stable release got dropped over a single,
optional package that has a history of quirky behavior (FWIW, I never
had luck with ccache, especially on MIPS).
Under qemu, it takes about 4 hours to build the single-ABI variant of
gcc and 7 hours for the multilib variant. So I avoid rebuilding the
compiler as much as possible, as with six chroots, that's virtually an
entire day across all six just for gcc, minus distractions (seriously,
the build times on gcc are getting waaaaaaay out of hand, regardless
of arch).
Noticing that the ebuild for gcc-12.3.0 got dropped with little explanation. It is the upstream stable
release. I am eyeballing #906310 as what may have triggered the drop, but I find it a bit of a stretch ...
On Thu, Jun 15, 2023 at 12:02 AM Joshua Kinard <kumba@gentoo.org> wrote:
Options? I mean, if anyone knows magic to make gcc build faster, I
am all ears, but ever since the switch to
C++, the time needed for it to build itself has just been absolutely horrendous. And it gets worse with each
new release, for some reason.
EXTRA_ECONF=--disable-bootstrap
See https://bugs.gentoo.org/705406#c1
Joshua Kinard <kumba@gentoo.org> writes:
Noticing that the ebuild for gcc-12.3.0 got dropped with little
explanation. It is the upstream stable release. I am eyeballing
#906310 as what may have triggered the drop, but I find it a bit of a
stretch that an upstream stable release got dropped over a single,
optional package that has a history of quirky behavior (FWIW, I never
had luck with ccache, especially on MIPS).
Please see https://bugs.gentoo.org/908258. There were miscompilations
even fixed after 12.3.0 was tagged.
(Also, ccache really isn't a "package with quirky behaviour" in terms of whether or not it causes gcc to ICE. It has nothing to do with what
ccache itself does at runtime.)
Under qemu, it takes about 4 hours to build the single-ABI variant of
gcc and 7 hours for the multilib variant. So I avoid rebuilding the
compiler as much as possible, as with six chroots, that's virtually an
entire day across all six just for gcc, minus distractions (seriously,
the build times on gcc are getting waaaaaaay out of hand, regardless
of arch).
It should get a bit better as of recent 13 as we backported a change
to help parallel builds at least (and reduce resource consumption).
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 93:57:42 |
Calls: | 6,697 |
Calls today: | 2 |
Files: | 12,232 |
Messages: | 5,348,923 |