Artifacts Associated With Ticket 1020445fffffffffffffffffffffffffffffffff
Ticket change [1d73574f81] (rid 90809) by loewis on 2004-09-01 14:18:26:
- assignee initialized to: "mdejong"
- cmimetype initialized to: "text/plain"
- 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.
- foundin initialized to: "obsolete: 8.4.7"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "loewis"
- subsystem initialized to: "53. Configuration and Build Tools"
- title initialized to: "Tcl does not build on Win64-Itanium"
- type initialized to: "Bug"
Ticket change [b53e596284] (rid 125209) by hobbs on 2004-09-02 00:42:55:
- assignee changed to: "kennykb"
- 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. - login: "hobbs"
- mimetype: "text/plain"
- priority changed to: "4"
- resolution changed to: "Fixed"
- username: "hobbs"
Ticket change [9f6cfbe78e] (rid 96642) by loewis on 2004-09-02 01:42:51:
- 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?
- login: "loewis"
- mimetype: "text/plain"
- username: "loewis"
- icomment:
Ticket change [f0bffdccf2] (rid 109249) by hobbs on 2004-09-02 02:00:09:
- 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.
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment:
Ticket change [d867e25746] (rid 107431) by loewis on 2004-09-02 03:48:05:
- 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.
- login: "loewis"
- mimetype: "text/plain"
- username: "loewis"
- icomment:
Ticket change [2fde560cca] (rid 93143) by kennykb on 2004-09-05 00:52:51:
- 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.
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"
- icomment:
Ticket change [f5cf19dd32] (rid 130178) by kennykb on 2004-09-08 00:52:36:
- closedate changed to: "2004-09-07T17:52:36"
- closer changed to: "kennykb"
- status changed to: "Closed"
Ticket change [2697216ad2] (rid 88369) by hobbs on 2004-09-08 01:19:44:
- assignee changed to: "davygrvy"
- icomment:
Logged In: YES user_id=72656 reopened and assigned to Dave to address the makefile.vc errors for compiling for WIN64.
- login: "hobbs"
- mimetype: "text/plain"
- status changed to: "Open"
- username: "hobbs"
Ticket change [6faa330732] (rid 100351) by davygrvy on 2004-09-08 03:14:09:
- 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".
- login: "davygrvy"
- mimetype: "text/plain"
- username: "davygrvy"
- icomment:
Ticket change [5aff61c5bd] (rid 118241) by loewis on 2004-09-08 03:39:41:
- 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).
- login: "loewis"
- mimetype: "text/plain"
- username: "loewis"
- icomment:
Ticket change [b7ec5e7651] (rid 128879) by davygrvy on 2004-09-08 03:58:22:
- 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.
- login: "davygrvy"
- mimetype: "text/plain"
- username: "davygrvy"
- icomment:
Ticket change [239a7e6f07] (rid 130968) by loewis on 2004-09-08 04:04:46:
- 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.
- login: "loewis"
- mimetype: "text/plain"
- username: "loewis"
- icomment:
Ticket change [a970d9d445] (rid 99148) by davygrvy on 2004-09-08 05:01:17:
- icomment:
Logged In: YES user_id=7549 Then don't use the win64 compile of nmake
- login: "davygrvy"
- mimetype: "text/plain"
- username: "davygrvy"
- icomment:
Ticket change [1ca8aa434f] (rid 90644) by davygrvy on 2004-09-08 05:06:51:
- 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.
- login: "davygrvy"
- mimetype: "text/plain"
- username: "davygrvy"
- icomment:
Ticket change [75c43eba62] (rid 105444) by davygrvy on 2004-09-08 05:25:52:
- assignee changed to: "hobbs"
- 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..
- login: "davygrvy"
- mimetype: "text/plain"
- username: "davygrvy"
Ticket change [3764343d5b] (rid 107266) by davygrvy on 2004-09-08 05:42:56:
- 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.
- login: "davygrvy"
- mimetype: "text/plain"
- resolution changed to: "None"
- username: "davygrvy"
- icomment:
Ticket change [55d18a88bc] (rid 94214) by hobbs on 2004-09-10 12:10:13:
- title changed to:
Tcl does not build on Win64-Itanium using makefile.vc
- title changed to:
Ticket change [f4fcf04082] (rid 130021) by hobbs on 2005-03-09 07:15:56:
- closedate changed to: "2005-03-09T00:15:56"
- closer changed to: "hobbs"
- 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.
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "hobbs"