Emerging `gcc`, there is no check for free disk space. Countless hours were spent emerging to find that I didn't have enough free disk space. This could have been avoided with a simple check for available space before emerging the package. Other compiler ebuilds, such as the one for `rust`, provide this. It needs to be implemented on the GCC ebuild as well. Suggestion: Just copy the relevant portion from the `rust` ebuild file to the `gcc` ebuild file and change the free disk space requirement from 11 GB to 4 GB.
See also https://bugs.gentoo.org/816792.
*** Bug 816792 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 526986 ***