Tcl Source Code

View Ticket
Login
Ticket UUID: 60725611c948c5c1ed445f1d18b5a66751ffa588
Title: MS VC: error during install of thread package
Type: Bug Created on: 2019-12-23 19:58:10
Submitter: bll Assigned to: nobody
Subsystem: - New Builtin Commands Severity: Minor
Priority: 5 Medium Last modified: 2019-12-23 19:58:10
Status: Open Closed by: nobody
Resolution: None Closed on:
Version: 8.6.10
Description:
MS VC is getting an error during the install of the thread package.
Note that the prior invocation of 'rc.exe' for Tcl worked.

My build script (running in sh in Msys2):

      CC=cl
      tbat=tbuild.bat
      echo "echo on" > ${tbat}
      echo "call \"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat\"" >> ${tbat}
      echo "nmake -f makefile.vc distclean" >> ${tbat}
      echo "nmake -f makefile.vc clean" >> ${tbat}
      echo "nmake -f makefile.vc INSTALLDIR=/msys64$INSTLOC release" >> ${tbat}
      echo "nmake -f makefile.vc INSTALLDIR=/msys64$INSTLOC install" >> ${tbat}
      unix2dos ${tbat}
      cmd.exe /d/c${tbat}
      mv -f $INSTLOC/bin/tcl86t.dll $INSTLOC/bin/tcl86.dll
      mv -f $INSTLOC/bin/tclsh86t.exe $INSTLOC/bin/tclsh86.exe
      CC=$comp


The relevant output from the install:

...
Installing encodings

Microsoft (R) Program Maintenance Utility Version 14.16.27034.0
Copyright (C) Microsoft Corporation.  All rights reserved.

*** Using C:\msys64\home\bll\t\tcl8610work\tcl8.6.10\win\..\win\rules.vc
*** Compiler does not have 'Pentium 0x0f fix'
*** Building against Tcl at 'C:\msys64\home\bll\t\tcl8610work\tcl8.6.10\win\..'
*** Intermediate directory will be 'C:\msys64\home\bll\t\tcl8610work\tcl8.6.10\pkgs\thread2.8.5\win\Release_VC1916\t
hread_ThreadedDynamic'
*** Output directory will be 'C:\msys64\home\bll\t\tcl8610work\tcl8.6.10\pkgs\thread2.8.5\win\Release_VC1916'
*** Installation, if selected, will be in '\msys64\home\bll\t\localB32\lib'
*** Suffix for binaries will be 't'
*** Compiler version 1916. Target IX86, host AMD64.
        rc -fo C:\msys64\home\bll\t\tcl8610work\tcl8.6.10\pkgs\thread2.8.5\win\Release_VC1916\thread_ThreadedDynamic\thread.res -r -i "C:\msys64\home\bll\t\tcl8610work\tcl8.6.10\pkgs\thread2.8.5\win\..\generic" -i "C:\msys64\home\bll\t\tcl8610work\tcl8.6.10\pkgs\thread2.8.5\win\Release_VC1916\thread_ThreadedDynamic"  -I"C:\msys64\home\bll\t\tcl8610work\tcl8.6.10\win\..\generic" -I"C:\msys64\home\bll\t\tcl8610work\tcl8.6.10\win\..\win"  /DDEBUG=0 -d UNCHECKED=0  /DCOMMAVERSION=2,8,5,0  /DDOTVERSION=\"2.8.5\"  /DVERSION=\"285\"  /DSUFX=\"t\"  /DPROJECT=\"thread\"  /DPRJLIBNAME=\"thread285t.dll\" C:\msys64\home\bll\t\tcl8610work\tcl8.6.10\pkgs\thread2.8.5\win\..\win\thread.rc
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Copyright (C) Microsoft Corporation.  All rights reserved.

fatal error RC1109: error creating C:\msys64\home\bll\t\tcl8610work\tcl8.6.10\pkgs\thread2.8.5\win\Release_VC1916\thread_ThreadedDynamic\thread.res
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x86\rc.EXE"' : return code '0x1'
Stop.