Skip to content
Tcl Source Code History Of Ticket b241e4ccc0
Login

History Of Ticket b241e4ccc0

Artifacts Associated With Ticket b241e4ccc0

  1. Ticket change [2ba4d996b4] (rid 197069) by petasis on 2022-01-14 09:08:41:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      Hi all,
      
      I am trying to recompile tkinter from source with Tcl 8.7a5, but it fails.
      
      Without specifying anything, I end up with a set of undefined symbols staring with TclBN_.
      
      Looking in tclTomMathDecls.h, there is a TCL_WITH_EXTERNAL_TOMMATH definition. Enabling this, I end up with a single undefined symbol,
      TclBN_mp_ubin_size.
      
      This is due to line 174 of the file:
      
      #define mp_unsigned_bin_size(mp) (MP_DEPRECATED_PRAGMA("replaced by mp_ubin_size") (int)TclBN_mp_ubin_size(mp))
      
      It should respect TCL_WITH_EXTERNAL_TOMMATH, which it does not.
      
      George
      
    5. foundin initialized to: "8.7a5"
    6. is_private initialized to: "0"
    7. login: "petasis"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "3cb4dabca0e1e7b9d560b2ca060abb67f2a97f23"
    10. resolution initialized to: "None"
    11. severity initialized to: "Critical"
    12. status initialized to: "Open"
    13. submitter initialized to: "petasis"
    14. subsystem initialized to: "56. LibTomMath"
    15. title initialized to: "[BUG]: Error while building with Tcl 8.7a5..."
    16. type initialized to: "Bug"
  2. Ticket change [e33cd73807] (rid 197085) by jan.nijtmans on 2022-01-14 16:33:10:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2459594.18970278"
    3. closer changed to: "jan.nijtmans"
    4. icomment:
      Thanks for the report! Indeed, the deprecation of mp_unsigned_bin_size was not correctly handled. Should be fixed now (will be in Tcl 8.7a6).
      
      However, the functions mp_unsigned_bin_size() and mp_to_unsigned_bin_n() are deprecated in libtommath, I recommend to use mp_ubin_size() resp mp_to_ubin() in stead. Those two functions are available in Tcl 8.6 too. Using mp_ubin_size()/mp_to_ubin() in _tkinter.c would make this work for Tk 8.7a5 too.
      
      Thanks!
      
    5. login: "jan.nijtmans"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"