Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3b332000598730891bc9df8248afcbd7af45a702
Ticket: 448625ffffffffffffffffffffffffffffffffff
Sun 5.6 LD_SEARCH_FLAG setting incorrect
User & Date: pahoughton on 2001-08-07 01:07:08
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    In unix/tcl.m4 the setting of LD_SEARCH_FLAG for SunOS
    5.6 is 
    incorrect if  gcc is not being used. The problem is
    resolved for
    5.7 and 5.8, but was not implemented for 5.6 and below.
    
    Heres the Patch:
    
    diff -rc tcl8.3.3-orig/unix/tcl.m4 tcl8.3.3/unix/tcl.m4
    *** tcl8.3.3-orig/unix/tcl.m4Fri Apr  6 12:51:46 2001
    --- tcl8.3.3/unix/tcl.m4Mon Aug  6 18:57:26 2001
    ***************
    1042
          DL_OBJS="tclLoadDl.o"
          DL_LIBS="-ldl"
          LDFLAGS=""
    !     LD_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
          ;;
      SunOS-5*)
          SHLIB_CFLAGS="-KPIC"
    --- 1036,1046 ----
          DL_OBJS="tclLoadDl.o"
          DL_LIBS="-ldl"
          LDFLAGS=""
    !     if test "$using_gcc" = "yes" ; then
    !     LD_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
    !     else
    ! LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
    !     fi
          ;;
      SunOS-5*)
          SHLIB_CFLAGS="-KPIC"
    
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "pahoughton"
  9. subsystem changed to: "53. Configure and Build Tools"
  10. title changed to: "Sun 5.6 LD_SEARCH_FLAG setting incorrect"
  11. type changed to: "Patch"