dotnet / corert

This repo contains CoreRT, an experimental .NET Core runtime optimized for AOT (ahead of time compilation) scenarios, with the accompanying compiler toolchain.
http://dot.net
MIT License
2.91k stars 508 forks source link

ARM64 cross-compilation assembly #7500

Open bilenkonito opened 5 years ago

bilenkonito commented 5 years ago

I've been working on getting CoreRT to cross-compile to ARM64 from x64 and so far I've gotten 61% of the progress to compile after a LOT of painful work.

However, I have now reached the point where ARM64 only has .asm format assembly code (for Windows, I presume?). ARM assembly is a bit out of the scope of my knowledge, unfortunately, so I'd like to know if that part has already been solved on the closed source side and, if that's the case, whether there's some hope for that "small" part to be released.

jkotas commented 5 years ago

if that part has already been solved on the closed source side

It has not been. All runtime sources we got are on github.

jkotas commented 5 years ago

I've been working on getting CoreRT to cross-compile to ARM64 from x64

Is any of this work worth submitting a PR for? We would be happy to take it.

bilenkonito commented 5 years ago

I've been working on getting CoreRT to cross-compile to ARM64 from x64

Is any of this work worth submitting a PR for? We would be happy to take it.

I'll definitely create PR when I get it to fully compile.

bilenkonito commented 5 years ago

Unfortunately, I cannot seem to get around the ASM part and it doesn't look like it's willing to cross compile on Windows either. Someone that is way more capable than me in ARM64 assembly will have to take a look at it. I can provide a PR with my changes that got me until this point in case someone wants to give it a try.

bilenkonito commented 5 years ago

I've bypassed the assembly errors for now by doing this: https://github.com/dotnet/corert/issues/7421#issuecomment-496548884

However, I am now getting a pretty strange error on the Managed side:

error MSB4057: The target "Restore" does not exist in the project.

This repeats for every single MSBuild project in CoreRT.

Is the mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-cross-arm64-a3ae44b-2018031522192 docker image using an old version of NuGet or missing it?

Which version of the .NET SDK is required to build the managed part of CoreRT?

EDIT:

Full build trace:

Installing dotnet cli...
...toring BuildTools version 3.0.0-preview1-03220-01
ERROR: Could not restore build tools correctly.
Please check the detailed log that follows.
Running: /corert/init-tools.sh
Installing 'https://dotnetcli.azureedge.net/dotnet/Sdk/2.1.504/dotnet-sdk-2.1.504-linux-x64.tar.gz' to '/corert/Tools/dotnetcli/dotnet.tar'
Running: /corert/Tools/dotnetcli/dotnet restore "/corert/init-tools.msbuild" --no-cache --packages /corert/packages --source https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json /p:BuildToolsPackageVersion=3.0.0-preview1-03220-01
  Restoring packages for /corert/init-tools.msbuild...
  Installing Microsoft.DotNet.Build.Tasks.Feed 2.1.0-rc1-03905-01.
  Installing Microsoft.DotNet.BuildTools 3.0.0-preview1-03220-01.
  Generating MSBuild file /corert/obj/init-tools.msbuild.nuget.g.props.
  Generating MSBuild file /corert/obj/init-tools.msbuild.nuget.g.targets.
  Restore completed in 5.93 sec for /corert/init-tools.msbuild.
Initializing BuildTools...
chmod: cannot access '/corert/packages/microsoft.dotnet.buildtools/3.0.0-preview1-03220-01'$'\r''/lib/init-tools.sh': No such file or directory
/lib/init-tools.sh: No such file or directory36: /corert/packages/microsoft.dotnet.buildtools/3.0.0-preview1-03220-01
ERROR: An error occurred when trying to initialize the tools.
Please check the detailed log that follows.
Running: /corert/init-tools.sh
Installing 'https://dotnetcli.azureedge.net/dotnet/Sdk/2.1.504/dotnet-sdk-2.1.504-linux-x64.tar.gz' to '/corert/Tools/dotnetcli/dotnet.tar'
Running: /corert/Tools/dotnetcli/dotnet restore "/corert/init-tools.msbuild" --no-cache --packages /corert/packages --source https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json /p:BuildToolsPackageVersion=3.0.0-preview1-03220-01
  Restoring packages for /corert/init-tools.msbuild...
  Installing Microsoft.DotNet.Build.Tasks.Feed 2.1.0-rc1-03905-01.
  Installing Microsoft.DotNet.BuildTools 3.0.0-preview1-03220-01.
  Generating MSBuild file /corert/obj/init-tools.msbuild.nuget.g.props.
  Generating MSBuild file /corert/obj/init-tools.msbuild.nuget.g.targets.
  Restore completed in 5.93 sec for /corert/init-tools.msbuild.
/lib/init-tools.sh /corert /corert/Tools/dotnetcli/dotnet /corert/Tools /corert/packages
Using CLI tools version:
2.1.504  NuGetFallbackFolder
  Restoring project packages...
/corert/src/Common/test-runtime/XUnit.Runtime.depproj : error MSB4057: The target "Restore" does not exist in the project.
  Restoring project packages...
