Skip to content

[ios] mono-aot-cross failing on iOS AOT Functional Test #52736

Closed

Description

@steveisok

To reproduce, pull main and run:

./build.sh -Subset mono+libs -os iOSSimulator -arch x64
./dotnet.sh build /t:Test src/tests/FunctionalTests/iOS/Simulator/AOT /p:TargetOS=iOSSimulator /p:TargetArchitecture=x64

The AOT compiler fails with:

Precompiling failed for System.Private.CoreLib.dll: Error: Process returned non-zero exit code:

Mono Ahead of Time compiler - compiling assembly /Users/steve/dev/osx-runtime/artifacts/bin/iOS.Simulator.Aot.Test/net6.0-Debug/iossimulator-x64/publish/System.Private.CoreLib.dll
AOTID 71467BB2-19C4-CEA0-2741-D06AA8B0FDB2
type 0x1b not handled
* Assertion: should not be reached at /Users/steve/dev/osx-runtime/src/mono/mono/metadata/marshal-ilgen.c:1493

Activity

  1. ghost added
    untriaged
    on May 14, 2021
  2. steveisok commented on May 14, 2021

    @steveisok
    MemberAuthor
  3. vargaz commented on May 14, 2021

    @vargaz
    Contributor

    Can the output from the aot compiler be displayed when it fails ?

  4. vargaz commented on May 14, 2021

    @vargaz
    Contributor

    Probably a dup of:
    #52718

  5. steveisok commented on May 14, 2021

    @steveisok
    MemberAuthor

    I merged with the latest main and it does not look like a dup.

    I get this in the aot compiler output:

    Mono Ahead of Time compiler - compiling assembly /Users/steve/dev/osx-runtime/artifacts/bin/iOS.Simulator.Aot.Test/net6.0-Debug/iossimulator-x64/publish/System.Private.CoreLib.dll
    AOTID 71467BB2-19C4-CEA0-2741-D06AA8B0FDB2
    type 0x1b not handled
    * Assertion: should not be reached at /Users/steve/dev/osx-runtime/src/mono/mono/metadata/marshal-ilgen.c:1493
    
  6. self-assigned this
    on May 14, 2021
  7. added a commit that references this issue on May 14, 2021
  8. ghost added
    in-pr
    on May 14, 2021
  9. added a commit that references this issue on May 14, 2021
  10. ghost removed
    in-pr
    on May 14, 2021
  11. ghost locked as resolved and limited conversation to collaborators on Jun 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-Infrastructure-monountriaged

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions