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

History Of Ticket 219220ffffffffff

Artifacts Associated With Ticket 219220ffffffffff

  1. Ticket change [a8d7067789] (rid 99058) by nobody on 2000-10-26 05:03:46:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 4015 Bug
      Version: 8.2.3
      SubmitDate: '2000-01-13'
      LastModified: '2000-04-03'
      Severity: SER
      Status: Assigned
      Submitter: techsupp
      ChangedBy: hobbs
      OS: IRIX
      Machine: SGI/ORIGIN 2000
      FixedDate: '2000-10-25'
      ClosedDate: '2000-10-25'
      
      
      Name: george r. goffe
      
      Comments:
      I attempted to put this change into tk8.2.3 but there is no aclocal.m4 distributed apparently. I copied the tcl aclocal.m4 file but that didn't generate the right configure script.
      
      Please call me for any clarification(s) needed, "we" have a 64bit application that "wants" to use tcl/tk in 64bit mode. There were also a lot of compiler warnings about (int) not holding all the pointer. I have a file with these messages in it if you'd like to see it.
      
      Please let me know what kind of action(s) you might be taking with this report.
      
      Thanks,
      
      George...
      
      ReproducibleScript:
      ./configure ... --enable-64bit ...
      
      ObservedBehavior:
      It would be nice to have 64bit code generated for tcl and tk.
      
      I have a fix from a collegue (James Jones) that seems to work for tcl but apparently(?) the aclocal.m4 file for tk is not distributed? 64bit enablement is broken for both tcl and tk.
      
      DesiredBehavior:
      see above
      
      Patch:
      diff -c aclocal.m4.dist aclocal.m4
      *** aclocal.m4.dist     Thu Jan 13 15:22:11 2000
      --- aclocal.m4  Thu Jan 13 15:24:02 2000
      ***************
      *** 676,681 ****
      --- 676,692 ----
                  DL_LIBS=""
                  LDFLAGS=""
                  LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
      +             do64bit_ok=no
      +             if test "$do64bit" = "yes" ; then
      +                if test "$CC" != "gcc" ; then
      +                   do64bit_ok=yes
      +                   SHLIB_LD="ld -64 -shared -rdata_shared"
      +                   EXTRA_CFLAGS="-64"
      +                   LDFLAGS="-64"
      +                else 
      +                   AC_MSG_WARN(64bit mode not supported by gcc...)
      +                fi
      +             fi
                  ;;
              Linux*)
                  SHLIB_CFLAGS="-fPIC"
      
      PatchFiles:
      tcl8.2.3/unix/aclocal.m4
      
      
      
      The user noted this "better" fix:
      
      *** aclocal.m4.distTue Dec 14 19:59:18 1999
      --- aclocal.m4Thu Jan 13 15:58:41 2000
      ***************
      *** 643,649 ****
            LD_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
            SHARED_LIB_SUFFIX='${VERSION}\$\{DBGX\}.a'
            ;;
      ! IRIX-5.*|IRIX-6.*|IRIX64-6.5*)
            SHLIB_CFLAGS=""
            SHLIB_LD="ld -n32 -shared -rdata_shared"
            SHLIB_LD_LIBS='${LIBS}'
      --- 643,649 ----
            LD_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
            SHARED_LIB_SUFFIX='${VERSION}\$\{DBGX\}.a'
            ;;
      ! IRIX-5.*|IRIX-6.*)
            SHLIB_CFLAGS=""
            SHLIB_LD="ld -n32 -shared -rdata_shared"
            SHLIB_LD_LIBS='${LIBS}'
      ***************
      *** 676,681 ****
      --- 676,692 ----
            DL_LIBS=""
            LDFLAGS=""
            LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
      +             do64bit_ok=no
      +             if test "$do64bit" = "yes" ; then
      +                if test "$CC" != "gcc" ; then
      +                   do64bit_ok=yes
      +                   SHLIB_LD="ld -64 -shared -rdata_shared"
      +                   EXTRA_CFLAGS="-64"
      +                   LDFLAGS="-64"
      +                else 
      +                   AC_MSG_WARN(64bit mode not supported by gcc...)
      +                fi
      +             fi
            ;;
        Linux*)
            SHLIB_CFLAGS="-fPIC"
      
      However this seems to change the behavior for all of IRIX64-6.5*
      which may note be correct. 
      -- 02/05/2000 hobbs
      
    4. foundin initialized to: "final: 8.2.3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "75. Tutorial"
    10. title initialized to: "64bit enablement broken"
    11. type initialized to: "Bug"
  2. Ticket change [1a3325bc42] (rid 122935) by dgp on 2001-04-05 06:52:45:

    1. subsystem changed to: "53. Configuration and Build Tools"
  3. Ticket change [6b4ac23a90] (rid 128302) by andreas_kupries on 2001-08-24 05:03:45:

    1. assignee changed to: "dkf"
    2. icomment:
      Logged In: YES 
      user_id=75003
      
      Given to donal as he seems to have 64bit machines.
      Else give it to Mo.
      
      
    3. login: "andreas_kupries"
    4. mimetype: "text/plain"
    5. username: "andreas_kupries"
  4. Ticket change [ffcb3815c6] (rid 108824) by dkf on 2001-08-29 20:45:34:

    1. assignee changed to: "mdejong"
    2. icomment:
      Logged In: YES 
      user_id=79902
      
      That looks like the right sort of think for IRIX64, and the
      restriction that it does not work with GCC (or didn't the
      last time I looked) is spot-on.  However, all that autoconf
      stuff has been rearranged, so I'm assigning to Mo...
      
      
    3. login: "dkf"
    4. mimetype: "text/plain"
    5. username: "dkf"
  5. Ticket change [f85f291ee3] (rid 91524) by mdejong on 2002-04-19 05:35:14:

    1. icomment:
      
      
      File Added - 21479: 64bit_irix.patch
      
      Logged In: YES 
      user_id=90858
      
      I have created a patch for the current CVS. Could someone
      with access to a 64 bit IRIX system give this patch
      a test drive?
      
      
    2. login: "mdejong"
    3. mimetype: "text/plain"
    4. username: "mdejong"
  6. Add attachment "64bit_irix.patch" [5b194b6f22] (rid 118259) by mdejong on 2002-04-19 05:35:14.

  7. Ticket change [cf510c1866] (rid 112957) by mdejong on 2002-07-24 00:34:37:

    1. closedate changed to: "2002-07-23T17:34:37"
    2. closer changed to: "mdejong"
    3. icomment:
      Logged In: YES 
      user_id=90858
      
      Added the patch to CVS. It has not been tested but
      it seems ok.
      
      
    4. login: "mdejong"
    5. mimetype: "text/plain"
    6. resolution changed to: "Accepted"
    7. status changed to: "Closed"
    8. username: "mdejong"