static link with NPTL on ARM fails

Johannes Stezenbach js at sig21.net
Thu Jan 5 13:46:13 UTC 2012


Hi,

On Fri, Dec 16, 2011 at 06:36:35PM +0100, Johannes Stezenbach wrote:
> On Fri, Dec 16, 2011 at 05:59:16PM +0100, Carmelo Amoroso wrote:
> > On 16/12/11 15:57, Johannes Stezenbach wrote:
> > > I was able to fix the issue like this:
> > >
> > > --- uClibc-0.9.33/libpthread/nptl/sysdeps/pthread/sigaction.c.orig	2011-12-03 18:55:45.000000000 +0100
> > > +++ uClibc-0.9.33/libpthread/nptl/sysdeps/pthread/sigaction.c	2011-12-14 11:48:52.000000000 +0100
> > > @@ -38,9 +38,9 @@
> > >  
> > >    return __libc_sigaction (sig, act, oact);
> > >  }
> > > -libc_hidden_proto(sigaction)
> > > +hidden_proto(sigaction)
> > >  weak_alias (__sigaction, sigaction)
> > > -libc_hidden_weak(sigaction)
> > > +hidden_weak(sigaction)
> > >  
> > >  #else
> > >  
> ... 
> > I think that the proper fix is to remove sigaction from libpthread,a instead.
> 
> But they are not identical, libpthread/nptl/sysdeps/pthread/sigaction.c
> has this comment:
> 
> /* We use the libc implementation but we tell it to not allow
>    SIGCANCEL or SIGTIMER to be handled.  */


Could you please let me know if you agree with my proposed fix?


Thanks
Johannes


More information about the uClibc mailing list