Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0fa78cdc020c10d88564d8932efeab7ed90b828f
Ticket: 217995ffffffffffffffffffffffffffffffffff
installation trouble on linux
User & Date: nobody on 2000-10-26 00:51:47
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 646 Bug
    Version: 8.0p2
    SubmitDate: '1998-05-25'
    LastModified: '1998-11-19'
    Severity: LOW
    Status: Closed
    Submitter: hershey
    ChangedBy: rjohnson
    OS: Linux
    OSVersion: NA
    Machine: NA
    FixedDate: '2000-10-25'
    FixedInVersion: NA
    ClosedDate: '1998-11-19'
    
    
    I am trying to compile on Linux with
    
    #define USE_TCLALLOC 1
    
    turned on and TCL_MEM_DEBUG turned off. I get link errors for TclpAlloc,
    TclpFree, and TclpRealloc.
    
    In tcl8.0p2, tclUnixPort.h had the following definitions:
    
    /*
     * The following defines denote malloc and free as the system calls
     * used to allocate new memory.  These defines are only used in the
     * file tclCkalloc.c.
     */
    
    #define TclpAlloc(size)         malloc(size)
    #define TclpFree(ptr)           free(ptr)
    #define TclpRealloc(ptr, size)  realloc(ptr, size)
    
    Is there a reason these definitions were removed?
    
    
    Sydney Polk, [email protected]
    Source-Navigator Development Manager
    Cygnus Solutions
    
    They are not removed.  They are only defined in the Mac & Windows case.  The UNIX build was never designed for the USE_TCLALLOC to work for it.  (It probably would work - but it's never been tried.)  Ray
    
    BTW, I know Syd has already moved passed this and made the memory allocator work on UNIX.
    
    
    
  4. foundin changed to: "obsolete: 8.0p2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "61. (unused)"
  10. title changed to: "installation trouble on linux"
  11. type changed to: "Bug"