/corert/src/AotPackageReference/AotPackageReference.depproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/Framework/Framework.depproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/Framework/Framework-uapaot.depproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/Framework/Framework-native.depproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/ILCompiler/RyuJIT/RyuJIT.depproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/ILCompiler/ObjectWriter/ObjectWriter.depproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/ILCompiler.WebAssembly/src/libLLVMdep.depproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/ILCompiler.Build.Tasks/src/ILCompiler.Build.Tasks.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/ILCompiler.Compiler/src/ILCompiler.Compiler.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/ILCompiler.CppCodeGen/src/ILCompiler.CppCodeGen.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/ILCompiler.DependencyAnalysisFramework/src/ILCompiler.DependencyAnalysisFramework.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/ILCompiler.MetadataTransform/src/ILCompiler.MetadataTransform.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/ILCompiler.MetadataWriter/src/ILCompiler.MetadataWriter.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/ILCompiler.ReadyToRun/src/ILCompiler.ReadyToRun.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/ILCompiler.RyuJit/src/ILCompiler.RyuJit.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/ILCompiler.TypeSystem/src/ILCompiler.TypeSystem.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/ILCompiler.WebAssembly/src/ILCompiler.WebAssembly.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/ILCompiler/src/ILCompiler.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/ILVerification/src/ILVerification.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/ILVerify/src/ILVerify.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/Runtime.Base/src/Runtime.Base.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/System.Private.CoreLib/src/System.Private.CoreLib.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/System.Private.DeveloperExperience.Console/src/System.Private.DeveloperExperience.Console.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/System.Private.DisabledReflection/src/System.Private.DisabledReflection.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/System.Private.Interop/src/System.Private.Interop.CoreCLR.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/System.Private.Interop/src/System.Private.Interop.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/System.Private.Interop/src/System.Private.Interop.Experimental.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/System.Private.Interpreter/src/System.Private.Interpreter.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/System.Private.Jit/src/System.Private.Jit.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/System.Private.Reflection.Core/src/System.Private.Reflection.Core.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/System.Private.Reflection.Core/src/System.Private.Reflection.Core.Experimental.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/System.Private.Reflection.Execution/src/System.Private.Reflection.Execution.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/System.Private.Reflection.Execution/src/System.Private.Reflection.Execution.Experimental.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/System.Private.Reflection.Metadata/src/System.Private.Reflection.Metadata.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/System.Private.StackTraceGenerator/src/System.Private.StackTraceGenerator.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/System.Private.StackTraceMetadata/src/System.Private.StackTraceMetadata.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/System.Private.StackTraceMetadata/src/System.Private.StackTraceMetadata.Experimental.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/System.Private.TypeLoader/src/System.Private.TypeLoader.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/System.Private.TypeLoader/src/System.Private.TypeLoader.Experimental.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/Test.CoreLib/src/Test.CoreLib.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/ILCompiler.Compiler/tests/ILCompiler.Compiler.Tests.Assets/ILCompiler.Compiler.Tests.Assets.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/ILCompiler.Compiler/tests/ILCompiler.Compiler.Tests.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/ILCompiler.DependencyAnalysisFramework/tests/ILCompiler.DependencyAnalysisFramework.Tests.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/ILCompiler.MetadataTransform/tests/PrimaryMetadataAssembly/PrimaryMetadataAssembly.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/ILCompiler.MetadataTransform/tests/SampleMetadataAssembly/SampleMetadataAssembly.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/ILCompiler.MetadataTransform/tests/SampleWinRTMetadataAssembly/SampleWinRTMetadataAssembly.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/ILCompiler.MetadataTransform/tests/WindowsWinRTMetadataAssembly/WindowsWinRTMetadataAssembly.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/ILCompiler.TypeSystem/tests/CoreTestAssembly/CoreTestAssembly.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/System.Private.Reflection.Metadata/tests/System.Private.Reflection.Metadata.Tests.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/src/ILCompiler/repro/repro.csproj : error MSB4057: The target "Restore" does not exist in the project.
/corert/dir.traversal.targets(41,5): error : (No message specified) [/corert/src/dirs.proj]
/corert/dir.traversal.targets(41,5): error : (No message specified) [/corert/build.proj]

    0 Warning(s)
    53 Error(s)

Time Elapsed 00:00:00.47
Build Exit Code = 1
jkotas commented 5 years ago

The problem is this:

ERROR: Could not restore build tools correctly." error. 
chmod: cannot access '/corert/packages/microsoft.dotnet.buildtools/3.0.0-preview1-03220-01'$'\r''/lib/init-tools.sh': No such file or directory
/lib/init-tools.sh: No such file or directory36: /corert/packages/microsoft.dotnet.buildtools/3.0.0-preview1-03220-01
ERROR: An error occurred when trying to initialize the tools.

Do you have a mixed up Unix and Windows newlines by any chance? The \r in the path looks like the problem.

bilenkonito commented 5 years ago

Ah, that makes sense, I guess I shouldn't have ignored this tangential warning from Docker:

SECURITY WARNING: You are building a Docker image from Windows against a non-Windows Docker host. All files and directories added to build context will have '-rwxr-xr-x' permissions. It is recommended to double check and reset permissions for sensitive files and directories.

I suppose it's a similar issue derived from attaching Windows directories to Linux containers.

I'll try to compile from another machine running Docker on Linux and see if that solves it.

bilenkonito commented 5 years ago

I have yet to overcome my incredulity but:

Build Exit Code = 0

With the new changes at #7504 and running the build process entirely under Linux instead of copying a Windows folder to docker it has compiled.

How should I call runtest.sh to verify whether it actually works on runtime?

EDIT: Never mind the question about tests, I've figured it out. Let's see if the tests compile.

bilenkonito commented 5 years ago

I guess it couldn't be that easy:

/corert/tests/../Tools/msbuild.sh /ds /m /p:IlcPath=/corert/tests/../bin/Linux.arm64.Release /p:Configuration=Release /p:Platform=arm64 /p:OSGroup=Linux /p:RepoLocalBuild=true /p:FrameworkLibPath=/corert/tests/../bin/Linux.arm64.Release/lib /p:FrameworkObjPath=/corert/tests/../bin/obj/Linux.arm64.Release/Framework /corert/tests/src/Simple/BasicThreading/BasicThreading.csproj
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  /usr/bin/clang-3.9
  Generating native code
