Skip to content

Runtime tests fail to AOT compile on Apple mobile platforms #103982

Closed

Description

@kotlarmilos

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=719424
Build error leg or test failing: https://dev.azure.com/dnceng-public/public/_build/results?buildId=719424&view=logs&j=da83f4c3-af55-5024-34f6-3ac8d11ac15f

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "duplicate symbol '_dn_simdhash_ptrpair_ptr_meta'",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
...
[/private/tmp/helix/working/95610881/w/A2B908C5/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/95610881/p/build/apple/AppleBuild.targets(296,5): error MSB4018: duplicate symbol '_dn_simdhash_ptrpair_ptr_vtable' in: [/private/tmp/helix/working/95610881/w/A2B908C5/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/95610881/p/build/apple/AppleBuild.targets(296,5): error MSB4018:     /tmp/helix/working/95610881/w/A2B908C5/e/publish/libmono-component-diagnostics_tracing-static.a(dn-simdhash-ptrpair-ptr.c.o) [/private/tmp/helix/working/95610881/w/A2B908C5/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/95610881/p/build/apple/AppleBuild.targets(296,5): error MSB4018:     /tmp/helix/working/95610881/w/A2B908C5/e/publish/libmonosgen-2.0.a(dn-simdhash-ptrpair-ptr.c.o) [/private/tmp/helix/working/95610881/w/A2B908C5/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/95610881/p/build/apple/AppleBuild.targets(296,5): error MSB4018: duplicate symbol '_dn_simdhash_ptrpair_ptr_try_add' in: [/private/tmp/helix/working/95610881/w/A2B908C5/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/95610881/p/build/apple/AppleBuild.targets(296,5): error MSB4018:     /tmp/helix/working/95610881/w/A2B908C5/e/publish/libmono-component-diagnostics_tracing-static.a(dn-simdhash-ptrpair-ptr.c.o) [/private/tmp/helix/working/95610881/w/A2B908C5/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/95610881/p/build/apple/AppleBuild.targets(296,5): error MSB4018:     /tmp/helix/working/95610881/w/A2B908C5/e/publish/libmonosgen-2.0.a(dn-simdhash-ptrpair-ptr.c.o) [/private/tmp/helix/working/95610881/w/A2B908C5/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/95610881/p/build/apple/AppleBuild.targets(296,5): error MSB4018: duplicate symbol '_dn_simdhash_ptrpair_ptr_meta' in: [/private/tmp/helix/working/95610881/w/A2B908C5/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/95610881/p/build/apple/AppleBuild.targets(296,5): error MSB4018:     /tmp/helix/working/95610881/w/A2B908C5/e/publish/libmono-component-diagnostics_tracing-static.a(dn-simdhash-ptrpair-ptr.c.o) [/private/tmp/helix/working/95610881/w/A2B908C5/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/95610881/p/build/apple/AppleBuild.targets(296,5): error MSB4018:     /tmp/helix/working/95610881/w/A2B908C5/e/publish/libmonosgen-2.0.a(dn-simdhash-ptrpair-ptr.c.o) [/private/tmp/helix/working/95610881/w/A2B908C5/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/95610881/p/build/apple/AppleBuild.targets(296,5): error MSB4018: ld: 156 duplicate symbols for architecture arm64 [/private/tmp/helix/working/95610881/w/A2B908C5/e/publish/ProxyProjectForAOTOnHelix.proj]

The regression is likely introduced in #103184.

/cc: @jkoritzinsky

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=719424
Error message validated: [duplicate symbol '_dn_simdhash_ptrpair_ptr_meta']
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 6/25/2024 6:36:10 PM UTC

Report

Build Definition Test Pull Request
722476 dotnet/runtime baseservices_TieredCompilation.WorkItemExecution
721722 dotnet/runtime baseservices_TieredCompilation.WorkItemExecution
720898 dotnet/runtime baseservices_TieredCompilation.WorkItemExecution
720816 dotnet/runtime baseservices_TieredCompilation.WorkItemExecution
719424 dotnet/runtime baseservices_TieredCompilation.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 5 5

Activity

  1. added this to the 9.0.0 milestone on Jun 25, 2024
  2. self-assigned this
    on Jun 25, 2024
  3. dotnet-policy-service commented on Jun 25, 2024

    @dotnet-policy-service
    Contributor

    Tagging subscribers to 'os-ios': @vitek-karas, @kotlarmilos, @ivanpovazan, @steveisok, @akoeplinger
    See info in area-owners.md if you want to be subscribed.

  4. dotnet-policy-service commented on Jun 25, 2024

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @directhex, @matouskozak
    See info in area-owners.md if you want to be subscribed.

  5. matouskozak commented on Jun 27, 2024

    @matouskozak
    Member

    Is this failure related to

      Undefined symbols for architecture x86_64:
        "__ep_rt_mono_config_lock", referenced from:
            _ep_enable_3 in unity_0_c.c.o
            _ep_disable in unity_0_c.c.o
            _disable_helper in unity_0_c.c.o
            _ep_get_session in unity_0_c.c.o
            _ep_start_streaming in unity_0_c.c.o
            _ep_create_provider in unity_0_c.c.o
            _ep_delete_provider in unity_0_c.c.o
            ...
        "__ep_rt_mono_managed_cmd_line", referenced from:
            _ep_shutdown in unity_0_c.c.o
            _ep_rt_diagnostics_command_line_get in unity_0_c.c.o
        "__ep_rt_mono_managed_cmd_line_init", referenced from:
            _ep_shutdown in unity_0_c.c.o
            _ep_rt_diagnostics_command_line_get in unity_0_c.c.o
        "__ep_rt_mono_os_cmd_line", referenced from:
            _ep_shutdown in unity_0_c.c.o
            _ep_rt_diagnostics_command_line_get in unity_0_c.c.o
        "__ep_rt_mono_os_cmd_line_init", referenced from:
            _ep_shutdown in unity_0_c.c.o
            _ep_rt_diagnostics_command_line_get in unity_0_c.c.o
        "__ep_rt_mono_thread_holder_tls_id", referenced from:
            _disable_helper in unity_0_c.c.o
            _ep_write_event in unity_0_c.c.o
            _ep_write_event_2 in unity_0_c.c.o
    ...
      ld: symbol(s) not found for architecture x86_64
    
    

    occuring on x64 ios/tvos simulators (e.g. https://dev.azure.com/dnceng-public/public/_build/results?buildId=722192&view=logs&jobId=07effcfd-c63d-5008-e811-03b29530f5cb&j=cd385208-11d3-5d70-fa38-1c21a65d17f1&t=0fb08637-f78f-568d-a095-c4f3c07eba27)?

  6. kotlarmilos commented on Jun 27, 2024

    @kotlarmilos
    MemberAuthor

    It should be related.

  7. locked and limited conversation to collaborators on Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions