-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Labels
Milestone
Description
Description
On armel crossgen2 produces a wrong ni files for ILCompiler.ReadyToRun.dll and ILCompiler.TypeSystem.ReadyToRun.dll. It leads to any following compilations crash:
[tm1 2.0.0]# ./corerun ./crossgen2/crossgen2.dll -r:./*.dll -r:./crossgen2/*.dll ./crossgen2/ILCompiler.ReadyToRun.dll --out ./crossgen2/ILCompiler.ReadyToRun.ni.dll --inputbubble
Emitting R2R PE file: ./crossgen2/ILCompiler.ReadyToRun.ni.dll
[tm1 2.0.0]# ./corerun ./crossgen2/crossgen2.dll -r:./*.dll -r:./crossgen2/*.dll /root/hello/hello.dll --out /root/hello/hello.ni.dll
Error: Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at ILCompiler.CompilerTypeSystemContext.OpenPEFile(String filePath, MemoryMappedViewAccessor& mappedViewAccessor) in /home/runtime/src/coreclr/tools/Common/Compiler/CompilerTypeSystemContext.cs:line 165
at ILCompiler.CompilerTypeSystemContext.AddModule(String filePath, String expectedSimpleName, Boolean useForBinding) in /home/runtime/src/coreclr/tools/Common/Compiler/CompilerTypeSystemContext.cs:line 192
at ILCompiler.CompilerTypeSystemContext.GetOrAddModuleFromPath(String filePath, Boolean useForBinding) in /home/runtime/src/coreclr/tools/Common/Compiler/CompilerTypeSystemContext.cs:line 145
at ILCompiler.Program.Run(String[] args) in /home/runtime/src/coreclr/tools/aot/crossgen2/Program.cs:line 369
at ILCompiler.Program.Main(String[] args) in /home/runtime/src/coreclr/tools/aot/crossgen2/Program.cs:line 785
Configuration
Runtime state: bc544bd Release build
Os: tizen 6.0.0
Architecture: armel
Reactions are currently unavailable