Skip to content
Tcl Source Code History Of Ticket 1444692
Login

History Of Ticket 1444692

Artifacts Associated With Ticket 1444692

  1. Ticket change [4c274ca9a6] (rid 126829) by mistachkin on 2006-03-07 09:11:45:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Here is the reported compile error:
      
      gcc -pipe -c -g  -pthread -Wall -Wno-implicit-int -fPIC
       -I. -I/home/foo/tcl/tcl8.5/tcl/unix/../unix
      -I/home/foo/tcl/tcl8.5/tcl/unix/../generic
      -DTCL_TOMMATH -DMP_PREC=4 
      -I/home/foo/tcl/tcl8.5/tcl/unix/../libtommath
      -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\"
      -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tcl\ 8.5\"
      -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1
      -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
      -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
      -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
      -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1
      -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1
      -D_REENTRANT=1 -D_THREAD_SAFE=1
      -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1
      -DHAVE_PTHREAD_ATTR_GET_NP=1 -DATTRGETNP_NOT_DECLARED=1
      -DTCL_THREADS=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\"
      -DTCL_SHLIB_EXT=\".so\" -DTCL_CFG_DEBUG=1
      -DTCL_MEM_DEBUG=1 -DTCL_COMPILE_DEBUG=1
      -DTCL_COMPILE_STATS=1 -DTCL_WIDE_INT_TYPE=long\ long
      -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1
      -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1
      -DHAVE_WAITPID=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1
      -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1
      -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1
      -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1
      -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1
      -DHAVE_SIGNED_CHAR=1 -DHAVE_PUTENV_THAT_COPIES=1
      -DHAVE_LANGINFO=1 -DHAVE_CHFLAGS=1 -DHAVE_FTS=1
      -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1
      -DTCL_UNLOAD_DLLS=1     
      /home/foo/tcl/tcl8.5/tcl/unix/../generic/regcomp.c
      In file included from tclUnixPort.h:583,
                       from
      /home/foo/tcl/tcl8.5/tcl/unix/../generic/tclPort.h:27,
                       from
      /home/foo/tcl/tcl8.5/tcl/unix/../generic/tclInt.h:3029,
                       from
      /home/foo/tcl/tcl8.5/tcl/unix/../generic/regcustom.h:30,
                       from
      /home/foo/tcl/tcl8.5/tcl/unix/../generic/regguts.h:36,
                       from
      /home/foo/tcl/tcl8.5/tcl/unix/../generic/regcomp.c:33:
      /usr/include/pthread_np.h:40: warning: parameter names
      (without types) in function declaration
      /usr/include/pthread_np.h:46: syntax error before `*'
      /usr/include/pthread_np.h:47: syntax error before `*'
      /usr/include/pthread_np.h:50: warning: parameter names
      (without types) in function declaration
      /usr/include/pthread_np.h:51: syntax error before `*'
      /usr/include/pthread_np.h:53: warning: parameter names
      (without types) in function declaration
      /usr/include/pthread_np.h:54: syntax error before `const'
      /usr/include/pthread_np.h:57: warning: parameter names
      (without types) in function declaration
      *** Error code 1
      
      
    4. foundin initialized to: "obsolete: 8.5a4"
    5. priority initialized to: "7 High"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "mistachkin"
    9. subsystem initialized to: "None"
    10. title initialized to: "HEAD fails to compile on FreeBSD 4.x"
    11. type initialized to: "Bug"
  2. Ticket change [fc1b4d95bc] (rid 108170) by mistachkin on 2006-03-07 16:36:09:

    1. icomment:
      Logged In: YES 
      user_id=113501
      
      
      The fix for this appears to be simply adding an "#include
      <pthread.h>" line prior to the "#include <pthread_np.h>"
      line in "tclUnixPort.h" near line 576, as follows:
      
      #   ifdef HAVE_PTHREAD_ATTR_GET_NP
      #       define TclpPthreadGetAttrs      pthread_attr_get_np
      #       ifdef ATTRGETNP_NOT_DECLARED
      /*
       * Assume it is in pthread_np.h if it isn't in pthread.h.
      [Bug 1064882]
       * We might need to revisit this in the future. :^(
       */
      #           include <pthread.h>
      #           include <pthread_np.h>
      #       endif
      
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  3. Ticket change [e4328507b3] (rid 87916) by dgp on 2006-03-08 03:31:19:

    1. subsystem changed to: "52. Portability Support"
  4. Ticket change [4a9abedb34] (rid 126565) by dgp on 2006-03-10 06:05:53:

    1. assignee changed to: "hobbs"
    2. priority changed to: "9 Immediate"
  5. Ticket change [7f073dfc66] (rid 97504) by mistachkin on 2006-03-17 17:23:13:

    1. assignee changed to: "mistachkin"
    2. closedate changed to: "2006-03-17T10:23:13"
    3. closer changed to: "mistachkin"
    4. icomment:
      Logged In: YES 
      user_id=113501
      
      Fix checked into HEAD.
      
      
      
    5. login: "mistachkin"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "mistachkin"