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

Support windows arm64 #103

Open
Michael-Hering opened this issue Jun 26, 2024 · 3 comments
Open

Support windows arm64 #103

Michael-Hering opened this issue Jun 26, 2024 · 3 comments
Labels
feature-request A feature should be added or improved. p2 This is a standard priority issue

Comments

@Michael-Hering
Copy link

Describe the bug

Attempting to use the bindings on windows arm64 and the following exception is thrown:

System.TypeInitializationException: The type initializer for 'API' threw an exception.
 ---> System.TypeInitializationException: The type initializer for 'Aws.Crt.NativeAPI' threw an exception.
 ---> System.TypeInitializationException: The type initializer for 'Aws.Crt.CRT' threw an exception.
 ---> System.InvalidOperationException: Unable to load , exception occurred
 ---> System.IO.IOException: Could not find aws-crt-dotnet-ARM64.dll in resource manifest; Resources=Aws.CRT.libaws-crt-dotnet-ARM64.dylib,Aws.CRT.libaws-crt-dotnet-x64.dylib,Aws.CRT.libaws-crt-dotnet-ARM64.so,Aws.CRT.libaws-crt-dotnet-x64.so,Aws.CRT.aws-crt-dotnet-x64.dll,Aws.CRT.aws-crt-dotnet-x86.dll
   at Aws.Crt.CRT.PlatformBinding.ExtractLibrary(String libraryName)
   at Aws.Crt.CRT.PlatformBinding..ctor()
   --- End of inner exception stack trace ---
   at Aws.Crt.CRT.PlatformBinding..ctor()
   at Aws.Crt.CRT..cctor()
   --- End of inner exception stack trace ---
   at Aws.Crt.CRT.get_Binding()
   at Aws.Crt.NativeAPI..cctor()

Can we please support windows arm64?

Expected Behavior

The dll should be loaded correctly.

Current Behavior

When attempting to load the dll, an exception is thrown because there is not support for arm64 windows.

Reproduction Steps

call new HashingWrapperCRC32C().ComputeHash(stream) from a dotnet project running on windows arm64

Possible Solution

No response

Additional Information/Context

No response

aws-crt-dotnet version used

0.4.3

dotnet version used

8.0

Operating System and version

Windows 11 arm64

@Michael-Hering Michael-Hering added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Jun 26, 2024
@Michael-Hering
Copy link
Author

this seems related to a similar issue previously faced on macos: #75

@jmklix
Copy link
Member

jmklix commented Jun 28, 2024

This is a feature request for us to add the binaries to the dotnet bindings. This is something that we want to do, but I don't have a timeline for when this might get added.
Similar feature request: awslabs/aws-c-common#1042

@jmklix jmklix added feature-request A feature should be added or improved. p2 This is a standard priority issue and removed bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Jun 28, 2024
@michelemottini
Copy link

+1 for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. p2 This is a standard priority issue
Projects
None yet
Development

No branches or pull requests

3 participants