Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5126e05f2db1927cc66a0f82b0fa4e1404bd7e0f
Ticket: 218683ffffffffffffffffffffffffffffffffff
Configuration for BSD/OS 4.0 incorrect
User & Date: nobody on 2000-10-26 01:04:05
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1730 Bug
    Version: 8.1b2
    SubmitDate: '1999-04-05'
    LastModified: '1999-04-05'
    Severity: MED
    Status: Released
    Submitter: pat
    ChangedBy: stanton
    OS: Other
    OSVersion: BSD/OS 4.0.1
    Machine: NA
    FixedDate: '1999-04-05'
    FixedInVersion: 8.1b3
    ClosedDate: '2000-10-25'
    
    
    Name:
    [email protected]
    
    ReproducibleScript:
    In Tcl-8.1b2, support was added in unix/configure for BSD/OS 4.*. This
        support,
        however, is incorrect. The support that was added treats 4.* like all
        previous
        version of BSD/OS. This causes compilation to fail. As of BSD/OS-4.0,
        there is support for dynamically linked, shared ELF libraries. ...a lot
        like Linux. 
        The following patch corrects the problem.
    
    ObservedBehavior:
    Uses old static BSD/OS shared libraries and causes compilation to fail.
    
    DesiredBehavior:
    Use new ddynamicaly linked shared libs for BSD/OS 4.*
    
    Patch:
    *** configure.in.orig   Mon Apr  5 14:25:02 1999
    --- configure.in        Mon Apr  5 14:25:38 1999
    ***************
    *** 764,770 ****
            TCL_NEEDS_EXP_FILE=1
            TCL_EXPORT_FILE_SUFFIX='${VERSION}\$\{DBGX\}.exp'
            ;;
    !     BSD/OS-2.1*|BSD/OS-3*|BSD/OS-4*)
            SHLIB_CFLAGS=""
            SHLIB_LD="shlicc -r"
            SHLIB_LD_LIBS='${LIBS}'
    --- 764,770 ----
            TCL_NEEDS_EXP_FILE=1
            TCL_EXPORT_FILE_SUFFIX='${VERSION}\$\{DBGX\}.exp'
            ;;
    !     BSD/OS-2.1*|BSD/OS-3*)
            SHLIB_CFLAGS=""
            SHLIB_LD="shlicc -r"
            SHLIB_LD_LIBS='${LIBS}'
    ***************
    *** 774,779 ****
    --- 774,789 ----
            LD_FLAGS=""
            LD_SEARCH_FLAGS=""
            ;;
    +     BSD/OS-4.*)
    +         SHLIB_CFLAGS="-export-dynamic -fPIC"
    +         SHLIB_LD="cc -shared"
    +         SHLIB_LD_LIBS='${LIBS}'
    +         SHLIB_SUFFIX=".so"
    +         DL_OBJS="tclLoadDl.o"
    +         DL_LIBS="-ldl"
    +         LD_FLAGS="-export-dynamic"
    +         LD_SEARCH_FLAGS=""
    +         ;;
          dgux*)
            SHLIB_CFLAGS="-K PIC"
            SHLIB_LD="cc -G"
    
    PatchFiles:
    configure.in
    
    
    
    integrated patch
    04/05/1999 17:54 - stanton -
    
  4. foundin changed to: "obsolete: 8.1b2"
  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: "69. Other"
  10. title changed to: "Configuration for BSD/OS 4.0 incorrect"
  11. type changed to: "Bug"