Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 58a89329a5e257767debf4e5ecf905ebd5d855fc
Ticket: 554351ffffffffffffffffffffffffffffffffff
Sample Extension not 64-bit Aware
User & Date: dgp on 2002-05-10 02:25:29
Changes

  1. assignee changed to: "mdejong"
  2. cmimetype changed to: "text/plain"
  3. comment changed 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 changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "70. Sample Extension"
  10. title changed to: "64-bit segfault"
  11. type changed to: "Bug"