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

Hashing feature flag doesn't work on targets without AES intrinsics #31

Open
Veritius opened this issue Mar 22, 2024 · 2 comments
Open
Labels
C-Compile-Fail Fails to compile.

Comments

@Veritius
Copy link
Owner

Veritius commented Mar 22, 2024

gxhash requires AES-NI and SSE2 intrinsics on x86-64 and AES and NEON intrinsics on ARM. Without these, it won't compile, since there's no fallback for processors lacking these intrinsics. Since gxhash is used in the hashing feature flag, any project using Stardust with this flag will suffer from compile failures.
Tracking issue for a fallback is here: ogxd/gxhash#47

@Veritius Veritius added the C-Compile-Fail Fails to compile. label Mar 22, 2024
@omkarium
Copy link

Is there a solution to this? I am passing -C target-feature=aes but rust docs are failing

@Veritius
Copy link
Owner Author

Is there a solution to this? I am passing -C target-feature=aes but rust docs are failing

I'm not sure, you'd have to ask the author of gxhash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Compile-Fail Fails to compile.
Projects
None yet
Development

No branches or pull requests

2 participants