Hello,

On Mon, 10 Nov 2014 08:00:03 -0800
Chuck Silvers <c...@chuq.com> wrote:

> On Sun, Nov 09, 2014 at 08:34:38AM -0500, Michael wrote:
> > On Sun, 9 Nov 2014 00:05:06 +0000
> > "Chuck Silvers" <c...@netbsd.org> wrote:
> > 
> > > Module Name:      src
> > > Committed By:     chs
> > > Date:             Sun Nov  9 00:05:06 UTC 2014
> > > 
> > > Modified Files:
> > >   src/sys/arch/macppc/macppc: locore.S
> > >   src/sys/arch/ofppc/ofppc: locore.S
> > > 
> > > Log Message:
> > > in the initial asm code, save the interesting caller-saved
> > > registers (containing "arg" and "len") across function calls to C
> > > code. fixes kernels built with gcc 4.8.
> > 
> > I wonder if that helps with clang builds as well.
> 
> it very well could, clang might be using some of the same registers
> as the newer gcc. I haven't tried it though.

I'm about to try, will report back after some sleep.
Otherwise, with this my beige G3 happily runs a gcc 4.8 kernel.

have fun
Michael

Reply via email to