Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c2fbbde2eee6aa5315651120753077255e7f3f12
Ticket: 1030548fffffffffffffffffffffffffffffffff
Tcl 8.4 fails to build in debug/threaded config
User & Date: dossy on 2004-12-05 09:15:54
Changes

  1. icomment:
    Logged In: YES 
    user_id=21885
    
    Jeff, I disagree.  The patch that was applied /introduces/ a
    bug, which breaks a previously valid configuration
    (TCL_MEM_DEBUG + USE_THREAD_ALLOC).  Therefore, it must be
    backed out.
    
    Looking at things, once this change is backed out, I think
    Joe's original reason for opening this bug will go away: a
    memory-debug threaded Tcl build on Win32 should work, just
    as it will on Solaris and Linux.
    
    The "feature request" part here is to be able to build an
    --enable-threads Tcl *without* USE_THREAD_ALLOC defined. 
    Fine -- I'll file that as a separate RFE.  However, the
    applied patch needs to be backed out to fix the
    --enable-threads --enable-symbols=mem build, which now
    currently does NOT do the right thing as it defines
    USE_THREAD_ALLOC (therefore generic/tclAlloc.c won't be
    used) and defines TCL_MEM_DEBUG (therefore
    generic/tclThreadAlloc.c won't be used).  Since those are
    the only two places where TclpAlloc() and TclpFree() are
    defined ... this breaks the build!
    
    I still say this is a bug, that was solely introduced by the
    application of the patch attached to this bug tracker item.
    
    
    
    
    
    
  2. login: "dossy"
  3. mimetype: "text/plain"
  4. username: "dossy"