I am trying to build the mkl example c++ code using both VS2010 or command line. But got the same error:> Internal error: assertion failed at: "shared/cfe/edgcpfe/host_envir.c", line 6855> C:\\Program Files (x86)\\MSBuild\\Microsoft.Cpp\\v4.0\\Platforms\\Win32\\PlatformToolsets\\Intel C++ Compiler XE 12.1\\Microsoft.Cpp.Win32.Intel C++ Compiler XE 12.1.targets(213,5): error MSB6006: "icl.exe" exited with code 4.I am using Intel C++ compiler XE 12.1 update 1, running on intel i5, x64 Win7.Any helps are appreciated!
that's an internal compiler error in the front-end. Would you be able to provide me the preprocessed output for the source file which causes the error? I'll shrink it down and assign it as a defect to engineering.
An error like that does not appear in our database yet. So, updating to the latest compiler version might not be a solution for you... but wouldn't hurt either.
Thank you & best regards,
Is this Windows 7?
On Windows 7 normal permision can not create new files under
So try this: extract the sample to a different folder like "c:\mytest\mkl_sample", and build from that directory. Let us know if it works.
But in any case the compiler should not give "internal error".
just talked to our FE engineers. It is indeed possible that the preprocessor already fails.
Could you compile & execute the following example with Microsoft Visual Studio* compiler and let us know about the results?
[bash]/* setlocale example */ #include
We suspect issues regarding your locals configuration.
Thank you & best regards,
Date is: 08/14/12 10:13:43
we've been able to reproduce the problem. Engineering is currently looking into it. I'll keep you updated.
As a temporary workaround I'd propose the following:
In the language settings dialog (below), change "Language for non-Unicode programs" from "Chinese (Traditional, Hong Kong S.A.R.)" to "English (United States)". After a restart the compiler should work without assertion failure.
Thanks for reporting this. It will be fixed in the next update.
This is a description of the problem/fix:
Microsoft compatibility: abort when using Hong Kong Unicode locale
Windows versions with NATIVE_MULTIBYTE_CHARS_SUPPORTED_WITH_UNICODE set to
TRUE would abort (in host_envir_early_init) if the system language for
Unicode conversion was set to "Chinese (Traditional, Hong Kong S.A.R.)".
This resulted from a defect in the Windows runtime where the value
returned by the GetLocaleInfo function was not valid as an input to the
_create_locale function. We have now modified the code that constructs the
system default locale to avoid this issue.