Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 81f67250860fa3bff7015ef054447abe8b8f9283
Ticket: 602849ffffffffffffffffffffffffffffffffff
threaded build fails on FreeBSD 4.6
User & Date: das on 2002-08-31 14:26:57
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. 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...")
    
    
  4. foundin changed to: "obsolete: 8.4b3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "das"
  9. subsystem changed to: "49. Threading"
  10. title changed to: "threaded build fails on FreeBSD 4.6"
  11. type changed to: "Bug"