[ntp:hackers] pthread_once under linux

Harlan Stenn stenn at ntp.org
Mon Sep 21 04:03:24 UTC 2015


I might have found the problem.

More soon.

H
--
Harlan Stenn writes:
> Folks,
> 
> I've been fighting a problem under Linux for a while.
> 
> Some of the test programs (make check) are failing to link under some
> versions of Linux because pthread_once() isn't being found.
> 
> This is strange, as I'm not seeing any differences between where the
> link is failing (test programs) and where it succeeds (regular NTP
> executables).
> 
> The autoconf tests for pthreads on these machines indicate no special
> libraries or compiler arguments are needed.  But something is
> misbehaving and the link step is failing.
> 
> Any help I can get in tracking this down and fixing it would be swell.
> 
> The code in either the -stable or -dev repos (bk or github) should
> provide the "base" for this.  If 'make check' runs for you, there's no
> problem.  If you see a problem where pthread_once() is involved, we have
> a winner...
> -- 
> Harlan Stenn <stenn at ntp.org>
> http://networktimefoundation.org  - be a member!
> 


More information about the hackers mailing list