Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 393ae293304c9914fe3a5c0b42cc008577a6cdfd
Ticket: 218730ffffffffffffffffffffffffffffffffff
shlib configure doesn't work on FreeBSD 3.1
User & Date: nobody on 2000-10-26 01:04:40
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1915 Bug
    Version: 8.1b3
    SubmitDate: '1999-04-21'
    LastModified: '1999-06-01'
    Severity: MED
    Status: Released
    Submitter: pat
    ChangedBy: stanton
    OS: Other
    OSVersion: FreeBSD 3.1
    Machine: NA
    FixedDate: '1999-04-21'
    FixedInVersion: 8.1
    ClosedDate: '2000-10-25'
    
    
    Name:
    Mark Diekhans
    
    Extensions:
    th
    
    Comments:
    In the FreeBSD 3.1 release, the system was switched to use the ELF
        object format and the latest GNU linker.  The shared library name
        of libtcl81.so.10 no longer works, a name of libtcl8.1.so works
        and is what is used on most other systems.
    
    ReproducibleScript:
    configure --enable-shared results in a failed link of Tcl.
        A patch is enclosed to fix this.  It should probably be applied
        to the 8.0.* release tree as well.
    
    Patch:
    *** unix/configure.in.ORGTue Apr 20 23:13:48 1999
    --- unix/configure.inTue Apr 20 23:24:41 1999
    ***************
    *** 907,913 ****
      LD_FLAGS="-Wl,-Bexport"
      LD_SEARCH_FLAGS=""
      ;;
    !     NetBSD-*|FreeBSD-*|OpenBSD-*)
      # Not available on all versions:  check for include file.
      AC_CHECK_HEADER(dlfcn.h, [
          SHLIB_CFLAGS="-fpic"
    --- 907,913 ----
      LD_FLAGS="-Wl,-Bexport"
      LD_SEARCH_FLAGS=""
      ;;
    !     NetBSD-*|FreeBSD-[12].*|OpenBSD-*)
      # Not available on all versions:  check for include file.
      AC_CHECK_HEADER(dlfcn.h, [
          SHLIB_CFLAGS="-fpic"
    ***************
    *** 935,940 ****
    --- 935,951 ----
      
      TCL_UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
      TCL_LIB_VERSIONS_OK=nodots
    + ;;
    +     FreeBSD-*)
    + # FreeBSD 3.* and greater have ELF.
    + SHLIB_CFLAGS="-fpic"
    + SHLIB_LD="ld -Bshareable -x"
    + SHLIB_LD_LIBS=""
    + SHLIB_SUFFIX=".so"
    + DL_OBJS="tclLoadDl.o"
    + DL_LIBS=""
    + LD_FLAGS=""
    + LD_SEARCH_FLAGS=""
      ;;
          NEXTSTEP-*)
      SHLIB_CFLAGS=""
    
    PatchFiles:
    unix/configure.in
    
    
    
    04/21/1999 18:08 - redman - applied the patch to 8.1.0.
    
    06/01/1999 14:08 - stanton - updated patches database
    
  4. foundin changed to: "obsolete: 8.1b3"
  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: "shlib configure doesn't work on FreeBSD 3.1"
  11. type changed to: "Bug"