When you try to build a Microsoft Visual C++ project, the build operation may fail if the multiple processes (/MP) compiler option is enabled in Microsoft Visual Studio 2010. Additionally, you receive the following error message in the Output window:

cl: Command line error D8030: INTERNAL COMPILER ERROR in 'component_name '


This issue occurs because the GetEnvironmentStringsW function returns a raw pointer to an environment block instead of to a copy of the environment block during the compiling process. If the SetEnvironmentVariable function is called at the same time, the function changes the environment block and causes an error.


Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft website: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.


To apply this hotfix, you must have Microsoft Visual Studio 2010 Service Pack 1 (SP1) installed.

Restart requirement

You must restart the computer after you apply this hotfix if the affected file is being used.

We recommend that you close all .NET Framework applications and all Visual Studio instances before you apply this hotfix.

File information

The version of this has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

File name

File version

File size











Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!