Subject: Re: WooHoo: README: Merge plan for nathanw_sa branch
To: Jason R Thorpe <>
From: Tom Ivar Helbekkmo <>
List: current-users
Date: 01/22/2003 10:30:38
Tom Ivar Helbekkmo <> writes:

> As noted in another thread, the problem goes away if I disable my
> second CPU, so it's some interaction between pthreads and SMP.

So now I'm running xmms and Mozilla, and they're both happy, like me.

But you said to TEST, TEST, TEST, right?  ;-)

However, trying to build TCL 8.4.1 fails, thus:

% mkdir build
% cd build
% ../unix/configure --enable-threads
% make
../unix/../unix/tclUnixThrd.c: In function `Tcl_CreateThread':
../unix/../unix/tclUnixThrd.c:99: warning: implicit declaration of function `pthread_attr_setscope'
../unix/../unix/tclUnixThrd.c:99: `PTHREAD_SCOPE_SYSTEM' undeclared (first use in this function)
../unix/../unix/tclUnixThrd.c:99: (Each undeclared identifier is reported only once
../unix/../unix/tclUnixThrd.c:99: for each function it appears in.)

I'm building this in order to build AOLserver, so I just removed the
use of pthread_attr_setscope() from TCL (shouldn't be a big deal), and
continued.  Then, however, the AOLserver build failed, and that one is
a bit worse:

gcc -pipe -L../nsthread -L../nsd  -o nsthreadtest nsthreadtest.o -L/usr/local/aolserver/lib -ltcl84   -lpthread -lm  -Wl,-rpath,/usr/local/aolserver/lib undefined reference to `sigwait'

Tom Ivar Helbekkmo, Senior System Administrator, EUnet Norway  T: +47-22092958 M: +47-93013940 F: +47-22092901