-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The CoreRT compiler fails with a StackOverflowException #653
Comments
any update? |
Not yet. Will try to take a look at the upcoming weekend. |
@frankzye Could you post a minimal repro for the issue? Currently I'm getting another error:
@MichalStrehovsky Is there any way to get the method name which is failed to compile? |
Sample.zip |
@YohDeadfall How are things going? |
I had no time to contribute for the last two weeks, sorry. @roji @austindrenski Would you like to take a look at it? |
I definitely won't have any bandwidth for this in the next few weeks... Possible afterwards |
I'm cleaning up the provided sample now to repost as a repo. I haven't worked with the AOT toolchain before, but I'll see what I can do. See: https://github.com/austindrenski/EFCore.PG-653 Related |
So it seems like whatever is triggering this is happening within Thankfully, it looks like some serious legwork has been done in dotnet/corert#6477 by @rubin55 and @MichalStrehovsky to document these issues. I'm working my way though those now before debugging the issue in the migrations code. |
I'm guessing that many/most of these issues are going to be EF Core-related, rather than specific to Npgsql - it's better to raise these with the EF Core team. I have no idea what the status of EF Core CortRT support is, or whether full CoreRT is a goal of theirs. |
That was my impression after putting in a few hours with it. I would be interested to see a working version, so if anyone makes headway, please keep us in the loop by updating here. |
@rubin55 got EF core working in dotnet/corert#6477. It's about finding all the places where EF uses reflection. |
FWIW if EF Core is made to work, the Npgsql provider shouldn't be much effort beyond that - I don't think we do much that's reflection-based. |
Any update ? |
Not really... dotnet/corert#6477 still seems open even though @MichalStrehovsky mentioned he got EF Core working. The best way forward here is to see whether EF Core works on CoreRT with one of the built-in providers (SqlServer, Sqlient). If they do where Npgsql fails, then we should look into it, otherwise the issue belongs on the EF Core/CoreRT side. |
Am closing this as a general EF Core issue (dotnet/corert#6477). If, after EF Core works on CoreRT, we find a specific issue with the Npgsql provider (unlikely), we can revisit. |
From dotnet/corert#6372 by @frankzye.
I came an error:
So I added the following lines to RD.xml:
But when I compile, it throw an error "Process is terminating due to StackOverflowException", microsoft.dotnet.ilcompiler\1.0.0-alpha-26919-01\build\Microsoft.NETCore.Native.targets(200,5): error MSB3073 xxx runtime.win-x64.microsoft.dotnet.ilcompiler\1.0.0-alpha-26919-01\tools\ilc" @"obj\release\netcoreapp2.1\win-x64\native\DataExplorer.ilc.rsp exit.
The text was updated successfully, but these errors were encountered: