Skip to content
Tcl Source Code History Of Ticket 1020445
Login

History Of Ticket 1020445

Artifacts Associated With Ticket 1020445

  1. Ticket change [1d73574f81] (rid 90809) by loewis on 2004-09-01 14:18:26:

    1. assignee initialized to: "mdejong"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      I'm trying to build Tcl for Win64-Itanium, using x86 as
      the host system. I try to follow the instructions in
      win\makefile.vc. Therefore, I do
      
      [vc 2003]vc7\bin\vcvars32.bat
      [SDK]setenv.bat /pre64 /retail
      
      The latter fails because /pre64 is not support; I have
      to use /XP64 instead. So I do that. Then I invoke
      
      nmake -f makefile.vc MACHINE=IA64
      
      This gives a MessageBox, with the title
      [tcl]win\nmakehlp.exe, and the text
      
      [tcl]win\nmakehlp.exe is not a valid Win32 application
      
      This analysis is correct; nmakehlp.exe is a Win64
      application, which cannot be executed on the build system.
      
      Clicking OK a number of times, the build procedes,
      until it gives
      
      cl -nologo -c -W3 -YX -Fp.\Release\tcl_Dynamic\
      -QIA64_Bx -O2 -Op -Gs -MD -I"..\win" -I"..\generic" 
      -DTCL_PIPE_DLL=\"tclpip84.dll\"  -DBUILD_tcl -Fo.\R
      elease\tcl_Dynamic\
      @C:\DOCUME~1\MARTIN~1.VON\LOCALS~1\Temp\nm41B.tmp
      cl : Command line warning D4002 : ignoring unknown
      option '-QIA64_Bx'
      tclWin32Dll.c
      ..\win\tclWin32Dll.c(1138) : error C2065: '_asm' :
      undeclared identifier
      [more errors omitted]
      NMAKE : fatal error U1077: 'cl' : return code '0x2'
      
      At this point, the build aborts.
      
      
      
    4. foundin initialized to: "obsolete: 8.4.7"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "loewis"
    9. subsystem initialized to: "53. Configuration and Build Tools"
    10. title initialized to: "Tcl does not build on Win64-Itanium"
    11. type initialized to: "Bug"
  2. Ticket change [b53e596284] (rid 125209) by hobbs on 2004-09-02 00:42:55:

    1. assignee changed to: "kennykb"
    2. icomment:
      Logged In: YES 
      user_id=72656
      
      The _try { _asm ... } added for CPU id wasn't valid for
      WIN64.  Since it's not critical, I have #ifdef checked for
      it, but I'm moving this over to Kevin to see if he wants to
      correct that bit of code.  Fixed in 8.4-branch and head,
      along with other WIN64 corrections to tclWinDde.c and
      tclWinReg.c.
      
      
    3. login: "hobbs"
    4. mimetype: "text/plain"
    5. priority changed to: "4"
    6. resolution changed to: "Fixed"
    7. username: "hobbs"
  3. Ticket change [9f6cfbe78e] (rid 96642) by loewis on 2004-09-02 01:42:51:

    1. icomment:
      Logged In: YES 
      user_id=21627
      
      What about the other problems, e.g. the incorrect
      documentation in the makefile, and the failure to
      cross-build properly because a host binary is build with the
      target compiler?
      
      
    2. login: "loewis"
    3. mimetype: "text/plain"
    4. username: "loewis"
  4. Ticket change [f0bffdccf2] (rid 109249) by hobbs on 2004-09-02 02:00:09:

    1. icomment:
      Logged In: YES 
      user_id=72656
      
      The makefile.vc is not the standard supported makefile - the
      cygwin build system is.  While it may seem a bit odd for
      Windows-only users, it is much easier to maintain the Tcl/Tk
      and TEA build system across platforms.  You want to use that
      with --enable-64bit for Win64 builds.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  5. Ticket change [d867e25746] (rid 107431) by loewis on 2004-09-02 03:48:05:

    1. icomment:
      Logged In: YES 
      user_id=21627
      
      If makefile.vc is not supported (i.e. bugs reported against
      it won't be fixed), could a note be added to that file
      saying so? Also, win/README mentions makefile.vc, and
      suggests that Cygwin is not needed. It would be good if the
      mentioning of the makefile.vc process was removed, or that
      the process is atleast mentioned as unsupported.
      
      
    2. login: "loewis"
    3. mimetype: "text/plain"
    4. username: "loewis"
  6. Ticket change [2fde560cca] (rid 93143) by kennykb on 2004-09-05 00:52:51:

    1. icomment:
      Logged In: YES 
      user_id=99768
      
      It would be nice to do _getIndReg and retrieve the CPUID on
      IA64 as well, but as Jeff points out, it isn't critical.  I
      also am
      making the (questionable?) presumption that Win64 vendors
      have got their act together with keeping QueryPerformanceCounter
      synchronized, so I'm #ifdef'ing the code that calls TclWinCPUID
      out on IA64.
      
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. username: "kennykb"
  7. Ticket change [f5cf19dd32] (rid 130178) by kennykb on 2004-09-08 00:52:36:

    1. closedate changed to: "2004-09-07T17:52:36"
    2. closer changed to: "kennykb"
    3. status changed to: "Closed"
  8. Ticket change [2697216ad2] (rid 88369) by hobbs on 2004-09-08 01:19:44:

    1. assignee changed to: "davygrvy"
    2. icomment:
      Logged In: YES 
      user_id=72656
      
      reopened and assigned to Dave to address the makefile.vc
      errors for compiling for WIN64.
      
      
    3. login: "hobbs"
    4. mimetype: "text/plain"
    5. status changed to: "Open"
    6. username: "hobbs"
  9. Ticket change [6faa330732] (rid 100351) by davygrvy on 2004-09-08 03:14:09:

    1. icomment:
      Logged In: YES 
      user_id=7549
      
      Martin,
      
      Your statement that "makefile.vc doesn't support Itanium" is 
      is incorrect.  Should be "used to work".
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  10. Ticket change [5aff61c5bd] (rid 118241) by loewis on 2004-09-08 03:39:41:

    1. icomment:
      Logged In: YES 
      user_id=21627
      
      That's good to hear. However, I could not quite figure out
      how it is supposed to work. Do I really have to run vcvars32
      first? I had hoped that the SDK alone is sufficient in this
      scenario.
      
      Also (and OTOH), does it support cross-compilation, or did
      it use to work only when building on Itanium natively? I see
      the build process generates a number of binaries for the
      build machine - which would have to be build with the native
      compiler (whatever that is).
      
      
    2. login: "loewis"
    3. mimetype: "text/plain"
    4. username: "loewis"
  11. Ticket change [b7ec5e7651] (rid 128879) by davygrvy on 2004-09-08 03:58:22:

    1. icomment:
      Logged In: YES 
      user_id=7549
      
      According to 
      http://www.microsoft.com/msdownload/platformsdk/sdkupdate
      /contents.htm , the setenv switch might be /SVR64 these 
      days.  But that's the docs for the Feb2003 one.  There's the 
      newer July2004 (XPsp2) one currently, but I can't seem to 
      install it due to some odd msxml3 sp4 vs. sp2 oddity with their 
      dhtml on 
      http://www.microsoft.com/msdownload/platformsdk/sdkupdate
      /
      
      PS. there's no reason to have to use the 64-bit compile of 
      nmake when doing a cross.  Give it a shot, try setenv first.
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  12. Ticket change [239a7e6f07] (rid 130968) by loewis on 2004-09-08 04:04:46:

    1. icomment:
      Logged In: YES 
      user_id=21627
      
      Please try it yourself. Not running vcvars32.bat first
      triggers an error at the top of makefile.vc, as that has an
      explicit check for vcvars32.bat being run. That means that
      native compiles of Tcl currently can't be supported, since
      VC.NET cannot be installed on Win64.
      
      OTOH, a cross-compile gives the message about nmakehlp.exe
      that I reported above.
      
      
    2. login: "loewis"
    3. mimetype: "text/plain"
    4. username: "loewis"
  13. Ticket change [a970d9d445] (rid 99148) by davygrvy on 2004-09-08 05:01:17:

    1. icomment:
      Logged In: YES 
      user_id=7549
      
      Then don't use the win64 compile of nmake
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  14. Ticket change [1ca8aa434f] (rid 90644) by davygrvy on 2004-09-08 05:06:51:

    1. icomment:
      Logged In: YES 
      user_id=7549
      
      I'd love to try it here, but neither do I have VC7, nor did the 
      Aug2004 (XPsp2) SDK contain a win64 compiler.  The Feb2003 
      did, IIRC.
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  15. Ticket change [75c43eba62] (rid 105444) by davygrvy on 2004-09-08 05:25:52:

    1. assignee changed to: "hobbs"
    2. icomment:
      Logged In: YES 
      user_id=7549
      
      ohh, I get it.  The helper is built according to $(cc) during a 
      cross.
      
      Well, I can't really do much to fix it except advise in the areas 
      I can run it.  As I neither have VC7 with it's wacked changes 
      to vcvars32.bat to see in what way the envars are changed, 
      I can't assist with this..
      
      
    3. login: "davygrvy"
    4. mimetype: "text/plain"
    5. username: "davygrvy"
  16. Ticket change [3764343d5b] (rid 107266) by davygrvy on 2004-09-08 05:42:56:

    1. icomment:
      Logged In: YES 
      user_id=7549
      
      What's wrong with building for Win32 first, then running the 
      clean target?  That should remove Release\Tcl_Dynamic\*.*, 
      but leave nmakehlp.exe
      
      Post a patch here when you get it worked-out.
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. resolution changed to: "None"
    5. username: "davygrvy"
  17. Ticket change [55d18a88bc] (rid 94214) by hobbs on 2004-09-10 12:10:13:

    1. title changed to:
      Tcl does not build on Win64-Itanium using makefile.vc
      
  18. Ticket change [f4fcf04082] (rid 130021) by hobbs on 2005-03-09 07:15:56:

    1. closedate changed to: "2005-03-09T00:15:56"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      Just added a patch to the .vc's that allow building for ia64
      with the platform SDK.  Confirmed build from Trent Mick.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "hobbs"