summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Chen <jochen@microsoft.com>2016-07-27 14:20:10 -0700
committerGitHub <noreply@github.com>2016-07-27 14:20:10 -0700
commita812669c5737a336745f42c099a1a8a6e1aafa4f (patch)
treeda1bc6fa855cf67ad6b36c14e7a9be8c097d7851
parent2d944f96aaf0a61a84cb7e6d19992657ef77e9ae (diff)
parent2ce817e58d616c94ad12a8eee0246d1029167ab6 (diff)
downloadcoreclr-a812669c5737a336745f42c099a1a8a6e1aafa4f.tar.gz
coreclr-a812669c5737a336745f42c099a1a8a6e1aafa4f.tar.bz2
coreclr-a812669c5737a336745f42c099a1a8a6e1aafa4f.zip
Merge pull request #6489 from JohnChen0/master
Update CrossGen doc for "Unable to load Jit" error
-rw-r--r--Documentation/building/crossgen.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/building/crossgen.md b/Documentation/building/crossgen.md
index 0b47a25508..c74a5e680a 100644
--- a/Documentation/building/crossgen.md
+++ b/Documentation/building/crossgen.md
@@ -63,3 +63,4 @@ The following are some of the command errors while creating or using native imag
- "Could not load file or assembly 'mscorlib.dll' or one of its dependencies. The native image could not be loaded, because it was generated for use by a different version of the runtime. (Exception from HRESULT: 0x80131059)": This error indicates that there is a mismatch between CrossGen and mscorlib.ni.dll. Make sure to use CrossGen and mscorlib.ni.dll from the same build or NuGet package.
- "Error: Could not load file or assembly '...' or one of its dependencies. The system cannot find the file specified. (Exception from HRESULT: 0x80070002)": CrossGen wasn't able to find a particular dependency that it needs. Verify that you have the assembly specified in the error message, and make sure its location is included in `/Platform_Assemblies_Paths`.
- CoreCLR unable to initialize: While there are many possible causes of this error, one possibility is a mismatch between mscorlib.ni.dll and coreclr.dll (or libcoreclr.so). Make sure they come from the same build or NuGet package.
+- "Unable to load Jit Compiler": Please get a copy of `clrjit.dll` (or `libclrjit.so` or `libclrjit.dylib`, depending on your platform), and place it in the same directory as CrossGen. You can either build `clrjit.dll` yourself, or get it from `Microsoft.NETCore.Jit` NuGet package. To avoid possible issues, please use `clrjit.dll` from the same build as `crossgen.exe` if possible.