dotnetbot sample fails to compile on Ubuntu
From @silentnull:
HI, I downloaded samples dotnetbot code and during compile with latest coreclr in native mode I have follow error: Compiling> [System.Private.CoreLib]System.Runtime.InteropServices.InteropExtensions.MightBeBlittable
https://github.com/dotnet/core/tree/master/samples/dotnetbot
@schellap Could you please take a look at this? People are who are just trying to native compile hello world are running into this. Do we just need to push updated corert bits somewhere?
Taking a look, surprising because the DotNet/CLI also has Ubuntu CI compiling with these exact bits.
/Cc @brthor
This is the last method compiled successfully in "Hello World" sample app as the toolchain is supposed to.
Compiling> [System.Private.CoreLib]System.Runtime.InteropServices.InteropExtensions.MightBeBlittable
The post compilation linking steps done by CLI fails trying to find the pre-requisite tools/libraries. We need better error messages than "No such file or directory" and bail out early if pre-requisites are not found. I'll keep this issue to track adding support to CLI.