Skip to content
Tcl Source Code History Of Ticket 1002637fffffffff
Login

History Of Ticket 1002637fffffffff

Artifacts Associated With Ticket 1002637fffffffff

  1. Ticket change [aa2fe066a2] (rid 99280) by eallaert on 2004-08-03 14:06:00:

    1. assignee initialized to: "mdejong"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      When compiling Tcl 8.4.7 with gcc on HP-UX 11.0, the
      configure script blanks out the CC_SEARCH_FLAGS
      and LD_SEARCH_FLAGS variables, instead of leaving them
      both set to '-Wl,+s,+b,${LIB_RUNTIME_DIR}:.'.
      
      As a result, the SHLIB_PATH environment variable is not
      respected neither by the tcl program nor the
      libtcl8.4.sl library, and applications can only run if
      the original source directory is present.
      
      The solution is to set in this case 
          LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
      and to remove
          CC_SEARCH_FLAGS='' 
      
      The same applies of course to tcl.m4.
      
    4. foundin initialized to: "obsolete: 8.4.7"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "eallaert"
    9. subsystem initialized to: "53. Configuration and Build Tools"
    10. title initialized to: "SHLIB_PATH not respected on HP-UX 11"
    11. type initialized to: "Bug"
  2. Ticket change [8194199587] (rid 117063) by mdejong on 2004-09-24 03:17:21:

    1. icomment:
      Logged In: YES 
      user_id=90858
      
      Well, here is the current build rule:
      
      HP-UX-*.11.*)
          # Use updated header definitions where possible
          AC_DEFINE(_XOPEN_SOURCE)          # Use the XOPEN
      network library
          AC_DEFINE(_XOPEN_SOURCE_EXTENDED) # Use the XOPEN
      network library
          LIBS="$LIBS -lxnet"               # Use the XOPEN
      network library
      
          SHLIB_SUFFIX=".sl"
          AC_CHECK_LIB(dld, shl_load, tcl_ok=yes, tcl_ok=no)
          if test "$tcl_ok" = yes; then
      SHLIB_CFLAGS="+z"
      SHLIB_LD="ld -b"
      SHLIB_LD_LIBS='${LIBS}'
      DL_OBJS="tclLoadShl.o"
      DL_LIBS="-ldld"
      LDFLAGS="$LDFLAGS -Wl,-E"
      CC_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.'
      LD_SEARCH_FLAGS='+s +b ${LIB_RUNTIME_DIR}:.'
      LD_LIBRARY_PATH_VAR="SHLIB_PATH"
          fi
          if test "$GCC" = "yes" ; then
      SHLIB_LD="gcc -shared"
      SHLIB_LD_LIBS='${LIBS}'
      LD_SEARCH_FLAGS=''
      CC_SEARCH_FLAGS=''
          fi
      
          # Users may want PA-RISC 1.1/2.0 portable code - needs
      HP cc
          #CFLAGS="$CFLAGS +DAportable"
      
          # Check to enable 64-bit flags for compiler/linker
          if test "$do64bit" = "yes" ; then
      if test "$GCC" = "yes" ; then
          hpux_arch=`gcc -dumpmachine`
          case $hpux_arch in
      hppa64*)
          # 64-bit gcc in use.  Fix flags for GNU ld.
          do64bit_ok=yes
          SHLIB_LD="gcc -shared"
          SHLIB_LD_LIBS='${LIBS}'
          LD_SEARCH_FLAGS=''
          CC_SEARCH_FLAGS=''
          ;;
      *)
          AC_MSG_WARN("64bit mode not supported with GCC on
      $system")
          ;;
          esac
      else
          do64bit_ok=yes
          CFLAGS="$CFLAGS +DD64"
          LDFLAGS="$LDFLAGS +DD64"
      fi
          fi
          ;;
      
      
      Both CC_SEARCH_FLAGS and LD_SEARCH_FLAGS
      seem to be set when using the native compiler. Are you
      doing that or are you building with gcc?
      
      
    2. login: "mdejong"
    3. mimetype: "text/plain"
    4. username: "mdejong"
  3. Ticket change [ff27e03cc7] (rid 108708) by eallaert on 2004-09-24 13:52:09:

    1. icomment:
      Logged In: YES 
      user_id=204408
      
      Yes, this problem occurs when using gcc (as explained in the
      first line of problem report).
      
      
    2. login: "eallaert"
    3. mimetype: "text/plain"
    4. username: "eallaert"
  4. Ticket change [4fe64babe7] (rid 125893) by yuray on 2005-02-07 20:17:49:

    1. icomment:
      Logged In: YES 
      user_id=749625
      
      Problem on hpux still exists.
      I have tcl 8.4.9 installed in /opt2/tcl
      
      bash-2.04$ ldd tclsh8.4 
               =>
              /opt2/b/libtcl8.4.sl => /opt2/b/libtcl8.4.sl
      bash-2.04$
      b -- is dir where a tcl was build. 
      If I will remove b dir then a tclsh is not running (can not
      find library).
      
      Please apply given solution.
      
      
      
    2. login: "yuray"
    3. mimetype: "text/plain"
    4. username: "yuray"
  5. Ticket change [f4ff2fb99d] (rid 130024) by yuray on 2005-02-08 15:24:13:

    1. icomment:
      Logged In: YES 
      user_id=749625
      
      Oops, all OK.
      I build tcl not in source dir, sorry for wrong post.
      
      
    2. login: "yuray"
    3. mimetype: "text/plain"
    4. username: "yuray"
  6. Ticket change [30e0e050e0] (rid 93331) by hobbs on 2005-02-09 08:53:01:

    1. assignee changed to: "hobbs"
    2. icomment:
      Logged In: YES 
      user_id=72656
      
      This is actually a correct fix - it only applies to gcc
      builds on HP-UX of course.  This needs to go into 8.4 and head.
      
      
    3. login: "hobbs"
    4. mimetype: "text/plain"
    5. priority changed to: "7 High"
    6. username: "hobbs"
  7. Ticket change [4035b7944a] (rid 121595) by hobbs on 2005-02-12 01:31:45:

    1. closedate changed to: "2005-02-11T18:31:45"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      Fixed in 8.4 branch and HEAD.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "hobbs"