This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: is re-running bootstrap after a change safe?
- From: Jeff Law <law at redhat dot com>
- To: Eric Botcazou <ebotcazou at adacore dot com>, Martin Sebor <msebor at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 5 Apr 2019 15:29:44 -0600
- Subject: Re: is re-running bootstrap after a change safe?
- References: <52db8781-a1f8-5fe1-7e05-ba3f984d9825@gmail.com> <2209859.RYDReTFH8C@polaris>
On 4/5/19 2:50 PM, Eric Botcazou wrote:
>> Say if the first bootstrap succeeds and I then change a single
>> GCC .c file and rerun make bootstrap, am I guaranteed to see
>> the same fallout of the change as I would if I did a pristine
>> build in a clean directory?
>
> No, this would imply deleting the stage2 and stage3 compilers and that isn't
> what happens. Instead the compiler of each stage is updated in isolation.
>
RIght. Thus I always blow away stage2-* stage3-*, and stage1 target
directories along with the "compare" stamp file.
Jeff