Skip to content

[release/6.0] CompilerServer: fatal error - server reports different hash version than build task on linux-musl when using mono-backed runtime #76543

Closed

Description

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:

./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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions