rajasekarv / vega

A new arguably faster implementation of Apache Spark from scratch in Rust
Apache License 2.0
2.23k stars 207 forks source link

could not compile `packed_simd` #122

Closed uk0 closed 3 years ago

uk0 commented 3 years ago

error[E0432]: unresolved import crate::arch::x86_64::_mm_movemask_pi8 --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.3/src/codegen/reductions/mask/x86/sse.rs:47:21

https://asciinema.org/a/0EOIzjxOI9UcyQLohN9Lwgvb5

clumsy456 commented 3 years ago

I've met the same problem as you.

zgjhust commented 3 years ago

the same problem +1

rajasekarv commented 3 years ago

may I know the exact rust nightly version you are using and the OS version and if possible, system information?

zgjhust commented 3 years ago

OS version & rust toolchain version as follows:

zhougj@DESKTOP-0077C7K:~/Develop/rust-test/vega$ cat /etc/issue
Ubuntu 18.04.4 LTS \n \l

zhougj@DESKTOP-0077C7K:~/Develop/rust-test/vega$ rustup show
Default host: x86_64-unknown-linux-gnu
rustup home:  /home/zhougj/.rustup

installed toolchains
--------------------

stable-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu (default)

active toolchain
----------------

nightly-x86_64-unknown-linux-gnu (default)
rustc 1.50.0-nightly (c919f490b 2020-11-17)

zhougj@DESKTOP-0077C7K:~/Develop/rust-test/vega$ uname -a
Linux DESKTOP-0077C7K 4.19.104-microsoft-standard #1 SMP Wed Feb 19 06:37:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

compile aborted with following error info:

error[E0432]: unresolved import `crate::arch::x86_64::_mm_movemask_pi8`
  --> /home/zhougj/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/packed_simd-0.3.3/src/codegen/reductions/mask/x86/sse.rs:47:21
   |
47 |                 use crate::arch::x86_64::_mm_movemask_pi8;
   |                     ^^^^^^^^^^^^^^^^^^^^^----------------
   |                     |                    |
   |                     |                    help: a similar name exists in the module: `_mm_movemask_epi8`
   |                     no `_mm_movemask_pi8` in `arch::x86_64`
   |
  ::: /home/zhougj/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/packed_simd-0.3.3/src/codegen/reductions/mask.rs:41:1
   |
41 | impl_mask_reductions!(m8x8);
   | ---------------------------- in this macro invocation
   |
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0432]: unresolved import `crate::arch::x86_64::_mm_movemask_pi8`
  --> /home/zhougj/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/packed_simd-0.3.3/src/codegen/reductions/mask/x86/sse.rs:62:21
   |
62 |                 use crate::arch::x86_64::_mm_movemask_pi8;
   |                     ^^^^^^^^^^^^^^^^^^^^^----------------
   |                     |                    |
   |                     |                    help: a similar name exists in the module: `_mm_movemask_epi8`
   |                     no `_mm_movemask_pi8` in `arch::x86_64`
   |
  ::: /home/zhougj/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/packed_simd-0.3.3/src/codegen/reductions/mask.rs:41:1
   |
41 | impl_mask_reductions!(m8x8);
   | ---------------------------- in this macro invocation
   |
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0432]: unresolved import `crate::arch::x86_64::_mm_movemask_pi8`
  --> /home/zhougj/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/packed_simd-0.3.3/src/codegen/reductions/mask/x86/sse.rs:47:21
   |
47 |                 use crate::arch::x86_64::_mm_movemask_pi8;
   |                     ^^^^^^^^^^^^^^^^^^^^^----------------
   |                     |                    |
   |                     |                    help: a similar name exists in the module: `_mm_movemask_epi8`
   |                     no `_mm_movemask_pi8` in `arch::x86_64`
   |
  ::: /home/zhougj/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/packed_simd-0.3.3/src/codegen/reductions/mask.rs:47:1
   |
47 | impl_mask_reductions!(m16x4);
   | ----------------------------- in this macro invocation
   |
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0432]: unresolved import `crate::arch::x86_64::_mm_movemask_pi8`
  --> /home/zhougj/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/packed_simd-0.3.3/src/codegen/reductions/mask/x86/sse.rs:62:21
   |
62 |                 use crate::arch::x86_64::_mm_movemask_pi8;
   |                     ^^^^^^^^^^^^^^^^^^^^^----------------
   |                     |                    |
   |                     |                    help: a similar name exists in the module: `_mm_movemask_epi8`
   |                     no `_mm_movemask_pi8` in `arch::x86_64`
   |
  ::: /home/zhougj/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/packed_simd-0.3.3/src/codegen/reductions/mask.rs:47:1
   |
47 | impl_mask_reductions!(m16x4);
   | ----------------------------- in this macro invocation
   |
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0432]: unresolved import `crate::arch::x86_64::_mm_movemask_pi8`
  --> /home/zhougj/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/packed_simd-0.3.3/src/codegen/reductions/mask/x86/sse.rs:47:21
   |
47 |                 use crate::arch::x86_64::_mm_movemask_pi8;
   |                     ^^^^^^^^^^^^^^^^^^^^^----------------
   |                     |                    |
   |                     |                    help: a similar name exists in the module: `_mm_movemask_epi8`
   |                     no `_mm_movemask_pi8` in `arch::x86_64`
   |
  ::: /home/zhougj/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/packed_simd-0.3.3/src/codegen/reductions/mask.rs:52:1
   |
52 | impl_mask_reductions!(m32x2);
   | ----------------------------- in this macro invocation
   |
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0432]: unresolved import `crate::arch::x86_64::_mm_movemask_pi8`
  --> /home/zhougj/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/packed_simd-0.3.3/src/codegen/reductions/mask/x86/sse.rs:62:21
   |
62 |                 use crate::arch::x86_64::_mm_movemask_pi8;
   |                     ^^^^^^^^^^^^^^^^^^^^^----------------
   |                     |                    |
   |                     |                    help: a similar name exists in the module: `_mm_movemask_epi8`
   |                     no `_mm_movemask_pi8` in `arch::x86_64`
   |
  ::: /home/zhougj/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/packed_simd-0.3.3/src/codegen/reductions/mask.rs:52:1
   |
52 | impl_mask_reductions!(m32x2);
   | ----------------------------- in this macro invocation
   |
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

   Compiling parking_lot v0.11.1
   Compiling const-random-macro v0.1.11
   Compiling dirs v2.0.2
   Compiling xoroshiro128 v0.3.0
   Compiling num-integer v0.1.44
   Compiling num-traits v0.1.43
   Compiling num-complex v0.2.4
   Compiling crossbeam-queue v0.2.3
   Compiling crossbeam-channel v0.4.4
   Compiling syn v1.0.48
   Compiling crossbeam-epoch v0.8.2
   Compiling flate2 v1.0.19
   Compiling async-executor v1.4.0
   Compiling blocking v1.0.2
   Compiling regex v1.4.2
   Compiling async-io v1.2.0
   Compiling procinfo v0.4.2
   Compiling flatbuffers v0.5.0
   Compiling rand v0.6.5
   Compiling as-slice v0.1.4
   Compiling thrift v0.0.4
error: aborting due to 6 previous errors

For more information about this error, try `rustc --explain E0432`.
error: could not compile `packed_simd`

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
rajasekarv commented 3 years ago

can you pull the latest update and try compiling it?