This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch][RFC] ARM glibc-2.5 sigwait() with linuxthreads has a problem.


On Tue, Nov 13, 2007 at 06:58:09PM +0900, ryosei@sm.sony.co.jp wrote:
> I suppose the cause of this problem is as follows.
> * In the case of above sample codes, pthread_sigwait() in libpthread.so
>   call sigaction() in libc.so
> * And sigaction() in libc.so doesn't call pthread_sigaction() 
>   in libpthread.so.
> * This is because the following file exists but is not compiled.
> 
>        linuxthreads/sysdeps/pthread/sigaction.c
> 
> Are there any reasons why the above file, 
> sigaction.c in linuxthreads directory, is not compiled??

This bug was probably introduced either by the move of linuxthreads
out of the main repository, or else some NPTL support changes.  I do
not know for sure.

> With the below patch which I created, the above sigaction.c is compiled 
> and the problem is fixed. Is this patch fine??

It looks reasonable.  LinuxThreads is no longer supported, though.

-- 
Daniel Jacobowitz
CodeSourcery


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