-
Notifications
You must be signed in to change notification settings - Fork 132
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
[SBRP] Add netcoreapp3.0 to 4.7.0 System.Security.Permissions #2438
[SBRP] Add netcoreapp3.0 to 4.7.0 System.Security.Permissions #2438
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. |
Hi @MichaelSimons @dseefeld @akoeplinger this is now causing build failures with source-build on s390x. The problem is that we're a Mono-only platform, and therefore need to enable building Mono even with source-build (dotnet/runtime#58553) - on other platforms Mono is completely disabled with source-build. But this means that right now we're not just building the Mono runtime, but also the Mono packages from However, after applying Now I'm wondering what the way forward is here: it seems in the meantime the underlying problem has been fixed. Is the plan to now revert that patch and build |
@uweigand - the patch was a temporary workaround until this issue was fixed. I am will try removing the patch now that 4.7.0 was added to the source-build-reference-packages. The result is that IlStrip should be part of source-build again. |
Excellent, thanks! I can confirm that removing the patch makes the runtime source-build go through successfully for me. |
This is needed for the following runtime error:
The
PermissionSet
class was moved fromSystem.Security.Permissions.dll
toSystem.Runtime.dll
. The two referenced assemblies are not coherent.When building in the tarball the following assemblies are used:
/reference:/repos/tarball1/src/runtime.c300b096419523024f2b807ec9db3c2d91df0298/artifacts/source-build/self/package-cache/system.security.permissions/4.7.0/ref/netstandard2.0/System.Security.Permissions.dll
/reference:/repos/tarball1/.dotnet/packs/Microsoft.NETCore.App.Ref/6.0.0-rc.2.21423.6/ref/net6.0/System.Runtime.dll
When building the runtime repo outside of source-build, a netcoreapp3.0 version of System.Security.Permissions.dll is used.
A workaround for the ILStrip.csproj is to exclude it from source-build since it does not appear to be required.
The text was updated successfully, but these errors were encountered: