runtime
runtime copied to clipboard
CLI R2R images not getting picked up on Unix, and all methods get jitted
See issue dotnet/coreclr#3146 under dotnet/cli.
The issue is that all R2R images were getting rejected and treated as IL assemblies on Unix, when not having the ".ni." portion in their file names (this is how CLI is shipped). The root cause is that the FLAG_RELOCATED was not being set on the loaded images on Unix, and where therefore getting rejected.
The fix is to change the Unix assembly loader behavior to mimic Windows (see PR dotnet/coreclr#5524)
Fixed with dotnet/coreclr#5524