Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 06643cf5d2a3d266710119acbcda5c9b49d9eb47
Ticket: 1617840fffffffffffffffffffffffffffffffff
128 bit arithmetic on x86_64
User & Date: das on 2006-12-18 23:29:33
Changes

  1. assignee changed to: "kennykb"
  2. icomment:
    Logged In: YES 
    user_id=90580
    Originator: NO
    
    I don't have any knowledge on why this fails on non-Darwin x86_64 platforms.
    
    The 2006-08-18 problem on Darwin was that gcc tetraint-arithmetic fallbacks were not implemented on the platform so use of operations like tetraint division in libtommath lead to link errors. The solution was to disable use of tetraints on that platform via #undef MP_64BIT in tclTomMath.h
    
    From this bug, it appears that on x86_64 platforms where linking with MP_64BIT defined does succeed, there may be problems with the use of tetraint arithmetic. My suggestion on the chat was simply to undefine MP_64BIT to see if tetraints were indeed to blame.
    I don't know if this should be done unconditionally on all x86_64 platforms/for all versions of gcc, somebody more familiar with libtommath needs to look at that, passing to kbk.
    
    
  3. login: "das"
  4. mimetype: "text/plain"
  5. priority changed to: "7 High"
  6. username: "das"