Closed
Description
openedon Oct 3, 2022
Description
Shared compilation with Roslyn fails on mono-backed runtime on linux-musl
platforms. This only happens on .net6, thus suggesting it is simply a fix needing backporting.
Reproduction Steps
Within Alpine Linux linux-musl-x64 environment:
- Unpack bootstrap tar in ./bootstrap directory
- Attempt to build newtonsoft-json via:
./bootstrap/dotnet build Src/Newtonsoft.Json/Newtonsoft.Json.csproj /v:diag
- let it rip
Note that bootstrap tar was built using this aports script and #68424 to allow building with /p:PrimaryRuntimeFlavor=Mono
Expected behavior
Shared compilation should pass without issue
Actual behavior
Death
Regression?
Not a regression, per se. .net7 with mono has issues on linux-musl
but this is not one of them.
Known Workarounds
Building with /p:UseSharedCompilation=false
Configuration
- .NET 6.0.109
- Alpine Linux Edge
- x64 and s390x have been tested to be broken
- Reproducible across multiple
linux-musl
platforms
Other information
No response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment