Skip to content
Tcl Source Code History Of Ticket 1879220
Login

History Of Ticket 1879220

Artifacts Associated With Ticket 1879220

  1. Ticket change [53ab5a3dad] (rid 93796) by eriklns on 2008-01-24 20:48:10:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      I experienced that Linux builds of the Tcl and Tk source distributions generate binaries whose names do not consistently distinguish debug and non-debug builds (using the suffix "g"). This makes that when installing them, debug builds overwrite non-debug builds (or vice versa, depending on the build order).
      
      Remarkable in this respect is that:
      - Tcl8.4.17 behaves differently from Tcl8.5.0 (see table below);
      - Cross-building from Linux -> win32 behaves differently from native Linux builds: all binaries in a cross debug build carry the suffix "g".
      
      I've been using the flags --disable-symbols and --enable-symbols to ./configure, followed by "make", to generate the different types of build.
      
      Names of binaries in the table below as they were installed using "make install".
      
                          NATIVE-NON-DEBUG  NATIVE DEBUG           CROSS DEBUG
      * Tcl8.4.17
      library             libtcl8.4.so      libtcl8.4g.so          libtcl84g.dll
      stubs library       libtclstub8.4.a   libtclstub8.4g.a       libtclstub84g.a
      application         tclsh8.4          tclsh8.4 (*)           tclsh84g.exe (*)
      
      * Tk8.4.17
      library             libtk8.4.so       libtk8.4g.so           --
      stubs library       libtkstub8.4.a    libtkstub8.4g.a        --
      application         wish8.4           wish8.4 (*)            --
      
      * Tcl8.5.0
      library             libtcl8.5.so      libtcl8.5.so (**)      libtcl85g.dll
      stubs library       libtclstub8.5.a   libtclstub8.5.a (**)   libtclstub85g.a
      application         tclsh8.5          tclsh8.5 (*)           tclsh85g.exe (*)
      
      * Tk8.5.0
      library             libtk8.5.so       libtk8.5.so (**)       --
      stubs library       libtkstub8.5.a    libtkstub8.5.a (**)    --
      application         wish8.5           wish8.5 (*)            --
      
      
      (*) means: I'm unsure whether the names are OK, and in any case don't understand why the cross and native builds behave differently.
      (**) means: "I didn't expect the same names for Linux native debug and non-debug builds".
      --   means: not investigated
      
      Sincerely,
      
      Erik Leunissen
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "eriklns"
    10. subsystem initialized to: "None"
    11. title initialized to: "Inconsistent naming of debug builds"
    12. type initialized to: "Bug"
  2. Add attachment "debugsuffix.txt" [f377aaa385] (rid 129726) by eriklns on 2008-01-25 03:57:14.

  3. Ticket change [fc5884c26b] (rid 108223) by eriklns on 2008-01-25 03:57:16:

    1. icomment:
      
      
      File Added - 263646: debugsuffix.txt
      
      Logged In: YES 
      user_id=113903
      Originator: YES
      
      Hmm, this tracker interface doesn't preserve the table format that I created so cautiously.
      Please copy/paste the previous message into an editor, using Courier font, to restore the table outline.
      You can also use the text in the attached file, which is what I pasted into the browser interface. Again use a fixed size font like Courier.
      
      File Added: debugsuffix.txt
      
      
    2. login: "eriklns"
    3. mimetype: "text/plain"
    4. username: "eriklns"
  4. Ticket change [fc6a5ea188] (rid 108235) by dkf on 2008-01-25 15:58:47:

    1. assignee changed to: "hobbs"
    2. foundin changed to: "obsolete: 8.5.0"
    3. subsystem changed to: "53. Configuration and Build Tools"
  5. Ticket change [caec1010f3] (rid 95440) by jenglish on 2008-01-27 09:06:54:

    1. icomment:
      Logged In: YES 
      user_id=68433
      Originator: NO
      
      See also Patch #1081595 ("Die, DBGX, die").  This was removed on purpose.
      
      
    2. login: "jenglish"
    3. mimetype: "text/plain"
    4. username: "jenglish"
  6. Ticket change [9da137dd17] (rid 96341) by eriklns on 2009-08-15 16:50:26:

    1. foundin changed to: "obsolete: 8.5.7"
    2. icomment:
      Confirmed for Tcl8.5.7.
      I would like to mention that I understand that the "g" suffix was deprecated since 8.5. Please disregard that part of this report.
      
      The observed difference between win vs. unix builds is still valid though.
      
      
      
    3. login: "eriklns"
    4. mimetype: "text/plain"
    5. username: "eriklns"
  7. Ticket change [2b286a2abe] (rid 259677) by serhiy.storchaka on 2026-10-21 09:06:36:

    1. icomment:
      Since TIP #578 ([834ef99124], Tcl 9.0) neither Unix nor Windows adds the "g" suffix for debug builds, so the naming is consistent. 8.6 keeps its naming. Closing.
      
    2. login: "serhiy.storchaka"
    3. mimetype: "text/x-fossil-wiki"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  8. Ticket change [838de6f61f] (rid 259979) by serhiy.storchaka on 2026-10-22 17:19:28:

    1. closedate changed to: "2461334.879584734"
    2. closer changed to: "serhiy.storchaka"
    3. login: "serhiy.storchaka"