Project rebuilds every time in Visual Studio 2010*

Issue Number: DPD200172966


Problem :
The project x64 configuration rebuilds even when a single file is changed.
This problem only happens when building the x64 configuration using the native Intel C++ or Visual Fortran compiler for Intel 64 on Windows.

It is not a problem for using the cross Intel C++ or Visual Fortran compiler for Intel 64.

The native Intel C++ and Visual Fortran compilers for Intel 64 are only installed on a x64 OS.

Environment :

  • OS: Windows 7* x64,  Windows Server 2008 R2 x64
  • Visual Studio 2010 standard edition or above
  • Affected products:
    • Intel® C++ Composer XE for Windows
    • Intel® C++ Studio XE for Windows
    • Intel® Composer XE for Windows
    • Intel® Visual Fortran Composer XE for Windows
    • Intel® Visual Fortran Studio XE for Windows
    • Intel® Parallel Studio XE for Windows
Root Cause :
The recent Windows updates have some changes in the kernel32.dll so that the tracker.exe could not catch the file operations by Intel C++ compiler and Intel Visual Fortran compiler, therefore the icl.read.1.tlog & ifort.read.1.tlog are not updated properly. It is not clear if the bug is in the Intel compilers.

This issue only happens when your machine meets the above requirements and has one of the following Windows updates installed:
    • KB2567680
    • KB2507938
    • KB2533623
    • KB2510531
The actual root cause is more likely a bug in the tracker.exe, refer to this posting for more details.

Resolution :

This issue has been addressed in the Update 7 or newer of the Intel Compiler products. You can download the latest update from Intel Registration Center. The evaluation copy is always the latest update so you can also get it from the Intel Software Evaluation Center.



For more complete information about compiler optimizations, see our Optimization Notice.

Comments


The /MP and .tlog issue may not be addressed in update 7. We got report about the same issue. if you have a test case, could you please post to Intel C++ forum - http://software.intel.com/en-us/forums/intel-c-compiler/ or the Intel Premier Support?



I am also having the same problem (Windows 7 x64, Intel C++ Composer XE, and Visual Studio 2010 Ultimate SP1).

Furthermore, this may or may not be a related issue but I have seen file access errors w.r.t. the *.tlog files when compiling with the multiprocessor option. It appears that one compile task is trying to create or access a *.tlog file while another is blocking. This causes the build to fail.