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

Compilation failure on #[multiversion(targets = "simd")] #37

Closed
Serock3 opened this issue Aug 9, 2023 · 3 comments · Fixed by jorgecarleitao/arrow2#1536
Closed

Compilation failure on #[multiversion(targets = "simd")] #37

Serock3 opened this issue Aug 9, 2023 · 3 comments · Fixed by jorgecarleitao/arrow2#1536

Comments

@Serock3
Copy link

Serock3 commented Aug 9, 2023

The project I am working on depends on the arrow2 crate, which uses Multiversion. I am running into compilation errors when cross-compiling for Arm Cortex-A8 architecture. The compiler output look like this

error[E0658]: the target feature `d32` is currently unstable
   --> /opt/cem-sdk/sysroots/cortexa8t2hf-neon-poky-linux-gnueabi/home/cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/arrow2-0.17.3/src/compute/aggregate/min_max.rs:116:1
    |
116 | #[multiversion(targets = "simd")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #44839 <https://github.com/rust-lang/rust/issues/44839> for more information
    = note: this error originates in the attribute macro `multiversion` (in Nightly builds, run with -Z macro-backtrace for more info)

(We do not intend to use any SIMD features)

Please let me know if there is any more information I can give you to help debug this issue, I don't know much about CPU architectures or this crate.

@calebzulawski
Copy link
Owner

Okay, this is fixable. It doesn't come up on x86 or aarch64 since those features are all stable. I should be able to fix this with a new release, no changes to arrow2.

@Serock3
Copy link
Author

Serock3 commented Aug 10, 2023

Great!

@calebzulawski
Copy link
Owner

Fixed via 91b09dc, please try upgrading to 0.7.3

Serock3 added a commit to Serock3/arrow2 that referenced this issue Aug 10, 2023
ritchie46 pushed a commit to jorgecarleitao/arrow2 that referenced this issue Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants