severity 287680 normal merge 292954 287680 thanks Please check BTS before submitting. This is the same as #287680. And it's an upstream issue.
On Mon, Jan 31, 2005 at 01:28:11PM +0100, Andreas Jochens wrote: > Package: aolserver4 > Severity: normal > Tags: patch > > When building 'aolserver4' on amd64 with gcc-4.0, > I get the following error: > > gcc -pipe -L../nsthread -L../nsd -o nsd main.o libnsd.so -lnsthread > -L/usr/lib -ltcl8.4 -ldl -lpthread -lieee -lm -lgcc_s > -Wl,--export-dynamic > libnsd.so: undefined reference to `pthread_kill_other_threads_np' > collect2: ld returned 1 exit status > make[2]: *** [nsd] Error 1 > make[2]: Leaving directory `/aolserver4-4.0.10/nsd' > > With the attached patch 'aolserver4' can be compiled > on amd64 using gcc-4.0. > > Regards > Andreas Jochens > > diff -urN ../tmp-orig/aolserver4-4.0.10/nsd/unix.c ./nsd/unix.c > --- ../tmp-orig/aolserver4-4.0.10/nsd/unix.c 2004-09-21 02:47:41.000000000 > +0200 > +++ ./nsd/unix.c 2005-01-31 13:17:01.976081682 +0100 > @@ -64,16 +64,6 @@ > void > FatalSignalHandler(int signal) > { > -#ifdef __linux > - /* > - * LinuxThreads thread manager needs to kill all child threads > - * on fatal signals, else they get left behind as dead threads. > - * As of glibc 2.3 with NPTL, this should be a no-op. > - */ > - > - pthread_kill_other_threads_np(); > -#endif > - > Ns_Log(Fatal, "received fatal signal %d", signal); > abort(); > } -- Francesco P. Lovergine -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]