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

Re: Bug#325600: 325600 (<defunct> threads on Alpha).



On Wed, Oct 26, 2005 at 12:33:23AM +0200, Falk Hueffner wrote:
> Tom Evans <tom@23palmer.net> writes:
> 
> > If I simply change (in
> > linuxthreads/sysdep/unix/sysv/linux/not-cancel.h) from:
> >
> > # define waitpid_not_cancel(pid, stat_loc, options) \
> >   INLINE_SYSCALL (osf_wait4, 4, pid, stat_loc, options, NULL)
> >
> > to:
> >
> > # define waitpid_not_cancel(pid, stat_loc, options) \
> >   wait4( pid, stat_loc, options, NULL )
> >
> > all is well
> 
> That's weird. What happens with -O0? What with gcc 3.3? Can you
> perhaps attach the assembly that is generated for the "broken" case?

Oho: take a look at alpha/wait4.S.  It looks like sys_wait4 is
relatively new on Alpha.  Anyone know how new?

-- 
Daniel Jacobowitz
CodeSourcery, LLC



Reply to: