Skip to content
Tcl Source Code History Of Ticket 3554282fffffffff
Login

History Of Ticket 3554282fffffffff

Artifacts Associated With Ticket 3554282fffffffff

  1. Ticket change [5868a9f665] (rid 117798) by stwo on 2012-08-04 15:03:18:

    1. assignee initialized to: "nijtmans"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      As of checkin 30736d63f0, CFLAGS is getting set to "-g -O2" and we are trying to avoid that.
      In tcl.m4,TEA_SETUP_COMPILER_CC:
      # If the user did not set CFLAGS, set it now to keep
      # the AC_PROG_CC macro from adding "-g -O2".
      if test "${CFLAGS+set}" != "set" ; then
          CFLAGS=""
      fi
      
    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: "stwo"
    10. subsystem initialized to: "85. tclconfig"
    11. title initialized to: "Checkin [30736d63f0] broke CFLAGS"
    12. type initialized to: "Bug"
  2. Ticket change [27d472d675] (rid 88588) by ferrieux on 2012-08-05 00:17:42:

    1. icomment:
      Upping the prio. That should not happen.
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. priority changed to: "8"
    5. username: "ferrieux"
  3. Ticket change [7a89501378] (rid 90340) by nijtmans on 2012-08-05 02:30:28:

    1. assignee changed to: "stwo"
    2. icomment:
      I'm  sorry, but I don't see how checkin 30736d63f0 changed
      anything about CFLAGS, nor I really understand the
      problem. So, Stuart, please just make the modifications
      you would want, and I will check whether it breaks
      any of the cross-compiling support that 30736d63f0
      adds. That probably is the fastest way to resolve this
      issue. I don't have any objections to setting
      CFLAGS to empty if it is not set.
      
      Regards,
              Jan Nijtmans
      
      
      
    3. login: "nijtmans"
    4. mimetype: "text/plain"
    5. username: "nijtmans"
  4. Ticket change [27dd199644] (rid 88597) by nijtmans on 2012-08-06 20:39:47:

    1. assignee changed to: "nijtmans"
    2. icomment:
      Assigning back to me, because I'm starting to see the problem.
      
      Normally, configure scripts to the following:
      TEA_INIT
      ....
      TEA_LOAD_TCLCONFIG
      ...
      TEA_SETUP_COMPILER
      
      (just the relevant ones for this analysis)
      
      One of the difficulties in cross-compilation support is that TEA_INIT
      no longer is able to determine whether we are on win32 or unix,
      so it was moved to TEA_LOAD_TCLCONFIG. Doing that
      it needs AC_TRY_COMPILE, determining whether the
      compiler sets _WIN32 or not, that's the only reliable way
      to determine that.
      
      Previously,  TEA_SETUP_COMPILER was the first
      macro which called the compiler, that;s where the
      CFLAGS were set for the first time.
      
      So, possible solution: repeat the given lines
      in the TEA_LOAD_TCLCONFIG macro as
      well, that should fix this.
      
      
    3. login: "nijtmans"
    4. mimetype: "text/plain"
    5. username: "nijtmans"
  5. Ticket change [54f86e4cd8] (rid 94044) by nijtmans on 2012-08-07 14:06:43:

    1. assignee changed to: "stwo"
    2. closedate changed to: "2012-08-07T07:06:43"
    3. closer changed to: "nijtmans"
    4. icomment:
      > So, possible solution: repeat the given lines
      > in the TEA_LOAD_TCLCONFIG macro as
      > well, that should fix this.
      That approach didn't work, it's not clear to me why. But
      found a simpler solution. The problem here was that
      the AC_TRY_COMPILE simply did too much things
      we don't want, so I replaced the AC_TRY_COMPILE
      macro call with just the small part we need.
      
      Stuart, please verify that things are correct now.
      So thread/Itcl/tdbc's configure scripts can all
      be regenerated for inclusion in Tcl 8.6b3.
      
      
    5. login: "nijtmans"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Pending"
    9. username: "nijtmans"
  6. Ticket change [03d7e238d7] (rid 119894) by stwo on 2012-08-07 15:58:07:

    1. icomment:
      I've moved the CFLAGS test/set to TEA_INIT and restored your previous code.
      Doing the check as early as possible should be the best way though sadly the code had a fine and better home in TEA_SETUP_COMPILER_CC.
      Tcl and Tk also do the check early.
      This is more fallout from the cygwin changes; I hope it's worth it. /:
      
      
    2. login: "stwo"
    3. mimetype: "text/plain"
    4. status changed to: "Open"
    5. username: "stwo"
  7. Ticket change [1ca27cb314] (rid 90638) by nijtmans on 2012-08-07 17:29:55:

    1. closedate changed to: "2012-08-07T10:29:55"
    2. closer changed to: "nijtmans"
    3. icomment:
      
      
      allow_comments - 1
      
      >This is more fallout from the cygwin changes; I hope it's worth it. /:
      It's not only Cygwin, you can now cross-compile win32
      TEA extesnions on Darwin or Linux as well, just
      out-of-the-box ;-) So, yes it's worth it.
      
      Anyway, tried it on Cygwin, and it appears to work fine.
      Thanks! Didn't expect it to be that simple.....
      
      
    4. login: "nijtmans"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "nijtmans"