Linker crashes when building in Release mode.
-
mercredi 25 avril 2012 21:57
We are able to build our app in Debug mode, but when we try to build for Release, we get a message that "Microsoft Incremental Linker has stopped working"
Additionally, this error shows up in the build log:
1>LINK : fatal error C1001: An internal error has occurred in the compiler. 1> (compiler file 'f:\dd\vctools\compiler\utc\src\p2\main.c', line 211) 1> To work around this problem, try simplifying or changing the program near the 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> 1>Release\CameraPath.obj : fatal error LNK1000: Internal error during IMAGE::Pass1 1> 1> Version 11.00.50327.1 1> 1> ExceptionCode = C0000005 1> ExceptionFlags = 00000000 1> ExceptionAddress = 62DF4628 (62CF0000) "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\c2.dll" 1> NumberParameters = 00000002 1> ExceptionInformation[ 0] = 00000000 1> ExceptionInformation[ 1] = 00000028 1> 1> CONTEXT: 1> Eax = 000017D6 Esp = 006FEBC8 1> Ebx = 00000009 Ebp = 006FEBE8 1> Ecx = 630BB2F4 Esi = 051145E8 1> Edx = 00000020 Edi = 051145E8 1> Eip = 62DF4628 EFlags = 00010202 1> SegCs = 00000023 SegDs = 0000002B 1> SegSs = 0000002B SegEs = 0000002B 1> SegFs = 00000053 SegGs = 0000002B 1> Dr0 = 00000000 Dr3 = 00000000 1> Dr1 = 00000000 Dr6 = 00000000 1> Dr2 = 00000000 Dr7 = 00000000
Toutes les réponses
-
jeudi 26 avril 2012 23:13Modérateur
> Version 11.00.50327.1
This is not the beta Dev11 compiler or linker, that would be 50214. If you are on a program which gives you access to post beta drops you should be reporting this to your program contact.
The C1001 is a crash in the compiler, so this is happening during link time code generation. If you'd like to send me the repro I'll see that it gets reported. firstname.lastname @ microsoft.com
- Proposé comme réponse Steve HorneMicrosoft Employee, Moderator mardi 1 mai 2012 02:00
-
jeudi 2 mai 2013 15:50
Hi, did you find a solution for thisproblem I am getting the same exact error ?
2>LINK : fatal error C1001: An internal error has occurred in the compiler.
2> (compiler file 'f:\dd\vctools\compiler\utc\src\p2\main.c', line 211)
2> To work around this problem, try simplifying or changing the program near the 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>LINK : fatal error C1001: An internal error has occurred in the compiler.
2> (compiler file 'f:\dd\vctools\compiler\utc\src\p2\main.c', line 211)
2> To work around this problem, try simplifying or changing the program near the 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>
2>LINK : fatal error LNK1000: Internal error during IMAGE::BuildImage
2>
2> Version 11.00.50727.1
2>
2> ExceptionCode = C0000005
2> ExceptionFlags = 00000000
2> ExceptionAddress = 6C2151F6 (6C100000) "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\c2.dll"
2> NumberParameters = 00000002
2> ExceptionInformation[ 0] = 00000000
2> ExceptionInformation[ 1] = 00000000
2>
2> CONTEXT:
2> Eax = 00000000 Esp = 002DE860
2> Ebx = 00000031 Ebp = 002DE8B8
2> Ecx = 18C62D50 Esi = 1795ED18
2> Edx = 000005BE Edi = 175687D8
2> Eip = 6C2151F6 EFlags = 00010246
2> SegCs = 00000023 SegDs = 0000002B
2> SegSs = 0000002B SegEs = 0000002B
2> SegFs = 00000053 SegGs = 0000002B
2> Dr0 = 00000000 Dr3 = 00000000
2> Dr1 = 00000000 Dr6 = 00000000
2> Dr2 = 00000000 Dr7 = 00000000