EXEC : error : The method or operation is not implemented. [/corert/tests/src/Simple/BasicThreading/BasicThreading.csproj]
  System.NotImplementedException: The method or operation is not implemented.
     at ILCompiler.DependencyAnalysis.ReadyToRunHelperNode.EmitCode(NodeFactory factory, ARM64Emitter& encoder, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/Target_ARM64/ARM64ReadyToRunHelperNode.cs:line 20
     at ILCompiler.DependencyAnalysis.AssemblyStubNode.GetData(NodeFactory factory, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/AssemblyStubNode.cs:line 68
     at ILCompiler.DependencyAnalysis.ObjectNode.GetStaticDependencies(NodeFactory factory) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ObjectNode.cs:line 61
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.GetStaticDependenciesImpl(DependencyNodeCore`1 node) in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 145
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ProcessMarkStack() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 212
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ComputeMarkedNodes() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 262
     at ILCompiler.ILScanner.ILCompiler.IILScanner.Scan() in /corert/src/ILCompiler.Compiler/src/Compiler/ILScanner.cs:line 84
     at ILCompiler.Program.Run(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 600
     at ILCompiler.Program.Main(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 813
/corert/bin/Linux.arm64.Release/build/Microsoft.NETCore.Native.targets(248,5): error MSB3073: The command ""/corert/tests/../bin/Linux.arm64.Release/tools/ilc" @"/corert/tests/src/Simple/BasicThreading/obj/Release/arm64/native/BasicThreading.ilc.rsp"" exited with code 1. [/corert/tests/src/Simple/BasicThreading/BasicThreading.csproj]
/corert/tests/../Tools/msbuild.sh /ds /m /p:IlcPath=/corert/tests/../bin/Linux.arm64.Release /p:Configuration=Release /p:Platform=arm64 /p:OSGroup=Linux /p:RepoLocalBuild=true /p:FrameworkLibPath=/corert/tests/../bin/Linux.arm64.Release/lib /p:FrameworkObjPath=/corert/tests/../bin/obj/Linux.arm64.Release/Framework /corert/tests/src/Simple/Delegates/Delegates.csproj
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  /usr/bin/clang-3.9
  Generating native code
EXEC : error : The method or operation is not implemented. [/corert/tests/src/Simple/Delegates/Delegates.csproj]
  System.NotImplementedException: The method or operation is not implemented.
     at ILCompiler.DependencyAnalysis.ReadyToRunHelperNode.EmitCode(NodeFactory factory, ARM64Emitter& encoder, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/Target_ARM64/ARM64ReadyToRunHelperNode.cs:line 20
     at ILCompiler.DependencyAnalysis.AssemblyStubNode.GetData(NodeFactory factory, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/AssemblyStubNode.cs:line 68
     at ILCompiler.DependencyAnalysis.ObjectNode.GetStaticDependencies(NodeFactory factory) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ObjectNode.cs:line 61
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.GetStaticDependenciesImpl(DependencyNodeCore`1 node) in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 145
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ProcessMarkStack() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 212
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ComputeMarkedNodes() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 262
     at ILCompiler.ILScanner.ILCompiler.IILScanner.Scan() in /corert/src/ILCompiler.Compiler/src/Compiler/ILScanner.cs:line 84
     at ILCompiler.Program.Run(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 600
     at ILCompiler.Program.Main(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 813
/corert/bin/Linux.arm64.Release/build/Microsoft.NETCore.Native.targets(248,5): error MSB3073: The command ""/corert/tests/../bin/Linux.arm64.Release/tools/ilc" @"/corert/tests/src/Simple/Delegates/obj/Release/arm64/native/Delegates.ilc.rsp"" exited with code 1. [/corert/tests/src/Simple/Delegates/Delegates.csproj]
/corert/tests/../Tools/msbuild.sh /ds /m /p:IlcPath=/corert/tests/../bin/Linux.arm64.Release /p:Configuration=Release /p:Platform=arm64 /p:OSGroup=Linux /p:RepoLocalBuild=true /p:FrameworkLibPath=/corert/tests/../bin/Linux.arm64.Release/lib /p:FrameworkObjPath=/corert/tests/../bin/obj/Linux.arm64.Release/Framework /p:NativeCodeGen=cpp /p:AdditionalCppCompilerFlags=" -target aarch64-linux-gnu --sysroot=/corert/tests/../cross/rootfs/arm64" /p:AdditionalLinkerFlags=" -target aarch64-linux-gnu -B /corert/tests/../cross/rootfs/arm64/usr/lib/gcc/aarch64-linux-gnu -L/corert/tests/../cross/rootfs/arm64/lib/aarch64-linux-gnu --sysroot=/corert/tests/../cross/rootfs/arm64" /corert/tests/src/Simple/Delegates/Delegates.csproj
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  /usr/bin/clang-3.9
  Generating native code
EXEC : error : The method or operation is not implemented. [/corert/tests/src/Simple/Delegates/Delegates.csproj]
  System.NotImplementedException: The method or operation is not implemented.
     at ILCompiler.DependencyAnalysis.ReadyToRunGenericHelperNode.EmitCode(NodeFactory factory, ARM64Emitter& encoder, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/Target_ARM64/ARM64ReadyToRunGenericHelperNode.cs:line 29
     at ILCompiler.DependencyAnalysis.AssemblyStubNode.GetData(NodeFactory factory, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/AssemblyStubNode.cs:line 68
     at ILCompiler.DependencyAnalysis.ObjectNode.GetStaticDependencies(NodeFactory factory) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ObjectNode.cs:line 61
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.GetStaticDependenciesImpl(DependencyNodeCore`1 node) in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 145
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ProcessMarkStack() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 212
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ComputeMarkedNodes() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 262
     at ILCompiler.CppCodegenCompilation.CompileInternal(String outputFile, ObjectDumper dumper) in /corert/src/ILCompiler.CppCodeGen/src/Compiler/CppCodegenCompilation.cs:line 50
     at ILCompiler.Compilation.ILCompiler.ICompilation.Compile(String outputFile, ObjectDumper dumper) in /corert/src/ILCompiler.Compiler/src/Compiler/Compilation.cs:line 404
     at ILCompiler.Program.Run(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 648
     at ILCompiler.Program.Main(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 813
/corert/bin/Linux.arm64.Release/build/Microsoft.NETCore.Native.targets(248,5): error MSB3073: The command ""/corert/tests/../bin/Linux.arm64.Release/tools/ilc" @"/corert/tests/src/Simple/Delegates/obj/Release/arm64/native/Delegates.ilc.rsp"" exited with code 1. [/corert/tests/src/Simple/Delegates/Delegates.csproj]
/corert/tests/../Tools/msbuild.sh /ds /m /p:IlcPath=/corert/tests/../bin/Linux.arm64.Release /p:Configuration=Release /p:Platform=arm64 /p:OSGroup=Linux /p:RepoLocalBuild=true /p:FrameworkLibPath=/corert/tests/../bin/Linux.arm64.Release/lib /p:FrameworkObjPath=/corert/tests/../bin/obj/Linux.arm64.Release/Framework /corert/tests/src/Simple/Exceptions/Exceptions.csproj
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  /usr/bin/clang-3.9
  Generating native code
EXEC : error : The method or operation is not implemented. [/corert/tests/src/Simple/Exceptions/Exceptions.csproj]
  System.NotImplementedException: The method or operation is not implemented.
     at ILCompiler.DependencyAnalysis.ReadyToRunHelperNode.EmitCode(NodeFactory factory, ARM64Emitter& encoder, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/Target_ARM64/ARM64ReadyToRunHelperNode.cs:line 20
     at ILCompiler.DependencyAnalysis.AssemblyStubNode.GetData(NodeFactory factory, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/AssemblyStubNode.cs:line 68
     at ILCompiler.DependencyAnalysis.ObjectNode.GetStaticDependencies(NodeFactory factory) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ObjectNode.cs:line 61
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.GetStaticDependenciesImpl(DependencyNodeCore`1 node) in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 145
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ProcessMarkStack() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 212
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ComputeMarkedNodes() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 262
     at ILCompiler.ILScanner.ILCompiler.IILScanner.Scan() in /corert/src/ILCompiler.Compiler/src/Compiler/ILScanner.cs:line 84
     at ILCompiler.Program.Run(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 600
     at ILCompiler.Program.Main(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 813
/corert/bin/Linux.arm64.Release/build/Microsoft.NETCore.Native.targets(248,5): error MSB3073: The command ""/corert/tests/../bin/Linux.arm64.Release/tools/ilc" @"/corert/tests/src/Simple/Exceptions/obj/Release/arm64/native/Exceptions.ilc.rsp"" exited with code 1. [/corert/tests/src/Simple/Exceptions/Exceptions.csproj]
/corert/tests/../Tools/msbuild.sh /ds /m /p:IlcPath=/corert/tests/../bin/Linux.arm64.Release /p:Configuration=Release /p:Platform=arm64 /p:OSGroup=Linux /p:RepoLocalBuild=true /p:FrameworkLibPath=/corert/tests/../bin/Linux.arm64.Release/lib /p:FrameworkObjPath=/corert/tests/../bin/obj/Linux.arm64.Release/Framework /corert/tests/src/Simple/Generics/Generics.csproj
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  /usr/bin/clang-3.9
  Generating native code
EXEC : error : The method or operation is not implemented. [/corert/tests/src/Simple/Generics/Generics.csproj]
  System.NotImplementedException: The method or operation is not implemented.
     at ILCompiler.DependencyAnalysis.ReadyToRunHelperNode.EmitCode(NodeFactory factory, ARM64Emitter& encoder, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/Target_ARM64/ARM64ReadyToRunHelperNode.cs:line 20
     at ILCompiler.DependencyAnalysis.AssemblyStubNode.GetData(NodeFactory factory, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/AssemblyStubNode.cs:line 68
     at ILCompiler.DependencyAnalysis.ObjectNode.GetStaticDependencies(NodeFactory factory) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ObjectNode.cs:line 61
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.GetStaticDependenciesImpl(DependencyNodeCore`1 node) in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 145
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ProcessMarkStack() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 212
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ComputeMarkedNodes() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 262
     at ILCompiler.ILScanner.ILCompiler.IILScanner.Scan() in /corert/src/ILCompiler.Compiler/src/Compiler/ILScanner.cs:line 84
     at ILCompiler.Program.Run(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 600
     at ILCompiler.Program.Main(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 813
/corert/bin/Linux.arm64.Release/build/Microsoft.NETCore.Native.targets(248,5): error MSB3073: The command ""/corert/tests/../bin/Linux.arm64.Release/tools/ilc" @"/corert/tests/src/Simple/Generics/obj/Release/arm64/native/Generics.ilc.rsp"" exited with code 1. [/corert/tests/src/Simple/Generics/Generics.csproj]
/corert/tests/../Tools/msbuild.sh /ds /m /p:IlcPath=/corert/tests/../bin/Linux.arm64.Release /p:Configuration=Release /p:Platform=arm64 /p:OSGroup=Linux /p:RepoLocalBuild=true /p:FrameworkLibPath=/corert/tests/../bin/Linux.arm64.Release/lib /p:FrameworkObjPath=/corert/tests/../bin/obj/Linux.arm64.Release/Framework /p:NativeCodeGen=cpp /p:AdditionalCppCompilerFlags=" -target aarch64-linux-gnu --sysroot=/corert/tests/../cross/rootfs/arm64" /p:AdditionalLinkerFlags=" -target aarch64-linux-gnu -B /corert/tests/../cross/rootfs/arm64/usr/lib/gcc/aarch64-linux-gnu -L/corert/tests/../cross/rootfs/arm64/lib/aarch64-linux-gnu --sysroot=/corert/tests/../cross/rootfs/arm64" /corert/tests/src/Simple/Generics/Generics.csproj
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  /usr/bin/clang-3.9
  Generating native code
EXEC : error : The method or operation is not implemented. [/corert/tests/src/Simple/Generics/Generics.csproj]
  System.NotImplementedException: The method or operation is not implemented.
     at ILCompiler.DependencyAnalysis.ReadyToRunGenericHelperNode.EmitCode(NodeFactory factory, ARM64Emitter& encoder, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/Target_ARM64/ARM64ReadyToRunGenericHelperNode.cs:line 29
     at ILCompiler.DependencyAnalysis.AssemblyStubNode.GetData(NodeFactory factory, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/AssemblyStubNode.cs:line 68
     at ILCompiler.DependencyAnalysis.ObjectNode.GetStaticDependencies(NodeFactory factory) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ObjectNode.cs:line 61
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.GetStaticDependenciesImpl(DependencyNodeCore`1 node) in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 145
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ProcessMarkStack() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 212
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ComputeMarkedNodes() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 262
     at ILCompiler.CppCodegenCompilation.CompileInternal(String outputFile, ObjectDumper dumper) in /corert/src/ILCompiler.CppCodeGen/src/Compiler/CppCodegenCompilation.cs:line 50
     at ILCompiler.Compilation.ILCompiler.ICompilation.Compile(String outputFile, ObjectDumper dumper) in /corert/src/ILCompiler.Compiler/src/Compiler/Compilation.cs:line 404
     at ILCompiler.Program.Run(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 648
     at ILCompiler.Program.Main(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 813
/corert/bin/Linux.arm64.Release/build/Microsoft.NETCore.Native.targets(248,5): error MSB3073: The command ""/corert/tests/../bin/Linux.arm64.Release/tools/ilc" @"/corert/tests/src/Simple/Generics/obj/Release/arm64/native/Generics.ilc.rsp"" exited with code 1. [/corert/tests/src/Simple/Generics/Generics.csproj]
/corert/tests/../Tools/msbuild.sh /ds /m /p:IlcPath=/corert/tests/../bin/Linux.arm64.Release /p:Configuration=Release /p:Platform=arm64 /p:OSGroup=Linux /p:RepoLocalBuild=true /p:FrameworkLibPath=/corert/tests/../bin/Linux.arm64.Release/lib /p:FrameworkObjPath=/corert/tests/../bin/obj/Linux.arm64.Release/Framework /corert/tests/src/Simple/Hello/Hello.csproj
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  /usr/bin/clang-3.9
  Generating native code
EXEC : error : The method or operation is not implemented. [/corert/tests/src/Simple/Hello/Hello.csproj]
  System.NotImplementedException: The method or operation is not implemented.
     at ILCompiler.DependencyAnalysis.ReadyToRunHelperNode.EmitCode(NodeFactory factory, ARM64Emitter& encoder, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/Target_ARM64/ARM64ReadyToRunHelperNode.cs:line 20
     at ILCompiler.DependencyAnalysis.AssemblyStubNode.GetData(NodeFactory factory, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/AssemblyStubNode.cs:line 68
     at ILCompiler.DependencyAnalysis.ObjectNode.GetStaticDependencies(NodeFactory factory) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ObjectNode.cs:line 61
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.GetStaticDependenciesImpl(DependencyNodeCore`1 node) in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 145
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ProcessMarkStack() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 212
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ComputeMarkedNodes() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 262
     at ILCompiler.ILScanner.ILCompiler.IILScanner.Scan() in /corert/src/ILCompiler.Compiler/src/Compiler/ILScanner.cs:line 84
     at ILCompiler.Program.Run(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 600
     at ILCompiler.Program.Main(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 813
/corert/bin/Linux.arm64.Release/build/Microsoft.NETCore.Native.targets(248,5): error MSB3073: The command ""/corert/tests/../bin/Linux.arm64.Release/tools/ilc" @"/corert/tests/src/Simple/Hello/obj/Release/arm64/native/Hello.ilc.rsp"" exited with code 1. [/corert/tests/src/Simple/Hello/Hello.csproj]
/corert/tests/../Tools/msbuild.sh /ds /m /p:IlcPath=/corert/tests/../bin/Linux.arm64.Release /p:Configuration=Release /p:Platform=arm64 /p:OSGroup=Linux /p:RepoLocalBuild=true /p:FrameworkLibPath=/corert/tests/../bin/Linux.arm64.Release/lib /p:FrameworkObjPath=/corert/tests/../bin/obj/Linux.arm64.Release/Framework /p:NativeCodeGen=cpp /p:AdditionalCppCompilerFlags=" -target aarch64-linux-gnu --sysroot=/corert/tests/../cross/rootfs/arm64" /p:AdditionalLinkerFlags=" -target aarch64-linux-gnu -B /corert/tests/../cross/rootfs/arm64/usr/lib/gcc/aarch64-linux-gnu -L/corert/tests/../cross/rootfs/arm64/lib/aarch64-linux-gnu --sysroot=/corert/tests/../cross/rootfs/arm64" /corert/tests/src/Simple/Hello/Hello.csproj
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  /usr/bin/clang-3.9
  Generating native code
EXEC : error : The method or operation is not implemented. [/corert/tests/src/Simple/Hello/Hello.csproj]
  System.NotImplementedException: The method or operation is not implemented.
     at ILCompiler.DependencyAnalysis.ReadyToRunGenericHelperNode.EmitCode(NodeFactory factory, ARM64Emitter& encoder, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/Target_ARM64/ARM64ReadyToRunGenericHelperNode.cs:line 29
     at ILCompiler.DependencyAnalysis.AssemblyStubNode.GetData(NodeFactory factory, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/AssemblyStubNode.cs:line 68
     at ILCompiler.DependencyAnalysis.ObjectNode.GetStaticDependencies(NodeFactory factory) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ObjectNode.cs:line 61
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.GetStaticDependenciesImpl(DependencyNodeCore`1 node) in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 145
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ProcessMarkStack() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 212
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ComputeMarkedNodes() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 262
     at ILCompiler.CppCodegenCompilation.CompileInternal(String outputFile, ObjectDumper dumper) in /corert/src/ILCompiler.CppCodeGen/src/Compiler/CppCodegenCompilation.cs:line 50
     at ILCompiler.Compilation.ILCompiler.ICompilation.Compile(String outputFile, ObjectDumper dumper) in /corert/src/ILCompiler.Compiler/src/Compiler/Compilation.cs:line 404
     at ILCompiler.Program.Run(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 648
     at ILCompiler.Program.Main(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 813
/corert/bin/Linux.arm64.Release/build/Microsoft.NETCore.Native.targets(248,5): error MSB3073: The command ""/corert/tests/../bin/Linux.arm64.Release/tools/ilc" @"/corert/tests/src/Simple/Hello/obj/Release/arm64/native/Hello.ilc.rsp"" exited with code 1. [/corert/tests/src/Simple/Hello/Hello.csproj]
/corert/tests/../Tools/msbuild.sh /ds /m /p:IlcPath=/corert/tests/../bin/Linux.arm64.Release /p:Configuration=Release /p:Platform=arm64 /p:OSGroup=Linux /p:RepoLocalBuild=true /p:FrameworkLibPath=/corert/tests/../bin/Linux.arm64.Release/lib /p:FrameworkObjPath=/corert/tests/../bin/obj/Linux.arm64.Release/Framework /corert/tests/src/Simple/Interfaces/Interfaces.csproj
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  /usr/bin/clang-3.9
  Generating native code
EXEC : error : The method or operation is not implemented. [/corert/tests/src/Simple/Interfaces/Interfaces.csproj]
  System.NotImplementedException: The method or operation is not implemented.
     at ILCompiler.DependencyAnalysis.ReadyToRunHelperNode.EmitCode(NodeFactory factory, ARM64Emitter& encoder, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/Target_ARM64/ARM64ReadyToRunHelperNode.cs:line 20
     at ILCompiler.DependencyAnalysis.AssemblyStubNode.GetData(NodeFactory factory, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/AssemblyStubNode.cs:line 68
     at ILCompiler.DependencyAnalysis.ObjectNode.GetStaticDependencies(NodeFactory factory) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ObjectNode.cs:line 61
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.GetStaticDependenciesImpl(DependencyNodeCore`1 node) in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 145
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ProcessMarkStack() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 212
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ComputeMarkedNodes() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 262
     at ILCompiler.ILScanner.ILCompiler.IILScanner.Scan() in /corert/src/ILCompiler.Compiler/src/Compiler/ILScanner.cs:line 84
     at ILCompiler.Program.Run(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 600
     at ILCompiler.Program.Main(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 813
/corert/bin/Linux.arm64.Release/build/Microsoft.NETCore.Native.targets(248,5): error MSB3073: The command ""/corert/tests/../bin/Linux.arm64.Release/tools/ilc" @"/corert/tests/src/Simple/Interfaces/obj/Release/arm64/native/Interfaces.ilc.rsp"" exited with code 1. [/corert/tests/src/Simple/Interfaces/Interfaces.csproj]
/corert/tests/../Tools/msbuild.sh /ds /m /p:IlcPath=/corert/tests/../bin/Linux.arm64.Release /p:Configuration=Release /p:Platform=arm64 /p:OSGroup=Linux /p:RepoLocalBuild=true /p:FrameworkLibPath=/corert/tests/../bin/Linux.arm64.Release/lib /p:FrameworkObjPath=/corert/tests/../bin/obj/Linux.arm64.Release/Framework /p:NativeCodeGen=cpp /p:AdditionalCppCompilerFlags=" -target aarch64-linux-gnu --sysroot=/corert/tests/../cross/rootfs/arm64" /p:AdditionalLinkerFlags=" -target aarch64-linux-gnu -B /corert/tests/../cross/rootfs/arm64/usr/lib/gcc/aarch64-linux-gnu -L/corert/tests/../cross/rootfs/arm64/lib/aarch64-linux-gnu --sysroot=/corert/tests/../cross/rootfs/arm64" /corert/tests/src/Simple/Interfaces/Interfaces.csproj
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  /usr/bin/clang-3.9
  Generating native code
EXEC : error : The method or operation is not implemented. [/corert/tests/src/Simple/Interfaces/Interfaces.csproj]
  System.NotImplementedException: The method or operation is not implemented.
     at ILCompiler.DependencyAnalysis.ReadyToRunGenericHelperNode.EmitCode(NodeFactory factory, ARM64Emitter& encoder, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/Target_ARM64/ARM64ReadyToRunGenericHelperNode.cs:line 29
     at ILCompiler.DependencyAnalysis.AssemblyStubNode.GetData(NodeFactory factory, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/AssemblyStubNode.cs:line 68
     at ILCompiler.DependencyAnalysis.ObjectNode.GetStaticDependencies(NodeFactory factory) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ObjectNode.cs:line 61
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.GetStaticDependenciesImpl(DependencyNodeCore`1 node) in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 145
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ProcessMarkStack() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 212
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ComputeMarkedNodes() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 262
     at ILCompiler.CppCodegenCompilation.CompileInternal(String outputFile, ObjectDumper dumper) in /corert/src/ILCompiler.CppCodeGen/src/Compiler/CppCodegenCompilation.cs:line 50
     at ILCompiler.Compilation.ILCompiler.ICompilation.Compile(String outputFile, ObjectDumper dumper) in /corert/src/ILCompiler.Compiler/src/Compiler/Compilation.cs:line 404
     at ILCompiler.Program.Run(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 648
     at ILCompiler.Program.Main(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 813
/corert/bin/Linux.arm64.Release/build/Microsoft.NETCore.Native.targets(248,5): error MSB3073: The command ""/corert/tests/../bin/Linux.arm64.Release/tools/ilc" @"/corert/tests/src/Simple/Interfaces/obj/Release/arm64/native/Interfaces.ilc.rsp"" exited with code 1. [/corert/tests/src/Simple/Interfaces/Interfaces.csproj]
/corert/tests/../Tools/msbuild.sh /ds /m /p:IlcPath=/corert/tests/../bin/Linux.arm64.Release /p:Configuration=Release /p:Platform=arm64 /p:OSGroup=Linux /p:RepoLocalBuild=true /p:FrameworkLibPath=/corert/tests/../bin/Linux.arm64.Release/lib /p:FrameworkObjPath=/corert/tests/../bin/obj/Linux.arm64.Release/Framework /corert/tests/src/Simple/PInvoke/PInvoke.csproj
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  /usr/bin/clang-3.9
  Generating native code
EXEC : error : The method or operation is not implemented. [/corert/tests/src/Simple/PInvoke/PInvoke.csproj]
  System.NotImplementedException: The method or operation is not implemented.
     at ILCompiler.DependencyAnalysis.ReadyToRunHelperNode.EmitCode(NodeFactory factory, ARM64Emitter& encoder, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/Target_ARM64/ARM64ReadyToRunHelperNode.cs:line 20
     at ILCompiler.DependencyAnalysis.AssemblyStubNode.GetData(NodeFactory factory, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/AssemblyStubNode.cs:line 68
     at ILCompiler.DependencyAnalysis.ObjectNode.GetStaticDependencies(NodeFactory factory) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ObjectNode.cs:line 61
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.GetStaticDependenciesImpl(DependencyNodeCore`1 node) in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 145
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ProcessMarkStack() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 212
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ComputeMarkedNodes() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 262
     at ILCompiler.ILScanner.ILCompiler.IILScanner.Scan() in /corert/src/ILCompiler.Compiler/src/Compiler/ILScanner.cs:line 84
     at ILCompiler.Program.Run(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 600
     at ILCompiler.Program.Main(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 813
/corert/bin/Linux.arm64.Release/build/Microsoft.NETCore.Native.targets(248,5): error MSB3073: The command ""/corert/tests/../bin/Linux.arm64.Release/tools/ilc" @"/corert/tests/src/Simple/PInvoke/obj/Release/arm64/native/PInvoke.ilc.rsp"" exited with code 1. [/corert/tests/src/Simple/PInvoke/PInvoke.csproj]
/corert/tests/../Tools/msbuild.sh /ds /m /p:IlcPath=/corert/tests/../bin/Linux.arm64.Release /p:Configuration=Release /p:Platform=arm64 /p:OSGroup=Linux /p:RepoLocalBuild=true /p:FrameworkLibPath=/corert/tests/../bin/Linux.arm64.Release/lib /p:FrameworkObjPath=/corert/tests/../bin/obj/Linux.arm64.Release/Framework /p:NativeCodeGen=cpp /p:AdditionalCppCompilerFlags=" -target aarch64-linux-gnu --sysroot=/corert/tests/../cross/rootfs/arm64" /p:AdditionalLinkerFlags=" -target aarch64-linux-gnu -B /corert/tests/../cross/rootfs/arm64/usr/lib/gcc/aarch64-linux-gnu -L/corert/tests/../cross/rootfs/arm64/lib/aarch64-linux-gnu --sysroot=/corert/tests/../cross/rootfs/arm64" /corert/tests/src/Simple/PInvoke/PInvoke.csproj
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  /usr/bin/clang-3.9
  Generating native code
EXEC : error : The method or operation is not implemented. [/corert/tests/src/Simple/PInvoke/PInvoke.csproj]
  System.NotImplementedException: The method or operation is not implemented.
     at ILCompiler.DependencyAnalysis.ReadyToRunGenericHelperNode.EmitCode(NodeFactory factory, ARM64Emitter& encoder, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/Target_ARM64/ARM64ReadyToRunGenericHelperNode.cs:line 29
     at ILCompiler.DependencyAnalysis.AssemblyStubNode.GetData(NodeFactory factory, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/AssemblyStubNode.cs:line 68
     at ILCompiler.DependencyAnalysis.ObjectNode.GetStaticDependencies(NodeFactory factory) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ObjectNode.cs:line 61
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.GetStaticDependenciesImpl(DependencyNodeCore`1 node) in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 145
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ProcessMarkStack() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 212
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ComputeMarkedNodes() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 262
     at ILCompiler.CppCodegenCompilation.CompileInternal(String outputFile, ObjectDumper dumper) in /corert/src/ILCompiler.CppCodeGen/src/Compiler/CppCodegenCompilation.cs:line 50
     at ILCompiler.Compilation.ILCompiler.ICompilation.Compile(String outputFile, ObjectDumper dumper) in /corert/src/ILCompiler.Compiler/src/Compiler/Compilation.cs:line 404
     at ILCompiler.Program.Run(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 648
     at ILCompiler.Program.Main(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 813
/corert/bin/Linux.arm64.Release/build/Microsoft.NETCore.Native.targets(248,5): error MSB3073: The command ""/corert/tests/../bin/Linux.arm64.Release/tools/ilc" @"/corert/tests/src/Simple/PInvoke/obj/Release/arm64/native/PInvoke.ilc.rsp"" exited with code 1. [/corert/tests/src/Simple/PInvoke/PInvoke.csproj]
/corert/tests/../Tools/msbuild.sh /ds /m /p:IlcPath=/corert/tests/../bin/Linux.arm64.Release /p:Configuration=Release /p:Platform=arm64 /p:OSGroup=Linux /p:RepoLocalBuild=true /p:FrameworkLibPath=/corert/tests/../bin/Linux.arm64.Release/lib /p:FrameworkObjPath=/corert/tests/../bin/obj/Linux.arm64.Release/Framework /p:NativeCodeGen=readytorun /corert/tests/src/Simple/ReadyToRunUnit/ReadyToRunUnit.csproj
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  /usr/bin/clang-3.9
  Generating native code
EXEC : error : Unable to load shared library 'jitinterface' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libjitinterface: cannot open shared object file: No such file or directory [/corert/tests/src/Simple/ReadyToRunUnit/ReadyToRunUnit.csproj]
  System.DllNotFoundException: Unable to load shared library 'jitinterface' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libjitinterface: cannot open shared object file: No such file or directory
     at Internal.JitInterface.CorInfoImpl.GetJitHost(IntPtr configProvider)
     at Internal.JitInterface.CorInfoImpl..ctor(JitConfigProvider jitConfig) in /corert/src/JitInterface/src/CorInfoImpl.cs:line 118
     at ILCompiler.ReadyToRunCodegenCompilation..ctor(DependencyAnalyzerBase`1 dependencyGraph, ReadyToRunCodegenNodeFactory nodeFactory, IEnumerable`1 roots, ILProvider ilProvider, DebugInformationProvider debugInformationProvider, PInvokeILEmitterConfiguration pInvokePolicy, Logger logger, DevirtualizationManager devirtualizationManager, JitConfigProvider configProvider, String inputFilePath) in /corert/src/ILCompiler.ReadyToRun/src/Compiler/ReadyToRunCodegenCompilation.cs:line 59
     at ILCompiler.ReadyToRunCodegenCompilationBuilder.ToCompilation() in /corert/src/ILCompiler.ReadyToRun/src/Compiler/ReadyToRunCodegenCompilationBuilder.cs:line 120
     at ILCompiler.Program.Run(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 644
     at ILCompiler.Program.Main(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 813
/corert/bin/Linux.arm64.Release/build/Microsoft.NETCore.Native.targets(248,5): error MSB3073: The command ""/corert/tests/../bin/Linux.arm64.Release/tools/ilc" @"/corert/tests/src/Simple/ReadyToRunUnit/obj/Release/arm64/native/ReadyToRunUnit.ilc.rsp"" exited with code 1. [/corert/tests/src/Simple/ReadyToRunUnit/ReadyToRunUnit.csproj]
/corert/tests/../Tools/msbuild.sh /ds /m /p:IlcPath=/corert/tests/../bin/Linux.arm64.Release /p:Configuration=Release /p:Platform=arm64 /p:OSGroup=Linux /p:RepoLocalBuild=true /p:FrameworkLibPath=/corert/tests/../bin/Linux.arm64.Release/lib /p:FrameworkObjPath=/corert/tests/../bin/obj/Linux.arm64.Release/Framework /corert/tests/src/Simple/Reflection/Reflection.csproj
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  /usr/bin/clang-3.9
  Generating native code
EXEC : error : The method or operation is not implemented. [/corert/tests/src/Simple/Reflection/Reflection.csproj]
  System.NotImplementedException: The method or operation is not implemented.
     at ILCompiler.DependencyAnalysis.ReadyToRunHelperNode.EmitCode(NodeFactory factory, ARM64Emitter& encoder, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/Target_ARM64/ARM64ReadyToRunHelperNode.cs:line 20
     at ILCompiler.DependencyAnalysis.AssemblyStubNode.GetData(NodeFactory factory, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/AssemblyStubNode.cs:line 68
     at ILCompiler.DependencyAnalysis.ObjectNode.GetStaticDependencies(NodeFactory factory) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ObjectNode.cs:line 61
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.GetStaticDependenciesImpl(DependencyNodeCore`1 node) in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 145
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ProcessMarkStack() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 212
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ComputeMarkedNodes() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 262
     at ILCompiler.ILScanner.ILCompiler.IILScanner.Scan() in /corert/src/ILCompiler.Compiler/src/Compiler/ILScanner.cs:line 84
     at ILCompiler.Program.Run(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 600
     at ILCompiler.Program.Main(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 813
/corert/bin/Linux.arm64.Release/build/Microsoft.NETCore.Native.targets(248,5): error MSB3073: The command ""/corert/tests/../bin/Linux.arm64.Release/tools/ilc" @"/corert/tests/src/Simple/Reflection/obj/Release/arm64/native/Reflection.ilc.rsp"" exited with code 1. [/corert/tests/src/Simple/Reflection/Reflection.csproj]
/corert/tests/../Tools/msbuild.sh /ds /m /p:IlcPath=/corert/tests/../bin/Linux.arm64.Release /p:Configuration=Release /p:Platform=arm64 /p:OSGroup=Linux /p:RepoLocalBuild=true /p:FrameworkLibPath=/corert/tests/../bin/Linux.arm64.Release/lib /p:FrameworkObjPath=/corert/tests/../bin/obj/Linux.arm64.Release/Framework /p:NativeCodeGen=cpp /p:AdditionalCppCompilerFlags=" -target aarch64-linux-gnu --sysroot=/corert/tests/../cross/rootfs/arm64" /p:AdditionalLinkerFlags=" -target aarch64-linux-gnu -B /corert/tests/../cross/rootfs/arm64/usr/lib/gcc/aarch64-linux-gnu -L/corert/tests/../cross/rootfs/arm64/lib/aarch64-linux-gnu --sysroot=/corert/tests/../cross/rootfs/arm64" /corert/tests/src/Simple/Reflection/Reflection.csproj
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  /usr/bin/clang-3.9
  Generating native code
EXEC : error : The method or operation is not implemented. [/corert/tests/src/Simple/Reflection/Reflection.csproj]
  System.NotImplementedException: The method or operation is not implemented.
     at ILCompiler.DependencyAnalysis.ReadyToRunGenericHelperNode.EmitCode(NodeFactory factory, ARM64Emitter& encoder, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/Target_ARM64/ARM64ReadyToRunGenericHelperNode.cs:line 29
     at ILCompiler.DependencyAnalysis.AssemblyStubNode.GetData(NodeFactory factory, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/AssemblyStubNode.cs:line 68
     at ILCompiler.DependencyAnalysis.ObjectNode.GetStaticDependencies(NodeFactory factory) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ObjectNode.cs:line 61
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.GetStaticDependenciesImpl(DependencyNodeCore`1 node) in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 145
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ProcessMarkStack() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 212
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ComputeMarkedNodes() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 262
     at ILCompiler.CppCodegenCompilation.CompileInternal(String outputFile, ObjectDumper dumper) in /corert/src/ILCompiler.CppCodeGen/src/Compiler/CppCodegenCompilation.cs:line 50
     at ILCompiler.Compilation.ILCompiler.ICompilation.Compile(String outputFile, ObjectDumper dumper) in /corert/src/ILCompiler.Compiler/src/Compiler/Compilation.cs:line 404
     at ILCompiler.Program.Run(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 648
     at ILCompiler.Program.Main(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 813
/corert/bin/Linux.arm64.Release/build/Microsoft.NETCore.Native.targets(248,5): error MSB3073: The command ""/corert/tests/../bin/Linux.arm64.Release/tools/ilc" @"/corert/tests/src/Simple/Reflection/obj/Release/arm64/native/Reflection.ilc.rsp"" exited with code 1. [/corert/tests/src/Simple/Reflection/Reflection.csproj]
/corert/tests/../Tools/msbuild.sh /ds /m /p:IlcPath=/corert/tests/../bin/Linux.arm64.Release /p:Configuration=Release /p:Platform=arm64 /p:OSGroup=Linux /p:RepoLocalBuild=true /p:FrameworkLibPath=/corert/tests/../bin/Linux.arm64.Release/lib /p:FrameworkObjPath=/corert/tests/../bin/obj/Linux.arm64.Release/Framework /corert/tests/src/Simple/SharedLibrary/SharedLibrary.csproj
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  /usr/bin/clang-3.9
  Generating native code
EXEC : error : The method or operation is not implemented. [/corert/tests/src/Simple/SharedLibrary/SharedLibrary.csproj]
  System.NotImplementedException: The method or operation is not implemented.
     at ILCompiler.DependencyAnalysis.ReadyToRunHelperNode.EmitCode(NodeFactory factory, ARM64Emitter& encoder, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/Target_ARM64/ARM64ReadyToRunHelperNode.cs:line 20
     at ILCompiler.DependencyAnalysis.AssemblyStubNode.GetData(NodeFactory factory, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/AssemblyStubNode.cs:line 68
     at ILCompiler.DependencyAnalysis.ObjectNode.GetStaticDependencies(NodeFactory factory) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ObjectNode.cs:line 61
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.GetStaticDependenciesImpl(DependencyNodeCore`1 node) in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 145
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ProcessMarkStack() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 212
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ComputeMarkedNodes() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 262
     at ILCompiler.ILScanner.ILCompiler.IILScanner.Scan() in /corert/src/ILCompiler.Compiler/src/Compiler/ILScanner.cs:line 84
     at ILCompiler.Program.Run(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 600
     at ILCompiler.Program.Main(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 813
/corert/bin/Linux.arm64.Release/build/Microsoft.NETCore.Native.targets(248,5): error MSB3073: The command ""/corert/tests/../bin/Linux.arm64.Release/tools/ilc" @"/corert/tests/src/Simple/SharedLibrary/obj/Release/arm64/native/SharedLibrary.ilc.rsp"" exited with code 1. [/corert/tests/src/Simple/SharedLibrary/SharedLibrary.csproj]
/corert/tests/../Tools/msbuild.sh /ds /m /p:IlcPath=/corert/tests/../bin/Linux.arm64.Release /p:Configuration=Release /p:Platform=arm64 /p:OSGroup=Linux /p:RepoLocalBuild=true /p:FrameworkLibPath=/corert/tests/../bin/Linux.arm64.Release/lib /p:FrameworkObjPath=/corert/tests/../bin/obj/Linux.arm64.Release/Framework /corert/tests/src/Simple/StaticLibrary/StaticLibrary.csproj
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  /usr/bin/clang-3.9
  Generating native code
EXEC : error : The method or operation is not implemented. [/corert/tests/src/Simple/StaticLibrary/StaticLibrary.csproj]
  System.NotImplementedException: The method or operation is not implemented.
     at ILCompiler.DependencyAnalysis.ReadyToRunHelperNode.EmitCode(NodeFactory factory, ARM64Emitter& encoder, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/Target_ARM64/ARM64ReadyToRunHelperNode.cs:line 20
     at ILCompiler.DependencyAnalysis.AssemblyStubNode.GetData(NodeFactory factory, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/AssemblyStubNode.cs:line 68
     at ILCompiler.DependencyAnalysis.ObjectNode.GetStaticDependencies(NodeFactory factory) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ObjectNode.cs:line 61
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.GetStaticDependenciesImpl(DependencyNodeCore`1 node) in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 145
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ProcessMarkStack() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 212
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ComputeMarkedNodes() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 262
     at ILCompiler.ILScanner.ILCompiler.IILScanner.Scan() in /corert/src/ILCompiler.Compiler/src/Compiler/ILScanner.cs:line 84
     at ILCompiler.Program.Run(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 600
     at ILCompiler.Program.Main(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 813
/corert/bin/Linux.arm64.Release/build/Microsoft.NETCore.Native.targets(248,5): error MSB3073: The command ""/corert/tests/../bin/Linux.arm64.Release/tools/ilc" @"/corert/tests/src/Simple/StaticLibrary/obj/Release/arm64/native/StaticLibrary.ilc.rsp"" exited with code 1. [/corert/tests/src/Simple/StaticLibrary/StaticLibrary.csproj]
/corert/tests/../Tools/msbuild.sh /ds /m /p:IlcPath=/corert/tests/../bin/Linux.arm64.Release /p:Configuration=Release /p:Platform=arm64 /p:OSGroup=Linux /p:RepoLocalBuild=true /p:FrameworkLibPath=/corert/tests/../bin/Linux.arm64.Release/lib /p:FrameworkObjPath=/corert/tests/../bin/obj/Linux.arm64.Release/Framework /corert/tests/src/Simple/Threading/Threading.csproj
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  /usr/bin/clang-3.9
  Generating native code
EXEC : error : The method or operation is not implemented. [/corert/tests/src/Simple/Threading/Threading.csproj]
  System.NotImplementedException: The method or operation is not implemented.
     at ILCompiler.DependencyAnalysis.ReadyToRunHelperNode.EmitCode(NodeFactory factory, ARM64Emitter& encoder, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/Target_ARM64/ARM64ReadyToRunHelperNode.cs:line 20
     at ILCompiler.DependencyAnalysis.AssemblyStubNode.GetData(NodeFactory factory, Boolean relocsOnly) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/AssemblyStubNode.cs:line 68
     at ILCompiler.DependencyAnalysis.ObjectNode.GetStaticDependencies(NodeFactory factory) in /corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ObjectNode.cs:line 61
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.GetStaticDependenciesImpl(DependencyNodeCore`1 node) in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 145
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ProcessMarkStack() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 212
     at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ComputeMarkedNodes() in /corert/src/ILCompiler.DependencyAnalysisFramework/src/DependencyAnalyzer.cs:line 262
     at ILCompiler.ILScanner.ILCompiler.IILScanner.Scan() in /corert/src/ILCompiler.Compiler/src/Compiler/ILScanner.cs:line 84
     at ILCompiler.Program.Run(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 600
     at ILCompiler.Program.Main(String[] args) in /corert/src/ILCompiler/src/Program.cs:line 813
/corert/bin/Linux.arm64.Release/build/Microsoft.NETCore.Native.targets(248,5): error MSB3073: The command ""/corert/tests/../bin/Linux.arm64.Release/tools/ilc" @"/corert/tests/src/Simple/Threading/obj/Release/arm64/native/Threading.ilc.rsp"" exited with code 1. [/corert/tests/src/Simple/Threading/Threading.csproj]
JIT - TOTAL: 11 PASSED: 0
CPP - TOTAL: 6 PASSED: 0
WASM - TOTAL: 0 PASSED: 0
R2R - TOTAL: 1 PASSED: 0
bilenkonito commented 5 years ago

I just realised that ARMReadyToRunHelperNode.cs is basically a stub that throws NotImplementedException.

I was under the impression that CoreRT had at some point supported arm64 like it had arm, is this not the case? Is it only Project N that has ever supported ARM64?

jkotas commented 5 years ago

CoreRT had at some point supported arm64 like it had arm, is this not the case? Is it only Project N that has ever supported ARM64?

Correct. ProjectN and CoreRT share 90%+ of code. This path is RyuJIT-specific and thus not shared with ProjectN.

bilenkonito commented 5 years ago

I'll work on the managed part then. It looks like it's only missing some implementations under ILCompiler.Compiler/Compiler/DependencyAnalysis/Target_ARM64/.

jkotas commented 5 years ago

ILCompiler.Compiler/Compiler/DependencyAnalysis/Target_ARM64/.

The typical strategy to fill these in is to just emit breakpoint, and then work on the actual implementation later once you can actually test it.