Patchwork [rs6000] Preserve link stack for 476 cpus

login
register
mail settings
Submitter Peter Bergner
Date Nov. 2, 2011, 7:05 p.m.
Message ID <1320260721.2996.320.camel@otta>
Download mbox | patch
Permalink /patch/123315/
State New
Headers show

Comments

Peter Bergner - Nov. 2, 2011, 7:05 p.m.
On Wed, 2011-11-02 at 18:52 +0000, Iain Sandoe wrote:
> Hmm .. I wonder if this is just a temporary glitch because of the move  
> of files to libgcc.

Note that I just hit a problem with the libgcc move.  We need:

out from that...or my patch :(.


> I'll investigate a bit further later...

So you didn't start your build from scratch?  I'll keep my
fingers crossed that a fresh build fixing things for you.
Otherwise, let me know what you find.

Peter
Peter Bergner - Nov. 2, 2011, 7:45 p.m.
On Wed, 2011-11-02 at 14:05 -0500, Peter Bergner wrote:
> On Wed, 2011-11-02 at 18:52 +0000, Iain Sandoe wrote:
> > Hmm .. I wonder if this is just a temporary glitch because of the move  
> > of files to libgcc.
> 
> Note that I just hit a problem with the libgcc move.  We need:
> 
> Index: libgcc/config/rs6000/t-ppccomm
> ===================================================================
> --- libgcc/config/rs6000/t-ppccomm	(revision 180786)
> +++ libgcc/config/rs6000/t-ppccomm	(working copy)
> @@ -7,7 +7,7 @@ LIB2ADD_ST += \
>  	   $(srcdir)/config/rs6000/crtresfpr.S \
>  	   $(srcdir)/config/rs6000/crtsavgpr.S \
>  	   $(srcdir)/config/rs6000/crtresgpr.S \
> -	   $(srcdir)/config/rs6000/crtresxfpr.S 
> +	   $(srcdir)/config/rs6000/crtresxfpr.S \
>  	   $(srcdir)/config/rs6000/crtresxgpr.S \
>  	   $(srcdir)/config/rs6000/e500crtres32gpr.S \
>  	   $(srcdir)/config/rs6000/e500crtres64gpr.S \
> @@ -21,7 +21,7 @@ LIB2ADD_ST += \
>  	   $(srcdir)/config/rs6000/e500crtsav64gprctr.S \
>  	   $(srcdir)/config/rs6000/e500crtsavg32gpr.S \
>  	   $(srcdir)/config/rs6000/e500crtsavg64gpr.S \
> -	   $(srcdir)/config/rs6000/e500crtsavg64gprctr.S
> +	   $(srcdir)/config/rs6000/e500crtsavg64gprctr.S \
>  	   $(srcdir)/config/rs6000/eabi.S
> 
> I'm continuing my build to see if there's anything more that falls
> out from that...or my patch :(.

Hmmm, more fallout from the libgcc move.  I think I'm just going to
use an older checkout to test with until the libgcc fallout gets fixed.

...
xgcc: error: ecrti.S: No such file or directory
xgcc: fatal error: no input files
compilation terminated.
make[5]: *** [ecrti.o] Error 1
make[5]: Leaving directory
`/home/bergner/gcc/build/gcc-mainline-476-dje/powerpc64-linux/32/libgcc'
...


Peter
Rainer Orth - Nov. 3, 2011, 1:48 p.m.
Peter Bergner <bergner@vnet.ibm.com> writes:

> Hmmm, more fallout from the libgcc move.  I think I'm just going to
> use an older checkout to test with until the libgcc fallout gets fixed.
>
> ...
> xgcc: error: ecrti.S: No such file or directory
> xgcc: fatal error: no input files
> compilation terminated.
> make[5]: *** [ecrti.o] Error 1
> make[5]: Leaving directory
> `/home/bergner/gcc/build/gcc-mainline-476-dje/powerpc64-linux/32/libgcc'
> ...

I sent a patch for that one:

	http://gcc.gnu.org/ml/gcc-patches/2011-11/msg00300.html

plus Paolo's typo fix:

	http://gcc.gnu.org/ml/gcc-patches/2011-11/msg00302.html

	Rainer
Peter Bergner - Nov. 3, 2011, 2:13 p.m.
On Thu, 2011-11-03 at 14:48 +0100, Rainer Orth wrote:
> I sent a patch for that one:
> 
> 	http://gcc.gnu.org/ml/gcc-patches/2011-11/msg00300.html
> 
> plus Paolo's typo fix:
> 
> 	http://gcc.gnu.org/ml/gcc-patches/2011-11/msg00302.html

Thanks, I kicked off a bootstrap with those changes.  I'll let
you know how it goes.

Peter
Peter Bergner - Nov. 3, 2011, 3:12 p.m.
On Thu, 2011-11-03 at 09:13 -0500, Peter Bergner wrote:
> On Thu, 2011-11-03 at 14:48 +0100, Rainer Orth wrote:
> > I sent a patch for that one:
> > 
> > 	http://gcc.gnu.org/ml/gcc-patches/2011-11/msg00300.html
> > 
> > plus Paolo's typo fix:
> > 
> > 	http://gcc.gnu.org/ml/gcc-patches/2011-11/msg00302.html
> 
> Thanks, I kicked off a bootstrap with those changes.  I'll let
> you know how it goes.

My powerpc64-linux bootstrap completed with no errors with
those patches.  Thanks.

Peter
Rainer Orth - Nov. 3, 2011, 3:15 p.m.
Peter Bergner <bergner@vnet.ibm.com> writes:

> On Thu, 2011-11-03 at 09:13 -0500, Peter Bergner wrote:
>> On Thu, 2011-11-03 at 14:48 +0100, Rainer Orth wrote:
>> > I sent a patch for that one:
>> > 
>> > 	http://gcc.gnu.org/ml/gcc-patches/2011-11/msg00300.html
>> > 
>> > plus Paolo's typo fix:
>> > 
>> > 	http://gcc.gnu.org/ml/gcc-patches/2011-11/msg00302.html
>> 
>> Thanks, I kicked off a bootstrap with those changes.  I'll let
>> you know how it goes.
>
> My powerpc64-linux bootstrap completed with no errors with
> those patches.  Thanks.

Great, thanks for the confirmation.

	Rainer

Patch

Index: libgcc/config/rs6000/t-ppccomm
===================================================================
--- libgcc/config/rs6000/t-ppccomm	(revision 180786)
+++ libgcc/config/rs6000/t-ppccomm	(working copy)
@@ -7,7 +7,7 @@  LIB2ADD_ST += \
 	   $(srcdir)/config/rs6000/crtresfpr.S \
 	   $(srcdir)/config/rs6000/crtsavgpr.S \
 	   $(srcdir)/config/rs6000/crtresgpr.S \
-	   $(srcdir)/config/rs6000/crtresxfpr.S 
+	   $(srcdir)/config/rs6000/crtresxfpr.S \
 	   $(srcdir)/config/rs6000/crtresxgpr.S \
 	   $(srcdir)/config/rs6000/e500crtres32gpr.S \
 	   $(srcdir)/config/rs6000/e500crtres64gpr.S \
@@ -21,7 +21,7 @@  LIB2ADD_ST += \
 	   $(srcdir)/config/rs6000/e500crtsav64gprctr.S \
 	   $(srcdir)/config/rs6000/e500crtsavg32gpr.S \
 	   $(srcdir)/config/rs6000/e500crtsavg64gpr.S \
-	   $(srcdir)/config/rs6000/e500crtsavg64gprctr.S
+	   $(srcdir)/config/rs6000/e500crtsavg64gprctr.S \
 	   $(srcdir)/config/rs6000/eabi.S

I'm continuing my build to see if there's anything more that falls