Skip to content
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

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

Closed
kotlarmilos opened this issue Jun 25, 2024 · 4 comments · Fixed by #103988
Closed

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

kotlarmilos opened this issue Jun 25, 2024 · 4 comments · Fixed by #103988
Assignees
Labels
area-Infrastructure-mono blocking-clean-ci-optional Blocking optional rolling runs Known Build Error Use this to report build issues in the .NET Helix tab os-ios Apple iOS
Milestone

Comments

@kotlarmilos
Copy link
Member

kotlarmilos commented Jun 25, 2024

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
@kotlarmilos kotlarmilos added area-Infrastructure-mono blocking-clean-ci-optional Blocking optional rolling runs os-ios Apple iOS Known Build Error Use this to report build issues in the .NET Helix tab labels Jun 25, 2024
@kotlarmilos kotlarmilos added this to the 9.0.0 milestone Jun 25, 2024
@kotlarmilos kotlarmilos self-assigned this Jun 25, 2024
Copy link
Contributor

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

Copy link
Contributor

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

@matouskozak
Copy link
Member

matouskozak commented Jun 27, 2024

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)?

@kotlarmilos
Copy link
Member Author

It should be related.

@github-actions github-actions bot locked and limited conversation to collaborators Aug 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure-mono blocking-clean-ci-optional Blocking optional rolling runs Known Build Error Use this to report build issues in the .NET Helix tab os-ios Apple iOS
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants