Bootstrapping triples compilation time. Allow it to be disabled, perhaps with a use flag or soemthing. Upstream suggested --disable-bootstrap in configure, but the ebuild choked. On further inspection I find that the toolchain eclass is forcing "bootstrap-lean" as a target. Reproducible: Always
Just of note: disabling bootstrap is supported by upstream gcc.
That's why we use GCC_MAKE_TARGET rather than hardcoding it: GCC_MAKE_TARGET="all" EXTRA_ECONF="--disable-bootstrap" emerge -av gcc
Thanks for documenting this.
See also: commit 1aa736843e87e105cbe479dd21dd09679dacfbaa Author: Sam James <sam@gentoo.org> Date: Mon Jun 6 08:45:36 2022 +0100 toolchain.eclass: allow forcefully disabling bootstrapping for development Users should *absolutely not* do this. It's just useful for quickly testing eclass changes. The resultant compiler may not be safe to use. Especially so if unusual flags and environment is used. Signed-off-by: Sam James <sam@gentoo.org>