This is on host usf-cf-x86-freebsd-1 on the SourceForge
compilefarm (FreeBSD 4.6-STABLE):
The threaded build fails to link because of the
presence of an erroneous "-pthread" argument to 'ld'.
the patch to tcl.m4 below fixes the problem and doesn't
affect any of the other builds on the compilefarm
negatively, but I suspect is proabably not a good
solution in general.
RCS file: /cvsroot/tcl/tcl/unix/tcl.m4,v
retrieving revision 1.80
diff -u -r1.80 tcl.m4
--- tcl.m4 31 Aug 2002 13:28:00 -0000 1.80
+++ tcl.m4 31 Aug 2002 14:25:13 -0000
@@ -438,7 +438,7 @@
if test "$tcl_ok" = "yes"; then
# The space is needed
- THREADS_LIBS=" -pthread"
+ THREADS_LIBS=" "
AC_MSG_WARN("Don t know how to
find pthread lib on your system - you must disable
thread support or edit the LIBS in the Makefile...")