Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 473342 - sys-devel/gcc: Allow 3 stage bootstrapping to be disabled
Summary: sys-devel/gcc: Allow 3 stage bootstrapping to be disabled
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-15 06:16 UTC by Raymond Jennings
Modified: 2023-09-28 11:00 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raymond Jennings 2013-06-15 06:16:43 UTC
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
Comment 1 Raymond Jennings 2013-06-15 06:17:55 UTC
Just of note:  disabling bootstrap is supported by upstream gcc.
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2013-06-15 18:06:59 UTC
That's why we use GCC_MAKE_TARGET rather than hardcoding it:

GCC_MAKE_TARGET="all" EXTRA_ECONF="--disable-bootstrap" emerge -av gcc
Comment 3 Raymond Jennings 2013-06-15 18:41:33 UTC
Thanks for documenting this.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-28 11:00:37 UTC
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>