On Wed, Jul 13, 2011 at 11:50 AM, H.J. Lu <hjl.to...@gmail.com> wrote: > On Wed, Jul 13, 2011 at 10:12 AM, Rainer Orth > <r...@cebitec.uni-bielefeld.de> wrote: >> Richard Henderson <r...@redhat.com> writes: >> >>> On 07/13/2011 09:57 AM, Rainer Orth wrote: >>>> Do you think the revised crtfastmath patch is safe enough to commit >>>> together to avoid this mess? >>> >>> Probably. >> >> Ok. I'll will take this on me to get us out of this mess. It has >> survived i386-pc-solaris2.11, sparc-sun-solaris2.11, >> x86_64-unknown-linux-gnu, and i386-apple-darwin9.8.0 bootstraps, so the >> risk seems acceptable. >> >>>> +# -frandom-seed is necessary to keep the mangled name of the constructor >>>> on >>>> +# Tru64 Unix stable, but harmless otherwise. >>> >>> Instead of implying permanent stability, I'd mention bootstrap comparison >>> failures specifically. >> >> Ok, will do. > > I think your patch caused: > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49739 >
I am checking in this patch from Rainer if it bootstraps on Linux/ia32. -- H.J. --- Index: config.gcc =================================================================== --- config.gcc (revision 176260) +++ config.gcc (working copy) @@ -1304,6 +1304,9 @@ i[34567]86-*-linux* | i[34567]86-*-kfree esac else tm_file="${tm_file} i386/gnu-user.h i386/linux.h" + # This is a hack to avoid a configuration mismatch + # until the toplevel libgcc move is complete. + extra_parts="${extra_parts} crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" fi ;; i[34567]86-*-knetbsd*-gnu) tm_file="${tm_file} i386/gnu-user.h knetbsd-gnu.h i386/knetbsd-gnu.h" ;;