corert icon indicating copy to clipboard operation
corert copied to clipboard

dotnetbot sample fails to compile on Ubuntu

Open jkotas opened this issue 11 years ago • 4 comments

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

jkotas avatar Nov 30 '15 19:11 jkotas

https://github.com/dotnet/core/tree/master/samples/dotnetbot

jkotas avatar Nov 30 '15 19:11 jkotas

@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?

jkotas avatar Dec 04 '15 17:12 jkotas

Taking a look, surprising because the DotNet/CLI also has Ubuntu CI compiling with these exact bits.

schellap avatar Dec 04 '15 18:12 schellap

/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.

schellap avatar Dec 04 '15 19:12 schellap