This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Status and rationale for toplevel bootstrap (was Re: Example of debugging GCC with toplevel bootstrap)
- From: Daniel Jacobowitz <drow at false dot org>
- To: Paolo Bonzini <paolo dot bonzini at lu dot unisi dot ch>
- Cc: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>, GCC Development <gcc at gcc dot gnu dot org>
- Date: Mon, 16 Jan 2006 08:52:07 -0500
- Subject: Re: Status and rationale for toplevel bootstrap (was Re: Example of debugging GCC with toplevel bootstrap)
- References: <10601161254.AA08239@vlsi1.ultra.nyu.edu> <43CB971B.60603@lu.unisi.ch>
On Mon, Jan 16, 2006 at 01:52:43PM +0100, Paolo Bonzini wrote:
> I can see how a compiler bug, that manifests as a miscompilation of the
> assembler, triggers a bootstrap failure if you also build the assembler
> three times, each time using the previous compiler *and* assembler.
For the record, this is non-hypothetical. It happened to me a few
weeks ago - if I'd been bootstrapping in a combined tree, stage1 gcc
would have miscompiled stage2 as which would have misassembled stage2
gcc.
--
Daniel Jacobowitz
CodeSourcery