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 failed on AppVeyor #7

Open
zonyitoo opened this issue Aug 27, 2015 · 4 comments
Open

Build failed on AppVeyor #7

zonyitoo opened this issue Aug 27, 2015 · 4 comments

Comments

@zonyitoo
Copy link

Build failed messages:

Compiling simd v0.1.0 (https://github.com/huonw/simd#16aad570)
     Running `rustc C:\Users\appveyor\.cargo\git\checkouts\simd-2a4f7a7525648cf1\master\src\lib.rs --crate-name simd --crate-type lib -g -C metadata=8818301eefd37519 -C extra-filename=-8818301eefd37519 --out-dir C:\projects\context-rs\target\debug\deps --emit=dep-info,link -L dependency=C:\projects\context-rs\target\debug\deps -L dependency=C:\projects\context-rs\target\debug\deps --cap-lints allow`
C:\Users\appveyor\.cargo\git\checkouts\simd-2a4f7a7525648cf1\master\src\common.rs:16:5: 16:22 error: unresolved import `x86::sse2::common`. Could not find `sse2` in `x86` [E0432]
C:\Users\appveyor\.cargo\git\checkouts\simd-2a4f7a7525648cf1\master\src\common.rs:16 use x86::sse2::common;
                                                                                         ^~~~~~~~~~~~~~~~~
C:\Users\appveyor\.cargo\git\checkouts\simd-2a4f7a7525648cf1\master\src\common.rs:16:5: 16:22 help: run `rustc --explain E0432` to see a detailed explanation
error: aborting due to previous error
@huonw
Copy link
Owner

huonw commented Sep 4, 2015

Hm, could you link me to a full AppVeyor run?

@zonyitoo
Copy link
Author

zonyitoo commented Sep 4, 2015

@huonw
Copy link
Owner

huonw commented Sep 7, 2015

Hm, this seems to be because the build is being done for an i686 target, which the compiler assumes that it cannot assume that the CPU supports SIMD (i.e. there are some 32-bit x86 CPUs that don't have SSE2, while all x86-64 ones do).

The failure message should definitely be improved.

@zonyitoo
Copy link
Author

zonyitoo commented Sep 7, 2015

Hmm, I see..

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