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

[NativeAOT/ARM] undefined references to __ResolveVirtualFunction_System.IO.Stream__[Begin/End][Read/Write] #97749

Closed
Tracked by #97729
filipnavara opened this issue Jan 31, 2024 · 1 comment · Fixed by #97755

Comments

@filipnavara
Copy link
Member

Multiple similar failures when compiling library tests:

[/home/navara/runtime/src/libraries/System.DirectoryServices.Protocols/tests/System.DirectoryServices.Protocols.Tests.csproj::TargetFramework=net9.0-linux]
  >>> referenced by /home/navara/runtime/artifacts/obj/System.DirectoryServices.Protocols.Tests/Debug/net9.0-linux/native/System.DirectoryServices.Protocols.Tests.o:(__ResolveVirtualFunction_System.IO.Stream__BeginRead)
  >>> referenced by /home/navara/runtime/artifacts/obj/System.DirectoryServices.Protocols.Tests/Debug/net9.0-linux/native/System.DirectoryServices.Protocols.Tests.o:(__ResolveVirtualFunction_System.IO.Stream__EndRead)
  >>> referenced by /home/navara/runtime/artifacts/obj/System.DirectoryServices.Protocols.Tests/Debug/net9.0-linux/native/System.DirectoryServices.Protocols.Tests.o:(__ResolveVirtualFunction_System.IO.Stream__BeginWrite)
  >>> referenced 1 more times

  >>> referenced by /home/navara/runtime/artifacts/obj/System.IO.FileSystem.Watcher.Tests/Debug/net9.0-linux/native/System.IO.FileSystem.Watcher.Tests.o:(__ResolveVirtualFunction_System.IO.Stream__BeginRead)
  >>> referenced by /home/navara/runtime/artifacts/obj/System.IO.FileSystem.Watcher.Tests/Debug/net9.0-linux/native/System.IO.FileSystem.Watcher.Tests.o:(__ResolveVirtualFunction_System.IO.Stream__EndRead)
  >>> referenced by /home/navara/runtime/artifacts/obj/System.IO.FileSystem.Watcher.Tests/Debug/net9.0-linux/native/System.IO.FileSystem.Watcher.Tests.o:(__ResolveVirtualFunction_System.IO.Stream__BeginWrite)
  >>> referenced 1 more times

  >>> referenced by /home/navara/runtime/artifacts/obj/System.Net.Quic.Functional.Tests/Debug/net9.0-linux/native/System.Net.Quic.Functional.Tests.o:(__ResolveVirtualFunction_System.IO.Stream__BeginRead)
  >>> referenced by /home/navara/runtime/artifacts/obj/System.Net.Quic.Functional.Tests/Debug/net9.0-linux/native/System.Net.Quic.Functional.Tests.o:(__ResolveVirtualFunction_System.IO.Stream__EndRead)
  >>> referenced by /home/navara/runtime/artifacts/obj/System.Net.Quic.Functional.Tests/Debug/net9.0-linux/native/System.Net.Quic.Functional.Tests.o:(__ResolveVirtualFunction_System.IO.Stream__BeginWrite)
  >>> referenced 1 more times
@ghost
Copy link

ghost commented Jan 31, 2024

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

Issue Details

Multiple similar failures when compiling library tests:

[/home/navara/runtime/src/libraries/System.DirectoryServices.Protocols/tests/System.DirectoryServices.Protocols.Tests.csproj::TargetFramework=net9.0-linux]
  >>> referenced by /home/navara/runtime/artifacts/obj/System.DirectoryServices.Protocols.Tests/Debug/net9.0-linux/native/System.DirectoryServices.Protocols.Tests.o:(__ResolveVirtualFunction_System.IO.Stream__BeginRead)
  >>> referenced by /home/navara/runtime/artifacts/obj/System.DirectoryServices.Protocols.Tests/Debug/net9.0-linux/native/System.DirectoryServices.Protocols.Tests.o:(__ResolveVirtualFunction_System.IO.Stream__EndRead)
  >>> referenced by /home/navara/runtime/artifacts/obj/System.DirectoryServices.Protocols.Tests/Debug/net9.0-linux/native/System.DirectoryServices.Protocols.Tests.o:(__ResolveVirtualFunction_System.IO.Stream__BeginWrite)
  >>> referenced 1 more times

  >>> referenced by /home/navara/runtime/artifacts/obj/System.IO.FileSystem.Watcher.Tests/Debug/net9.0-linux/native/System.IO.FileSystem.Watcher.Tests.o:(__ResolveVirtualFunction_System.IO.Stream__BeginRead)
  >>> referenced by /home/navara/runtime/artifacts/obj/System.IO.FileSystem.Watcher.Tests/Debug/net9.0-linux/native/System.IO.FileSystem.Watcher.Tests.o:(__ResolveVirtualFunction_System.IO.Stream__EndRead)
  >>> referenced by /home/navara/runtime/artifacts/obj/System.IO.FileSystem.Watcher.Tests/Debug/net9.0-linux/native/System.IO.FileSystem.Watcher.Tests.o:(__ResolveVirtualFunction_System.IO.Stream__BeginWrite)
  >>> referenced 1 more times

  >>> referenced by /home/navara/runtime/artifacts/obj/System.Net.Quic.Functional.Tests/Debug/net9.0-linux/native/System.Net.Quic.Functional.Tests.o:(__ResolveVirtualFunction_System.IO.Stream__BeginRead)
  >>> referenced by /home/navara/runtime/artifacts/obj/System.Net.Quic.Functional.Tests/Debug/net9.0-linux/native/System.Net.Quic.Functional.Tests.o:(__ResolveVirtualFunction_System.IO.Stream__EndRead)
  >>> referenced by /home/navara/runtime/artifacts/obj/System.Net.Quic.Functional.Tests/Debug/net9.0-linux/native/System.Net.Quic.Functional.Tests.o:(__ResolveVirtualFunction_System.IO.Stream__BeginWrite)
  >>> referenced 1 more times
Author: filipnavara
Assignees: -
Labels:

arch-arm32, area-NativeAOT-coreclr

Milestone: -

@ghost ghost added the untriaged New issue has not been triaged by the area owner label Jan 31, 2024
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Jan 31, 2024
@ghost ghost removed in-pr There is an active PR which will close this issue when it is merged untriaged New issue has not been triaged by the area owner labels Jan 31, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Mar 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant