Skip to content
Tcl Source Code History Of Ticket 448625ffffffffff
Login

History Of Ticket 448625ffffffffff

Artifacts Associated With Ticket 448625ffffffffff

  1. Ticket change [3b33200059] (rid 112693) by pahoughton on 2001-08-07 01:07:08:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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 initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "pahoughton"
    9. subsystem initialized to: "53. Configure and Build Tools"
    10. title initialized to: "Sun 5.6 LD_SEARCH_FLAG setting incorrect"
    11. type initialized to: "Patch"
  2. Ticket change [b04b799bbd] (rid 97954) by pahoughton on 2001-08-07 08:07:09:

    1. icomment:
      
      
      File Added - 9311: tcl8.3.3-pah.src.patch
      
      
      
    2. login: "pahoughton"
    3. mimetype: "text/plain"
    4. username: "pahoughton"
  3. Add attachment "tcl8.3.3-pah.src.patch" [12c46b3524] (rid 124105) by pahoughton on 2001-08-07 08:07:09.

  4. Ticket change [9d1e806475] (rid 96256) by hobbs on 2001-08-23 01:59:31:

    1. closedate changed to: "2001-08-22T18:59:31"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      cc  tclAppInit.o -L/export/home/jeffh/build/tcl84a4 -
      ltcl8.4 -ldl  -lsocket -lnsl -lm -lc \
              -Wl,-R,/home/jeffh/install/solaris-sparc/lib -o 
      tclsh
      sparky [~/build/tcl84a4] 27 > which cc
      /opt/SUNWspro/bin/cc
      sparky [~/build/tcl84a4] 28 > uname -a
      SunOS sparky 5.6 Generic_105181-26 sun4u sparc SUNW,Ultra-
      5_10
      
      and most notably:
      
      sparky [~/build/tcl84a4] 31 > ldd -s ./tclsh
      
         find library=libtcl8.4.so; required by ./tclsh
          search path=/home/jeffh/install/solaris-sparc/lib  
      (RPATH from file ./tclsh)
          trying path=/home/jeffh/install/solaris-
      sparc/lib/libtcl8.4.so
          search path=/usr/lib  (default)
          trying path=/usr/lib/libtcl8.4.so
              libtcl8.4.so =>  (file not found)
      
      Shows that Solaris cc does pick up the file regardless.  
      The patch seems OK, but if it just unnecessarily 
      complicates things, why apply it?
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. resolution changed to: "Works For Me"
    7. status changed to: "Closed"
    8. username: "hobbs"