This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap failure in sparc-sun-solaris2.10
> Even with the patch listed in the bug report below my bootstrap would
> still fail when the compiler tries to build libgcc.
>
> The bug report for the bootstrap failure is here:
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37424
That patch is not the fix, this is explained in the audit trail. The fix is
2008-09-11 Jeff Law <law@redhat.com>
* reload1.c (alter_reg): Undo the BYTE_BIG_ENDIAN correction performed
by assign_stack_local on the IRA path for stack slot sharing
as well as the non-IRA path.
> The build failed while building libgcc - the code would trip up on an
> assert in haifa-sched.c, similar to the message posted here, though now
> the assert is on line 2318:
>
> http://gcc.gnu.org/ml/gcc/2008-09/msg00106.html
>
> Applying the patch Adam created and posted in the message below resolved
> the issue and the compiler successfully bootstrapped:
>
> http://gcc.gnu.org/ml/gcc/2008-09/msg00139.html
Thanks for reporting this. I now can close PR 37424.
> There was one reply to this message; I don't know if the patch is being
> reworked or been formally submitted yet, but it did fix my build.
OK, I'll take a look.
--
Eric Botcazou