glibc 2.0.106

Geoff Keating geoffk@ozemail.com.au
Wed Dec 9 14:14:00 GMT 1998


> Date: Tue, 8 Dec 1998 01:57:30 -0500
> From: Daniel Jacobowitz <drow@cs.cmu.edu>

> I've just joined this list, but I've been using LinuxPPC for a little
> while.  I discovered a bug in the DR4 linuxthreads package that was
> causing general trouble with threads.  It turns out a little more
> stack padding is required that was provided.  The patch at the end
> fixes the problem.  This patch is for the standard glibc that comes
> with LinuxPPC DR4.
> 
> With this patch, GNAT (the GNU Ada95 compiler) seems to handle threads
> well.  Without it, wierd things happened.

This is done in clone():

        /* Set up stack frame for child.  */
        clrrwi  %r4,%r4,4
        li      %r0,0
        stwu    %r0,-16(%r4)

Can you be a little more specific in your bug report?

-- 
Geoffrey Keating <geoffk@ozemail.com.au>



More information about the Libc-alpha mailing list