-
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
[master] Update dependencies from dotnet/runtime #45387
[master] Update dependencies from dotnet/runtime #45387
Conversation
…1130.7 runtime.native.System.IO.Ports , Microsoft.NETCore.ILAsm , Microsoft.NET.Sdk.IL , Microsoft.NETCore.DotNetHost , Microsoft.NETCore.DotNetHostPolicy , System.Text.Json From Version 5.0.0-alpha.1.19563.3 -> To Version 6.0.0-alpha.1.20580.7
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
…1201.3 runtime.native.System.IO.Ports , Microsoft.NETCore.ILAsm , Microsoft.NET.Sdk.IL , Microsoft.NETCore.DotNetHost , Microsoft.NETCore.DotNetHostPolicy , System.Text.Json From Version 5.0.0-alpha.1.19563.3 -> To Version 6.0.0-alpha.1.20601.3
'JsonSerializerOptions.IgnoreNullValues' is obsolete: 'To ignore null values when serializing, set DefaultIgnoreCondition to JsonIgnoreCondition.WhenWritingNull.'
Seems we're running into Looks like this is because of 99bbb19 which added support for writing PDBs when @noahfalk @BruceForstall @AaronRobinsonMSFT I'm not sure if we can easily detect coreclr in src/coreclr/src/.nuget/Microsoft.NET.Sdk.IL/targets/Microsoft.NET.Sdk.IL.targets so we can pass |
I don't know how those targets file work, esp. for Core vs. non-Core. Isn't the referenced Microsoft.NET.Sdk.IL.targets only for coreclr? In which case maybe anything passing -DEBUG should also pass @davidwrighton comments? |
…1202.2 runtime.native.System.IO.Ports , Microsoft.NET.Sdk.IL , Microsoft.NETCore.DotNetHost , Microsoft.NETCore.DotNetHostPolicy , Microsoft.NETCore.ILAsm , System.Text.Json From Version 5.0.0-alpha.1.19563.3 -> To Version 6.0.0-alpha.1.20602.2
Actually, isn't the ilasm built from this repo always using coreclr (since the sources aren't shared back with netframework afaik), so maybe we should just default to portable PDB in ilasm? |
You could presumably use the dotnet/runtime ilasm to build code to be used for .NET Framework, but that seems unlikely. More likely, there was probably a desire not to change existing command-line behavior. I'm not sure what the correct default should be. |
I think switching to portable as the default sounds reasonable but I'm not an expert in that area. cc @ericstj |
The netframework version of ilasm doesn't have the /PDBFMT option so there shouldn't be any compatibility issues. If I understand @AaronRobinsonMSFT comment on #39436 (comment) correctly |
At least the ILSDK targets should be made to understand the same properties that CSC uses to set the PDB type. That'll resolve the warning/error. As far as defaults, that can be a different discussion. |
@ericstj I'm not sure it'd fix the build error since we seem to have some cases where we actually pass DebugType=Full otherwise we wouldn't pass /DEBUG to ikdasm: runtime/src/coreclr/src/.nuget/Microsoft.NET.Sdk.IL/targets/Microsoft.NET.Sdk.IL.targets Lines 131 to 133 in b9de3d0
|
Fix that too then :) Here: Line 12 in fde9281
|
…1203.3 runtime.native.System.IO.Ports , Microsoft.NETCore.ILAsm , Microsoft.NET.Sdk.IL , Microsoft.NETCore.DotNetHost , Microsoft.NETCore.DotNetHostPolicy , System.Text.Json From Version 5.0.0-alpha.1.19563.3 -> To Version 6.0.0-alpha.1.20603.3
…1203.13 runtime.native.System.IO.Ports , Microsoft.NETCore.ILAsm , Microsoft.NET.Sdk.IL , Microsoft.NETCore.DotNetHost , Microsoft.NETCore.DotNetHostPolicy , System.Text.Json From Version 5.0.0-alpha.1.19563.3 -> To Version 6.0.0-alpha.1.20603.13
…1204.10 runtime.native.System.IO.Ports , Microsoft.NETCore.ILAsm , Microsoft.NET.Sdk.IL , Microsoft.NETCore.DotNetHost , Microsoft.NETCore.DotNetHostPolicy , System.Text.Json From Version 5.0.0-alpha.1.19563.3 -> To Version 6.0.0-alpha.1.20604.10
…1205.2 runtime.native.System.IO.Ports , Microsoft.NETCore.ILAsm , Microsoft.NET.Sdk.IL , Microsoft.NETCore.DotNetHost , Microsoft.NETCore.DotNetHostPolicy , System.Text.Json From Version 5.0.0-alpha.1.19563.3 -> To Version 6.0.0-alpha.1.20605.2
…1206.6 runtime.native.System.IO.Ports , Microsoft.NETCore.ILAsm , Microsoft.NET.Sdk.IL , Microsoft.NETCore.DotNetHost , Microsoft.NETCore.DotNetHostPolicy , System.Text.Json From Version 5.0.0-alpha.1.19563.3 -> To Version 6.0.0-alpha.1.20606.6
…1208.2 runtime.native.System.IO.Ports , Microsoft.NETCore.ILAsm , Microsoft.NETCore.DotNetHostPolicy , Microsoft.NET.Sdk.IL , Microsoft.NETCore.DotNetHost , System.Text.Json From Version 5.0.0-alpha.1.19563.3 -> To Version 6.0.0-alpha.1.20608.2
Now ilasm failing with seg fault:
|
…1209.2 runtime.native.System.IO.Ports , Microsoft.NETCore.ILAsm , Microsoft.NETCore.DotNetHostPolicy , Microsoft.NET.Sdk.IL , Microsoft.NETCore.DotNetHost , System.Text.Json From Version 5.0.0-alpha.1.19563.3 -> To Version 6.0.0-alpha.1.20609.2
…1209.15 runtime.native.System.IO.Ports , Microsoft.NETCore.ILAsm , Microsoft.NETCore.DotNetHostPolicy , Microsoft.NET.Sdk.IL , Microsoft.NETCore.DotNetHost , System.Text.Json From Version 5.0.0-alpha.1.19563.3 -> To Version 6.0.0-alpha.1.20609.15
Ugh, that is a lot of files that need this workaround. I doubt that this set is complete. I think we should get the proper fix in ilasm in place instead. |
@jkotas I did run every .il file in src/tests through ilasm manually and fixed all of the cases where it crashed so I'm reasonably sure it is the complete set. |
Still, I think it would be better to get the proper fix in ilasm instead of touching 400+ files. |
#46080 has the fix for the ilasm crash. Could you please revert the workaround and wait for it get merged? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to prevent the PR from being auto-merged accidentally.
Failure is #11063. |
This pull request updates the following dependencies
From https://github.com/dotnet/runtime