You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[android] .NET Preview 2, AOT w/ LLVM fails with mini-llvm.c:8581, condition elems <= MAX_VECTOR_ELEMS / 2' not met #98501
It appears any Release build using -p:EnableLLVM fails with:
Precompiling failed for /Users/runner/work/1/s/tests/Mono.Android-Tests/Runtime-Microsoft.Android.Sdk/obj/Release/net9.0-android/android-x64/linked/System.Private.CoreLib.dll with exit code 134.
Mono Ahead of Time compiler - compiling assembly /Users/runner/work/1/s/tests/Mono.Android-Tests/Runtime-Microsoft.Android.Sdk/obj/Release/net9.0-android/android-x64/linked/System.Private.CoreLib.dll
AOTID 22717FEB-1950-D4F1-D7BF-6FD5FD5FFC96
* Assertion at /Users/runner/work/1/s/src/mono/mono/mini/mini-llvm.c:8581, condition `elems <= MAX_VECTOR_ELEMS / 2' not met
Reproduction Steps
dotnet new android
dotnet build -c Release -p:EnableLLVM=true
Expected behavior
Release builds using -p:EnableLLVM succeed.
Actual behavior
Release builds using -p:EnableLLVM fail with an assertion.
Regression?
Yes, this was working previously in .NET 9 and .NET 8.
Activity
jonathanpeppers commentedon Feb 15, 2024
/cc @steveisok
I'll also try the newest build in case there is a recent fix for this.
[-][android] .NET Preview 2, AOT w/ LLVM fails with `mini-llvm.c:8581, condition `elems <= MAX_VECTOR_ELEMS / 2' not met`[/-][+][android] .NET Preview 2, AOT w/ LLVM fails with `mini-llvm.c:8581, condition elems <= MAX_VECTOR_ELEMS / 2' not met`[/+]steveisok commentedon Feb 15, 2024
@vargaz can you please take a look?
vargaz commentedon Feb 15, 2024
Should be fixed by this:
#98320
lewing commentedon Feb 15, 2024
dotnet/android#8716 is green now, closing
jonathanpeppers commentedon Feb 15, 2024
I don't know why, but Maestro PRs only trigger CI like 50% of the time. It should have ~46 green checks when it's green.
I queued one, and will reopen if there is still an issue here:
dotnet/android#8716 (comment)