Skip to content

[WIP] move around enough things, to test LLVM Marshal Methods + ReadyToRun #10066

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

jonathanpeppers
Copy link
Member

@jonathanpeppers jonathanpeppers commented Apr 22, 2025

This is WIP, I don't really intend for this to be merged. We need to be able to test the perf of LLVM Marshal Methods w/ ReadyToRun.

I'm only building such as:

.\dotnet-local.cmd build -c Release -p:UseMonoRuntime=false -p:PublishReadyToRun=true -p:_IsPublishing=true -r android-arm64 -p:AndroidPackageFormat=apk -bl

This is currently working.

Results of the comparision available here.

Microsoft.Android.Sdk.AssemblyResolution.targets(111,5): error MSB4006: There is a circular dependency in the target dependency graph involving target "_ResolveAssemblies".
Internal error: assembly 'obj\Release\net10.0-android\android-arm64\linked\_Microsoft.Android.Resource.Designer.dll' lacks ABI metadata
Internal error: unsupported ABI 'android-arm64'
error : 'obj\Release\net10.0-android\android-arm64\linked\_Microsoft.Android.Resource.Designer.jlo.xml' not found.
Xamarin.Android.Common.targets(1609,3): error XAGMM7001:
      System.NullReferenceException: Object reference not set to an instance of an object.
         at Xamarin.Android.Tasks.ManifestDocument.Merge(TaskLoggingHelper log, TypeDefinitionCache cache, List`1 subclasses, String applicationClass, Boolean embed, String bundledWearApplicationName, IEnumerab
      le`1 mergedManifestDocuments) in D:\src\xamarin-android\src\Xamarin.Android.Build.Tasks\Utilities\ManifestDocument.cs:line 274
         at Xamarin.Android.Tasks.GenerateMainAndroidManifest.MergeManifest(NativeCodeGenState codeGenState, Dictionary`2 userAssemblies) in D:\src\xamarin-android\src\Xamarin.Android.Build.Tasks\Tasks\Generate
      MainAndroidManifest.cs:line 127
         at Xamarin.Android.Tasks.GenerateMainAndroidManifest.RunTask() in D:\src\xamarin-android\src\Xamarin.Android.Build.Tasks\Tasks\GenerateMainAndroidManifest.cs:line 74
         at Microsoft.Android.Build.Tasks.AndroidTask.Execute() in D:\src\xamarin-android\external\xamarin-android-tools\src\Microsoft.Android.Build.BaseTasks\AndroidTask.cs:line 25
  helloandroid failed with 1 warning(s) (0.6s) → bin\Release\net10.0-android\android-arm64\helloandroid.dll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant