Artifacts Associated With Ticket b241e4ccc0
Ticket change [2ba4d996b4] (rid 197069) by petasis on 2022-01-14 09:08:41:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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 - foundin initialized to: "8.7a5"
- is_private initialized to: "0"
- login: "petasis"
- priority initialized to: "5 Medium"
- private_contact initialized to: "3cb4dabca0e1e7b9d560b2ca060abb67f2a97f23"
- resolution initialized to: "None"
- severity initialized to: "Critical"
- status initialized to: "Open"
- submitter initialized to: "petasis"
- subsystem initialized to: "56. LibTomMath"
- title initialized to: "[BUG]: Error while building with Tcl 8.7a5..."
- type initialized to: "Bug"
Ticket change [e33cd73807] (rid 197085) by jan.nijtmans on 2022-01-14 16:33:10:
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2459594.18970278"
- closer changed to: "jan.nijtmans"
- 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!
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"