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

History Of Ticket 554351ffffffffff

Artifacts Associated With Ticket 554351ffffffffff

  1. Ticket change [58a89329a5] (rid 117840) by dgp on 2002-05-10 02:25:29:

    1. assignee initialized to: "mdejong"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      OK, the main point of the sampleextension
      is the TEA config/build/install stuff, but
      the extension still ought to actually work.
      It does not work on 64-bit Linux/Alpha:
      
      $ make test
      TCL_LIBRARY=`echo /local/src/tcl/library`
      LD_LIBRARY_PATH=".:/local/src/tcl/unix:/home/dgp/alpha/linux/lib:/usr/local/lib:/usr/lib"
      LIBPATH=".:/local/src/tcl/unix:"
      SHLIB_PATH=".:/local/src/tcl/unix:"
      PATH=".:/local/src/tcl/unix:/home/dgp/alpha/linux/bin:/home/dgp/Tcl:/home/dgp/Perl:/home/dgp/bin:/home/dgp/bin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/X11:/usr/openwin/bin:/usr/games:."
      TCLLIBPATH="." "/local/src/tcl/unix/tclsh" `echo
      ./tests/all.tcl` 
      Tests running in interp:      
      /local/src/tcl/unix/tclsh
      Tests running with pwd:       
      /local/src/sampleextension
      Tests running in working dir: 
      /local/src/sampleextension/tests
      Only sourcing test files that match:  *.test
      Tests began at Thu May 09 22:24:44 EDT 2002
      sample.test
      
      ==== sha-1.1 Use of -string operand FAILED
      ==== Contents of test case:
      
          set result [sha1 -string foo]
      
      ---- Result was:
      b0b801b1bf5f29352b10094e72d6842b9676a1f8
      ---- Result should have been (exact matching):
      0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33
      ==== sha-1.1 FAILED
      
      make: *** [test] Segmentation fault
      
      
      My guess is that there's an implicit assumption
      of 32-bit "registers".
      
    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: "dgp"
    9. subsystem initialized to: "70. Sample Extension"
    10. title initialized to: "64-bit segfault"
    11. type initialized to: "Bug"
  2. Ticket change [e61b49e99b] (rid 104244) by mdejong on 2002-05-22 01:20:54:

    1. assignee changed to: "hobbs"
    2. icomment:
      Logged In: YES 
      user_id=90858
      
      I don't have access to a 64 bit system. Sending back to
      hobbs in the hope that he can find someone with a 64 bit
      system.
      
      
    3. login: "mdejong"
    4. mimetype: "text/plain"
    5. username: "mdejong"
  3. Ticket change [b6ee583ca6] (rid 125499) by dgp on 2002-06-21 23:58:28:

    1. assignee changed to: "dgp"
    2. icomment:
      Logged In: YES 
      user_id=80530
      
      I'll try to look into this.
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. priority changed to: "9 Immediate"
    6. username: "dgp"
  4. Ticket change [e173269cfd] (rid 87448) by dkf on 2002-06-25 16:10:36:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      Ooer!  SHA1Transform (in sample.c) is absolutely not
      portable to 64-bit systems (it assumes that
      sizeof(long)==4*sizeof(char) and that
      sizeof(long[16])==sizeof(char[64]), neither of which is
      guaranteed to be true, and both of which could fail
      independently.)  Maybe the rest of that file is better, but
      I somehow doubt it...
      
      Fixing this bug requires a hefty rewrite of that file, so
      I'm dropping the priority.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. priority changed to: "5 Medium"
    5. username: "dkf"
  5. Ticket change [af58751631] (rid 97797) by dgp on 2002-06-25 21:17:30:

    1. assignee changed to: "dkf"
    2. icomment:
      Logged In: YES 
      user_id=80530
      
      that's enough to scare me away.
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. username: "dgp"
  6. Ticket change [ede51f4637] (rid 103980) by dkf on 2002-06-25 21:27:01:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      Well, it's already scared *me* off for a while! ;^)
      
      Perhaps if I was to start by working from the tcllib
      version!
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. title changed to: "Sample Extension not 64-bit Aware"
    5. username: "dkf"
  7. Ticket change [ccb83c0233] (rid 95753) by dkf on 2002-07-26 22:04:56:

    1. icomment:
      
      
      File Added - 27812: 64bit.patch
      
      Logged In: YES 
      user_id=79902
      
      Could someone try this possible fix?
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  8. Add attachment "64bit.patch" [e81ee5ed41] (rid 104597) by dkf on 2002-07-26 22:04:56.

  9. Ticket change [a7964bb8ab] (rid 98828) by dgp on 2002-07-27 12:34:16:

    1. assignee changed to: "dgp"
    2. icomment:
      Logged In: YES 
      user_id=80530
      
      assigning to myself so I'll remember to test this when I get 
      home
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. username: "dgp"
  10. Ticket change [567a8c8056] (rid 94322) by dgp on 2002-08-01 03:26:53:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Problem 1:  The shared library produced with
      an --enable-symbols configuration will not
      [load].  This means that generation of
      pkgIndex.tcl also fails -- silently.  Neither is good.
      
      % load libsample0.4g.so
      couldn't load file "libsample0.4g.so":
      /local/src/sampleextension/libsample0.4g.so: undefined
      symbol: assert
      
      Same problem without --enable-symbols actually:
      
      % load libsample0.4.so
      couldn't load file "libsample0.4.so":
      /local/src/sampleextension/libsample0.4.so: undefined
      symbol: assert
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  11. Ticket change [dcb4fcf47a] (rid 114531) by dgp on 2002-08-01 03:32:29:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      After commenting out the assert(), I get
      a [load]-able shared library; thus a valid
      pkgIndex.tcl file, and after installing a
      `make test` runs successfully with 0 failures.
      
      So, good 64-bit fix (modulo assert-removal),
      but new build/install issues discovered.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  12. Ticket change [be438c8084] (rid 102047) by dgp on 2002-08-01 03:34:02:

    1. assignee changed to: "dkf"
  13. Ticket change [d50dc264d0] (rid 123551) by dgp on 2003-03-05 13:43:57:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      status on this one?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  14. Ticket change [4511c47cf8] (rid 116816) by dkf on 2003-03-07 18:27:24:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      Status: I was busy (and still am, alas.)
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  15. Ticket change [c82fbedaad] (rid 122062) by dgp on 2003-11-13 08:04:24:

    1. foundin changed to: "obsolete: 8.5a0"
  16. Add attachment "554351.patch" [c59c39d572] (rid 112028) by dgp on 2003-12-08 23:27:11.

  17. Ticket change [b779e2338f] (rid 125606) by dgp on 2003-12-08 23:27:11:

    1. assignee changed to: "hobbs"
    2. icomment:
      
      
      File Added - 69939: 554351.patch
      
      Logged In: YES 
      user_id=80530
      
      
      With the recent changes (TEA 3)
      this slightly modified patch seems
      to be all we need for 64-bit support.
      Thanks, dkf.  tclguy, please test and
      apply.
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. username: "dgp"
  18. Ticket change [6b8678ed43] (rid 128341) by hobbs on 2003-12-09 01:28:34:

    1. closedate changed to: "2003-12-08T18:28:34"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      2nd patch applied for sample0.5.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "hobbs"