This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: glibc 2.0.106


> 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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]