Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: Error D8030 when you use the /MP option to try to build a Visual C++ project in Visual Studio 2010


View products that this article applies to.

Symptoms

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 '

↑ Back to the top


Cause

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.

↑ Back to the top


Resolution

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:Note 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.


Prerequisites

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 nameFile versionFile sizeDateTimePlatform
Cl.exe16.0.40219.319145,72823-May-201111:15x86

↑ Back to the top


Status

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

↑ Back to the top


Keywords: kbqfe, kbhotfixserver, kbfix, kbsurveynew, kbexpertiseadvanced, kbhotfixdev, kb

↑ Back to the top

Article Info
Article ID : 2546748
Revision : 2
Created on : 9/19/2018
Published on : 9/19/2018
Exists online : False
Views : 278