Re: [build] Move crtfastmath to toplevel libgcc

2011-07-18 Thread Richard Henderson
On 07/15/2011 06:56 AM, Rainer Orth wrote: > 2011-07-14 Rainer Orth > > gcc: > * config.gcc (alpha*-*-linux*): Add crtfastmath.o to extra_parts. > (alpha*-*-freebsd*): Likewise. > (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu, > i[34567]86-*-knetbsd*-gnu, i[3456

Re: [build] Move crtfastmath to toplevel libgcc

2011-07-18 Thread Steve Ellcey
On Mon, 2011-07-18 at 13:16 +0200, Rainer Orth wrote: > Unfortunately, nobody reviewed the patch. There's now also PR > bootstrap/49769 for Linux/SPARC. > Rainer I tested the patch on IA64 Linux and verified that it fixed that bootstrap. I can approve the IA64 part of the patch. Perhap

Re: [build] Move crtfastmath to toplevel libgcc

2011-07-18 Thread Rainer Orth
Rainer Orth writes: > I think the following patch should fix all broken targets. For those > that previously had crtfastmath.o in EXTRA_PARTS, I'm adding it to > config.gcc (extra_parts) explicitly. > > The non-Linux x86 glibc targets were missed before. I move the > extra_parts addition down s

Re: [build] Move crtfastmath to toplevel libgcc

2011-07-15 Thread Rainer Orth
Uros Bizjak writes: > Alpha needs the same fix. I need following patch to bootstrap the compiler: > > --cut here-- > Index: gcc/config.gcc > === > --- gcc/config.gcc(revision 176282) > +++ gcc/config.gcc(working copy) > @@ -7

Re: [build] Move crtfastmath to toplevel libgcc

2011-07-14 Thread Uros Bizjak
On Thu, Jul 14, 2011 at 12:09 PM, Rainer Orth wrote: > Andreas Schwab writes: > >> Same on ia64: >> >> Configuration mismatch! >> Extra parts from gcc directory: crtbegin.o crtbeginS.o crtend.o crtendS.o >> Extra parts from libgcc: crtbegin.o crtend.o crtbeginS.o crtendS.o >> crtfastmath.o Alph

Re: [build] Move crtfastmath to toplevel libgcc

2011-07-14 Thread Rainer Orth
Andreas Schwab writes: > Same on ia64: > > Configuration mismatch! > Extra parts from gcc directory: crtbegin.o crtbeginS.o crtend.o crtendS.o > Extra parts from libgcc: crtbegin.o crtend.o crtbeginS.o crtendS.o > crtfastmath.o I believe you need the following patch. As one of my next tasks, I

Re: [build] Move crtfastmath to toplevel libgcc

2011-07-14 Thread Andreas Schwab
"H.J. Lu" writes: > On Wed, Jul 13, 2011 at 10:12 AM, Rainer Orth > wrote: >> Richard Henderson 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

Re: [build] Move crtfastmath to toplevel libgcc

2011-07-13 Thread H.J. Lu
On Wed, Jul 13, 2011 at 11:50 AM, H.J. Lu wrote: > On Wed, Jul 13, 2011 at 10:12 AM, Rainer Orth > wrote: >> Richard Henderson 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? >>>

Re: [build] Move crtfastmath to toplevel libgcc

2011-07-13 Thread H.J. Lu
On Wed, Jul 13, 2011 at 10:12 AM, Rainer Orth wrote: > Richard Henderson 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 ou

Re: [build] Move crtfastmath to toplevel libgcc

2011-07-13 Thread Rainer Orth
Richard Henderson 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-s

Re: [build] Move crtfastmath to toplevel libgcc

2011-07-13 Thread Richard Henderson
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. > +# -frandom-seed is necessary to keep the mangled name of the constructor on > +# Tru64 Unix stable, but harmless otherwise. Instead of impl

Re: [build] Move crtfastmath to toplevel libgcc

2011-07-13 Thread Rainer Orth
Richard Henderson writes: > On 07/11/2011 10:26 AM, Rainer Orth wrote: >> There's one other question here: alpha/t-crtfm uses >> -frandom-seed=gcc-crtfastmath with this comment: >> >> # FIXME drow/20061228 - I have preserved this -frandom-seed option >> # while migrating this rule from the GCC d

Re: [build] Move crtfastmath to toplevel libgcc

2011-07-11 Thread Richard Henderson
On 07/11/2011 10:26 AM, Rainer Orth wrote: > There's one other question here: alpha/t-crtfm uses > -frandom-seed=gcc-crtfastmath with this comment: > > # FIXME drow/20061228 - I have preserved this -frandom-seed option > # while migrating this rule from the GCC directory, but I do not > # know why

[build] Move crtfastmath to toplevel libgcc

2011-07-11 Thread Rainer Orth
Another low-hanging fruit in the toplevel libgcc move is crtfastmath. The following patch moves the various crtfastmath.c files over to libgcc and removes the remnants of the gcc side of the configuration. Unfortunately, one piece needs to stay behind: crtfastmath.o must remain in gcc/config/i386