Subject: Re: "parked" processes hell: debug available..
To: Tobias Nygren <tnn@NetBSD.org>
From: George Michaelson <ggm@apnic.net>
List: current-users
Date: 09/15/2007 11:56:21
On Fri, 14 Sep 2007 17:45:58 +0200
Tobias Nygren <tnn@NetBSD.org> wrote:

> > >   http://mail-index.netbsd.org/current-users/2007/09/10/0018.html
> > > 
> > > I am still seeing these problems with actual -current kernel and
> > > userland on my cobalt qube2 (mipsel).
> > > 
> > >     Tobias> [...] Btw, the csl-alignment branch merge only
> > >     Tobias> affected the ABI on hp700, right?
> > > 
> > > As mentioned there reverting nick-csl-alignment branch merge
> > > changes solely in src/lib/libpthread solves the problem for me on
> > > my qube2. So, it seems related anyhow...
> > 
> > I've been speaking with Nick and the problem is understood,
> > basically gcc is generating assembly which breaks the restartable
> > sequences in libpthread. Stay tuned.
> 
> Ah, that does sound like it could be the problem. I "fixed" this
> problem on my server by compiling libpthread with COPTS="-O0" for the
> time being.
> 

Many thanks! this worked for me too (thus far).

I hacked my libpthread/Makefile to add -O0 for now.

_G