Overview
| Artifact ID: | 81f67250860fa3bff7015ef054447abe8b8f9283 |
|---|---|
| Ticket: | 602849ffffffffffffffffffffffffffffffffff
threaded build fails on FreeBSD 4.6 |
| User & Date: | das on 2002-08-31 14:26:57 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
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. Index: tcl.m4 =================================================================== 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 @@ AC_CHECK_LIB(c_r,pthread_mutex_init,tcl_ok=yes,tcl_ok=no) if test "$tcl_ok" = "yes"; then # The space is needed - THREADS_LIBS=" -pthread" + THREADS_LIBS=" " else TCL_THREADS=0 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...") - foundin changed to: "obsolete: 8.4b3"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "das"
- subsystem changed to: "49. Threading"
- title changed to: "threaded build fails on FreeBSD 4.6"
- type changed to: "Bug"