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

volo 依赖的的sonic-simd不支持32位的编译,后续是否会考虑增加32位的编译支持呢 #543

Open
lxy9612 opened this issue Dec 10, 2024 · 3 comments

Comments

@lxy9612
Copy link

lxy9612 commented Dec 10, 2024

Bug Report

Version

volo v0.10.3 ()
volo-thrift v0.10.5 (
)
volo-build v0.10.18 (*)

Platform

Ubuntu 20.04 64-bit , but want to build a 32-bit exe

Description

When build a volo thrift server with 'cargo build --target=i686-unknown-linux-gnu' ,it repoort error because of sonic-simd-v0.1.0 only suuport x89_64,will you consider supporting 32-bit compilation in the future?
`
error[E0432]: unresolved import 'std::arch::x86_64'
--> /home/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sonic-simd-0.1.0/src/sse2.rs:2:11

arch::x86_64::*,
^^^^^^ could not find 'x86_64' in 'arch'
`

@PureWhiteWu
Copy link
Member

你好,目前我们没有计划支持 32 位系统,请问一下你这边具体的强依赖 32 位系统的原因是啥呀?

@lxy9612
Copy link
Author

lxy9612 commented Dec 11, 2024

依赖 32 位系统的原因是是有依赖的调用库是32位的,另外请问一下,volo目前除了支持x86_64架构下的编译,是否也能支持aarch64架构下的编译呢

@PureWhiteWu
Copy link
Member

有依赖的调用库是 32 位的话,你用 64 位编译应该也能兼容?
Volo 支持 aarch64 的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants