[Spice-devel] Compiler crashes on UsbDk source tree
Dmitry Fleytman
dmitry at daynix.com
Tue Jun 9 00:10:02 PDT 2015
Hello All,
Recently we got a UsbDk compilation problem report I’d like to share with spice-devel to make this information public.
In some cases Visual Studio 2013 compiler crashes while building specific UsbDk files (see log below).
This is a known issue with Visual Studio 2013 compiler. It was fixed in Visual Studio update 4 (https://www.microsoft.com/en-us/download/details.aspx?id=44921 <https://www.microsoft.com/en-us/download/details.aspx?id=44921>)
Having that update installed UsbDk compiles with no errors.
Best Regards,
Dmitry
===== COMPILER OUTPUT =========
The errors that I was getting are the next:
1>------ Rebuild All started: Project: UsbDkHelper, Configuration: Win7 Debug Wi
n32 ------
2>------ Rebuild All started: Project: UsbDk, Configuration: Win7 Debug Win32 --
----
1> stdafx.cpp
2> ControlDevice.cpp
2>…\usbdk\UsbDkUtil.h(408): fatal error C1001: An
internal error has occurred in the compiler.
2> (compiler file 'msc1.cpp', line 1325)
2> To work around this problem, try simplifying or changing the program near t
he locations listed above.
2> Please choose the Technical Support command on the Visual C++
2> Help menu, or open the Technical Support help file for more information
2> INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio 1
2.0\VC\bin\CL.exe'
2> Please choose the Technical Support command on the Visual C++
2> Help menu, or open the Technical Support help file for more information
1> dllmain.cpp
1> DriverAccess.cpp
1> DriverFile.cpp
1> Exception.cpp
1> Installer.cpp
1>…\usbdk\usbdkhelper\RegAccess.h(76): fatal error C100
1: An internal error has occurred in the compiler.
1> (compiler file 'f:\dd\vctools\compiler\cxxfe\sl\p1\c\convert.cpp', line 9608
)
1> To work around this problem, try simplifying or changing the program near t
he locations listed above.
1> Please choose the Technical Support command on the Visual C++
1> Help menu, or open the Technical Support help file for more information
1> RedirectorAccess.cpp
1>c1xx : fatal error C1060: compiler is out of heap space
1> An internal error has occurred in the compiler.
1> (compiler file 'msc1.cpp', line 1325)
1> To work around this problem, try simplifying or changing the program near t
he locations listed above.
1> Please choose the Technical Support command on the Visual C++
1> Help menu, or open the Technical Support help file for more information
1> INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio 1
2.0\VC\bin\CL.exe'
1> Please choose the Technical Support command on the Visual C++
1> Help menu, or open the Technical Support help file for more information
3>------ Rebuild All started: Project: UsbDkController, Configuration: Win7 Debu
g Win32 ------
4>------ Rebuild All started: Project: UsbDkInstHelper, Configuration: Win7 Debu
g Win32 ------
3> stdafx.cpp
4> stdafx.cpp
3> UsbDkController.cpp
4> UsbDkInstHelper.cpp
4>LINK : fatal error LNK1104: cannot open file ‘…\usbdk
\Install_Debug\x86\Win7Debug\UsbDkHelper.lib'
3>LINK : fatal error LNK1104: cannot open file ‘…\usbdk
\Install_Debug\x86\Win7Debug\UsbDkHelper.lib'
5>------ Rebuild All started: Project: UsbDk_Package, Configuration: Win7 Debug
Win32 ------
5>C:\Program Files (x86)\Windows Kits\8.1\build\WindowsDriver.common.targets(136
6,5): error MSB3030: Could not copy the file “…\usbdk\I
nstall_Debug\x86\Win7Debug\UsbDk.sys" because it was not found.
5>C:\Program Files (x86)\Windows Kits\8.1\build\WindowsDriver.common.targets(136
6,5): error MSB3030: Could not copy the file “...\usbdk\I
nstall_Debug\x86\Win7Debug\UsbDkController.exe" because it was not found.
5>C:\Program Files (x86)\Windows Kits\8.1\build\WindowsDriver.common.targets(136
6,5): error MSB3030: Could not copy the file “...\usbdk\I
nstall_Debug\x86\Win7Debug\UsbDkInstHelper.exe" because it was not found.
5>C:\Program Files (x86)\Windows Kits\8.1\build\WindowsDriver.common.targets(136
6,5): error MSB3030: Could not copy the file “...\usbdk\I
nstall_Debug\x86\Win7Debug\UsbDkHelper.dll" because it was not found.
========== Rebuild All: 0 succeeded, 5 failed, 0 skipped ==========
Build with Visual Studio FAILED
...\usbdk>buildAll.bat
Could Not Find ...\usbdk\*.log
Microsoft Visual Studio 2013 Version 12.0.21005.1.
Copyright (C) Microsoft Corp. All rights reserved.
The license for Visual Studio expires in 22 days.
1>------ Rebuild All started: Project: UsbDkHelper, Configuration: Win7 Debug Wi
n32 ------
2>------ Rebuild All started: Project: UsbDk, Configuration: Win7 Debug Win32 --
----
1> stdafx.cpp
2> ControlDevice.cpp
2>...\usbdk\usbdk\UsbDkUtil.h(408): fatal error C1001: An
internal error has occurred in the compiler.
2> (compiler file 'msc1.cpp', line 1325)
2> To work around this problem, try simplifying or changing the program near t
he locations listed above.
2> Please choose the Technical Support command on the Visual C++
2> Help menu, or open the Technical Support help file for more information
2> INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio 1
2.0\VC\bin\CL.exe'
2> Please choose the Technical Support command on the Visual C++
2> Help menu, or open the Technical Support help file for more information
1> dllmain.cpp
1> DriverAccess.cpp
1> DriverFile.cpp
1> Exception.cpp
1> Installer.cpp
1>...\usbdk\usbdkhelper\RegAccess.h(76): fatal error C100
1: An internal error has occurred in the compiler.
1> (compiler file 'f:\dd\vctools\compiler\cxxfe\sl\p1\c\convert.cpp', line 9608
)
1> To work around this problem, try simplifying or changing the program near t
he locations listed above.
1> Please choose the Technical Support command on the Visual C++
1> Help menu, or open the Technical Support help file for more information
1> RedirectorAccess.cpp
1>c1xx : fatal error C1060: compiler is out of heap space
1> An internal error has occurred in the compiler.
1> (compiler file 'msc1.cpp', line 1325)
1> To work around this problem, try simplifying or changing the program near t
he locations listed above.
1> Please choose the Technical Support command on the Visual C++
1> Help menu, or open the Technical Support help file for more information
1> INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio 1
2.0\VC\bin\CL.exe'
1> Please choose the Technical Support command on the Visual C++
1> Help menu, or open the Technical Support help file for more information
3>------ Rebuild All started: Project: UsbDkController, Configuration: Win7 Debu
g Win32 ------
4>------ Rebuild All started: Project: UsbDkInstHelper, Configuration: Win7 Debu
g Win32 ------
3> stdafx.cpp
4> stdafx.cpp
4> UsbDkInstHelper.cpp
3> UsbDkController.cpp
4>LINK : fatal error LNK1104: cannot open file '...\usbdk
\Install_Debug\x86\Win7Debug\UsbDkHelper.lib'
3>LINK : fatal error LNK1104: cannot open file '...\usbdk
\Install_Debug\x86\Win7Debug\UsbDkHelper.lib'
5>------ Rebuild All started: Project: UsbDk_Package, Configuration: Win7 Debug
Win32 ------
5>C:\Program Files (x86)\Windows Kits\8.1\build\WindowsDriver.common.targets(136
6,5): error MSB3030: Could not copy the file "...\usbdk\I
nstall_Debug\x86\Win7Debug\UsbDk.sys" because it was not found.
5>C:\Program Files (x86)\Windows Kits\8.1\build\WindowsDriver.common.targets(136
6,5): error MSB3030: Could not copy the file "...\usbdk\I
nstall_Debug\x86\Win7Debug\UsbDkController.exe" because it was not found.
5>C:\Program Files (x86)\Windows Kits\8.1\build\WindowsDriver.common.targets(136
6,5): error MSB3030: Could not copy the file "...\usbdk\I
nstall_Debug\x86\Win7Debug\UsbDkInstHelper.exe" because it was not found.
5>C:\Program Files (x86)\Windows Kits\8.1\build\WindowsDriver.common.targets(136
6,5): error MSB3030: Could not copy the file "...\usbdk\I
nstall_Debug\x86\Win7Debug\UsbDkHelper.dll" because it was not found.
========== Rebuild All: 0 succeeded, 5 failed, 0 skipped ==========
Build with Visual Studio FAILED
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150609/f83fc0a8/attachment.html>
More information about the Spice-devel
mailing list