Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/gnu



On Fri Feb 25 2011 at 09:59:25 +0100, Frank Wille wrote:
> On Thu, 24 Feb 2011 17:15:51 -0800
> riz%NetBSD.org@localhost wrote:
> 
> > On Thu, Feb 10, 2011 at 07:18:30AM +0000, Matt Thomas wrote:
> > > Module Name:      src
> > > Committed By:     matt
> > > Date:             Thu Feb 10 07:18:29 UTC 2011
> > > [...]
> > 
> > I just identified this change as the one that's preventing the
> > building of shared libs which work on my macppc.
> 
> This is probably the same bug which Kiyohara and me already reported on
> this list many days ago.
> 
> For me the last working combination of kernel and userland is indeed built
> at the 10th of February. After that /sbin/init would immediately run into
> a DSI trap. Some more details can be found here:
> http://mail-index.netbsd.org/port-powerpc/2011/02/20/msg003050.html

I'm not sure if it's the _same_ problem, since building shared libs with
build.sh+latest tools worked for me.  In fact, that + scp allowed me to
fix the problem I was originally interested in fixing

Also, the assembly for my case looks a little different:

broken (cc):
    b034:       7f c8 02 a6     mflr    r30
    b038:       93 01 00 30     stw     r24,48(r1)
    b03c:       90 01 00 54     stw     r0,84(r1)
    b040:       83 1e 80 d0     lwz     r24,-32560(r30) <- boom
works (build.sh):
    b9b4:       7f c8 02 a6     mflr    r30
    b9b8:       93 01 00 30     stw     r24,48(r1)
    b9bc:       90 01 00 54     stw     r0,84(r1)
    b9c0:       3f de 00 02     addis   r30,r30,2
    b9c4:       92 e1 00 2c     stw     r23,44(r1)
    b9c8:       3b de 9f 08     addi    r30,r30,-24824
    b9cc:       93 21 00 34     stw     r25,52(r1)
    b9d0:       83 1e 80 d0     lwz     r24,-32560(r30)


Might be related, though ;)

-- 
älä karot toivorikkauttas, kyl rätei ja lumpui piisaa


Home | Main Index | Thread Index | Old Index