Open jonathanpeppers opened 1 year ago
/cc @vargaz
Would it be possible to create a smaller testcase that doesn't depend on xamarin-android ? Or the functionality is android specific ?
Maybe @jonpryor would know how to do this when he's back.
I'm guessing this would be something like:
But then you'd have to setup the <MonoAOTCompiler/>
task w/ LLVM?
I don't see the required AOT pack to make this kind of project:
I think we would need Microsoft.NETCore.App.Runtime.AOT.osx-arm64.Cross.osx-arm64
to do this on an M1, which doesn't exist?
Maybe the only way to do this is on Android.
cc @fanyang-mono
Tried extracting a testcase out of the test suite into a standalone app, but can't reproduce the problem.
This seems like a test case failure. Moving to 9.0.0, but based on ongoing investigations, if needed will backport fix to 8.0\rc1
Description
We have a set of on-device tests that only fail when building with
-p:EnableLLVM=true
.Example:
They only fail on
bool
,sbyte
,char
, andshort
. The tests pass if-p:EnableLLVM
is false (which is the default for customers) and they pass for the other data types.Reproduction Steps
Build and run the xamarin/xamarin-android device test project with
-c Release -p:EnableLLVM=true
:Expected behavior
Tests pass when
-p:EnableLLVM=true
.Actual behavior
Tests fail when
-p:EnableLLVM=true
.Regression?
Yes, this worked in .NET 6 & .NET 7 and past .NET 8 previews.
Known Workarounds
Use
-p:EnableLLVM=false
instead.Configuration
Started happening: https://github.com/xamarin/xamarin-android/pull/8176
.NET SDK: 8.0.100-preview.7.23364.32
Other information
No response