-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
ILC Compile errors during publishing #105947
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
1 similar comment
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
The command that failed is:
Could you:
I expect re-running the ILC command will still crash but it may have more useful details. |
Can you please go through the steps I posted above? The error message from |
I got this error
|
Can you paste the exact command you executed? Did you miss the |
This issue has been marked |
My bad, missing @
|
What's your current directory? Does |
Should help with things like #105947 where we're apparently not even able to compile a fallback method body because things are _so_ bad.
There is
|
There is (non-resilient mode)
|
full output:
|
Thanks. It still doesn't have the detail I was hoping to see. Could you open then rsp file and also delete the |
I see, when I remove the -o line shows
|
:( Delete the line that only has |
My bad
|
Hm, is |
yes sir
|
Should help with cases like #105947 that have inputs so bad we cannot compile fallback method body.
Sigh, this will require #105953 to root cause. The problem is that the input IL is bad in a way that looks irrecoverable for some reason and the compiler crashes before it prints the problematic method name. |
Ohhh, I see; when we have a new IL, I can run again and see if shows any other error, I also tried adding the -g [debug] into the rsp file and got the same error =/ |
@dougkl, if you can, please try dotnet9 daily build to see if it makes any difference. i.e.:
|
I will try it |
Should help with cases like #105947 that have inputs so bad we cannot compile fallback method body.
Should help with things like #105947 where we're apparently not even able to compile a fallback method body because things are _so_ bad.
Can you try adding the following lines to the .rsp file and execute again?
|
This error shows when the project is set the PublishAot = true , SelfContained I have ILC Compile errors
The text was updated successfully, but these errors were encountered: