Skip to content

Conversation

jonathanpeppers
Copy link
Member

Context: #9469 (comment)

I don't think this actually works, as the AOT compiler fails with:

> dotnet build -c Release -p:AndroidAotMode=FullInterp -p:AndroidEnableProfiledAot=false -bl -t:Install -r android-x64
helloandroid failed with 1 error(s) (8.9s)
    D:\src\xamarin-android\bin\Debug\lib\packs\Microsoft.Android.Sdk.Windows\35.99.0\targets\Microsoft.Android.Sdk.Aot.targets(110,5): error :
    Precompiling failed for D:\src\helloandroid\obj\Release\net9.0-android\android-x64\linked\System.Private.CoreLib.dll with exit code -1073740791.
    Mono Ahead of Time compiler - compiling assembly D:\src\helloandroid\obj\Release\net9.0-android\android-x64\linked\System.Private.CoreLib.dll
    AOTID 7FACD039-CD91-2136-1ACD-BC2EDF417C8D
    * Assertion: should not be reached at D:\a\_work\1\s\src\mono\mono\mini\tramp-amd64.c:1216
helloandroid failed (0.7s) → bin\Release\net9.0-android\android-x64\helloandroid.dll

Which is the assertion here:

https://github.com/dotnet/runtime/blob/7dab903b20269d78c6bc08d5269947db7d35c22b/src/mono/mono/mini/tramp-amd64.c#L1216

Context: #9469 (comment)

I don't think this actually works, as the AOT compiler fails with:

    > dotnet build -c Release -p:AndroidAotMode=FullInterp -p:AndroidEnableProfiledAot=false -bl -t:Install -r android-x64
    helloandroid failed with 1 error(s) (8.9s)
        D:\src\xamarin-android\bin\Debug\lib\packs\Microsoft.Android.Sdk.Windows\35.99.0\targets\Microsoft.Android.Sdk.Aot.targets(110,5): error :
        Precompiling failed for D:\src\helloandroid\obj\Release\net9.0-android\android-x64\linked\System.Private.CoreLib.dll with exit code -1073740791.
        Mono Ahead of Time compiler - compiling assembly D:\src\helloandroid\obj\Release\net9.0-android\android-x64\linked\System.Private.CoreLib.dll
        AOTID 7FACD039-CD91-2136-1ACD-BC2EDF417C8D
        * Assertion: should not be reached at D:\a\_work\1\s\src\mono\mono\mini\tramp-amd64.c:1216
    helloandroid failed (0.7s) → bin\Release\net9.0-android\android-x64\helloandroid.dll

Which is the assertion here:

https://github.com/dotnet/runtime/blob/7dab903b20269d78c6bc08d5269947db7d35c22b/src/mono/mono/mini/tramp-amd64.c#L1216
@jonathanpeppers
Copy link
Member Author

/cc @ivanpovazan

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant