Closed
Description
Description
I get the following error when building roslyn with the latest 8.0.0-preview.7 of dotnet on s390x musl-libc system (Alpine Linux):
* Assertion at /var/lib/gitlab-runner/builds/ayakael/dotnet-stage0/src/dotnet-8.0.0-preview.7.23375.6/src/runtime/src/mono/mono/mini/method-to-ir.c:13122, condition `var->opcode == OP_REGOFFSET' not met
3799=================================================================
3800 Native Crash Reporting
3801=================================================================
3802Got a SIGABRT while executing native code. This usually indicates
3803a fatal error in the mono runtime or one of the native libraries
3804used by your application.
3805=================================================================
3806=================================================================
3807 Basic Fault Address Reporting
3808=================================================================
3809Memory around native instruction pointer (0x3ffa1cd715e):0x3ffa1cd714e 00 af a7 29 00 02 a7 49 00 00 a7 59 00 08 0a 00 ...)...I...Y....
38100x3ffa1cd715e 07 fe eb ef f0 70 00 24 a7 19 00 69 e3 f0 ff 60 .....p.$...i...`
38110x3ffa1cd716e ff 71 0a 00 c0 e5 ff fe 59 9f eb ef f1 10 00 04 .q......Y.......
38120x3ffa1cd717e b9 14 00 22 07 fe 07 07 07 07 eb ef f0 70 00 24 ...".........p.$
3813=================================================================
3814 Managed Stacktrace:
3815=================================================================
3816 at <unknown> <0xffffffff>
3817 at <unknown> <0xffffffff>
3818 at System.CommandLine.Parsing.SymbolResult:GetValue <0x0008c>
3819 at System.CommandLine.ParseResult:GetValue <0x00060>
3820 at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand:.ctor <0x0059a>
3821 at <>c:<ConstructCommand>b__6_0 <0x00088>
3822 at System.CommandLine.Invocation.AnonymousCliAction:Invoke <0x00068>
3823 at System.CommandLine.Invocation.InvocationPipeline:Invoke <0x00184>
3824 at System.CommandLine.ParseResult:Invoke <0x00044>
3825 at Microsoft.DotNet.Cli.Program:ProcessArgs <0x00b50>
3826 at Microsoft.DotNet.Cli.Program:Main <0x002b2>
3827 at <Module>:runtime_invoke_int_object <0x000da>
3828=================================================================
3829./eng/build.sh: line 311: 14307 Aborted (core dumped) dotnet tool restore
Reproduction Steps
Build roslyn on Alpine Linux s390x platform using the following bootstrap
Expected behavior
Build should work.
Actual behavior
Build fails
Regression?
I've never been able to build the whole dotnet8 stack using mono-flavored runtime.
Known Workarounds
None
Configuration
Alpine Linux s390x
Other information
I couldn't even get a binlog, so it seems pretty low-level.