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

Build fails on x32 #511

Open
alexanderkjall opened this issue Apr 19, 2022 · 2 comments
Open

Build fails on x32 #511

alexanderkjall opened this issue Apr 19, 2022 · 2 comments

Comments

@alexanderkjall
Copy link

Fails with these errors:

error[E0432]: unresolved import `std::arch::x86`
  --> src/x86/mod.rs:17:16
   |
17 | use std::arch::x86::{__m128, __m128i};
   |                ^^^ could not find `x86` in `arch`

error[E0432]: unresolved import `std::arch::x86`
  --> src/x86/mod.rs:19:5
   |
19 | use std::arch::x86;
   |     ^^^^^^^^^^^^^^ no `x86` in `arch`

error[E0432]: unresolved import `std::arch::x86`
  --> src/x86/swizzle_f32x4.rs:14:5
   |
14 | use std::arch::x86;
   |     ^^^^^^^^^^^^^^ no `x86` in `arch`

error[E0432]: unresolved import `std::arch::x86`
  --> src/x86/swizzle_i32x4.rs:14:5
   |
14 | use std::arch::x86;
   |     ^^^^^^^^^^^^^^ no `x86` in `arch`

Complete log here: https://buildd.debian.org/status/fetch.php?pkg=rust-pathfinder-simd&arch=x32&ver=0.5.1-1&stamp=1647460848&raw=0

@s3bk
Copy link
Collaborator

s3bk commented Apr 19, 2022

try enabling the pf-no-simd feature in pathfinder-simd.

@alexanderkjall
Copy link
Author

Sorry, this was a horrible bug report, I shouldn't write those while tired.

The background for the bug report is that the Debian build system for rust builds all the different features, and also no features, and that makes the build of this crate fail for x32 in Debian.

Your suggestion about pf-no-simd is an excellent place to start digging into this problem, I will try to write a patch for it.

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

No branches or pull requests

2 participants