Skip to content

Mac Catalyst: Need dllmap support #48110

Closed

Description

@rolfbjarne

This is the same as #44242, just for Mac Catalyst, we need support for dllmaps.

Currently calling mono_dllmap_insert asserts:

    frame #8: 0x000000010004bd37 MyCatalystApp`mono_assertion_message_unreachable(file=<unavailable>, line=<unavailable>) at goutput.c:234:2 [opt]
    frame #9: 0x0000000100116255 MyCatalystApp`mono_dllmap_insert(assembly=<unavailable>, dll=<unavailable>, func=<unavailable>, tdll=<unavailable>, tfunc=<unavailable>) at native-library.c:278:2 [opt]

/cc @akoeplinger

Activity

  1. ghost added
    untriaged
    on Feb 10, 2021
  2. CoffeeFlux commented on Feb 10, 2021

    @CoffeeFlux
    Contributor

    Any chance I can convince you to migrate to using PINVOKE_OVERRIDE instead? That way the code will work with both Mono and CoreCLR.

    See dotnet/macios#10504

  3. added and removed
    untriaged
    on Feb 10, 2021
  4. CoffeeFlux commented on Feb 10, 2021

    @CoffeeFlux
    Contributor

    This issue is also a variant of #43204

    In both cases, using PINVOKE_OVERRIDE instead seems like the best solution.

  5. rolfbjarne commented on Feb 11, 2021

    @rolfbjarne
    MemberAuthor

    I can have a look and see if PINVOKE_OVERRIDE works for us.

  6. rolfbjarne commented on Mar 24, 2021

    @rolfbjarne
    MemberAuthor

    Using PINVOKE_OVERRIDE seems to work, so I'm closing this.

  7. ghost locked as resolved and limited conversation to collaborators on Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions