You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/06/14 14:55:18 UTC
[GitHub] [arrow-rs] ritchie46 opened a new issue #458: Arrow 4.3.0 does not compile for feature gates `["simd", "avx512"], ["simd"]`
ritchie46 opened a new issue #458:
URL: https://github.com/apache/arrow-rs/issues/458
The released arrow version 4.3.0 does not compile with SIMD feature flags:
```
# compiles
=4.2: features = ["simd", "avx512"]# does not compile
=4.2: features = ["simd"]
=4.3: features = ["simd", "avx512"]
=4.3: features = ["simd"]
```
**To Reproduce**
Start a new rust project and try to compile with any of hte named features.
**Expected behavior**
No compiler errors
**output**
```
--> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.3.0/src/buffer/ops.rs:258:9
|
125 | / pub fn bitwise_bin_op_helper<F>(
126 | | left: &Buffer,
127 | | left_offset_in_bits: usize,
128 | | right: &Buffer,
... |
152 | | buffer.into()
153 | | }
| |_- similarly named function `bitwise_bin_op_helper` defined here
...
258 | bitwise_bin_op_simd_helper(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `bitwise_bin_op_helper`
error[E0425]: cannot find function `bitwise_bin_op_simd_helper` in this scope
--> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.3.0/src/buffer/ops.rs:369:9
|
125 | / pub fn bitwise_bin_op_helper<F>(
126 | | left: &Buffer,
127 | | left_offset_in_bits: usize,
128 | | right: &Buffer,
... |
152 | | buffer.into()
153 | | }
| |_- similarly named function `bitwise_bin_op_helper` defined here
...
369 | bitwise_bin_op_simd_helper(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `bitwise_bin_op_helper`
error[E0412]: cannot find type `ChunksExact` in this scope
--> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.3.0/src/compute/kernels/arithmetic.rs:521:18
|
521 | left_chunks: ChunksExact<T::Native>,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
25 | use core::slice::ChunksExact;
|
25 | use std::slice::ChunksExact;
|
error[E0412]: cannot find type `ChunksExact` in this scope
--> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.3.0/src/compute/kernels/arithmetic.rs:522:19
|
522 | right_chunks: ChunksExact<T::Native>,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
25 | use core::slice::ChunksExact;
|
25 | use std::slice::ChunksExact;
|
error[E0412]: cannot find type `ChunksExactMut` in this scope
--> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.3.0/src/compute/kernels/arithmetic.rs:523:20
|
523 | result_chunks: ChunksExactMut<T::Native>,
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
25 | use core::slice::ChunksExactMut;
|
25 | use std::slice::ChunksExactMut;
|
error[E0412]: cannot find type `ChunksExact` in this scope
--> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.3.0/src/compute/kernels/arithmetic.rs:587:19
|
587 | array_chunks: ChunksExact<T::Native>,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
25 | use core::slice::ChunksExact;
|
25 | use std::slice::ChunksExact;
|
error[E0412]: cannot find type `ChunksExactMut` in this scope
--> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.3.0/src/compute/kernels/arithmetic.rs:589:20
|
589 | result_chunks: ChunksExactMut<T::Native>,
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
25 | use core::slice::ChunksExactMut;
|
25 | use std::slice::ChunksExactMut;
|
error[E0433]: failed to resolve: use of undeclared type `MutableBuffer`
--> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.3.0/src/compute/kernels/arithmetic.rs:664:22
|
664 | let mut result = MutableBuffer::new(buffer_size).with_bitset(buffer_size, false);
| ^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
25 | use crate::buffer::MutableBuffer;
|
error[E0433]: failed to resolve: use of undeclared type `MutableBuffer`
--> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.3.0/src/compute/kernels/arithmetic.rs:895:22
|
895 | let mut result = MutableBuffer::new(buffer_size).with_bitset(buffer_size, false);
| ^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
25 | use crate::buffer::MutableBuffer;
|
error[E0220]: associated type `Simd` not found for `T`
--> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.3.0/src/compute/kernels/arithmetic.rs:456:16
|
456 | ) -> Result<T::Simd>
| ^^^^ associated type `Simd` not found
error[E0220]: associated type `Simd` not found for `T`
--> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.3.0/src/compute/kernels/arithmetic.rs:454:14
|
454 | left: T::Simd,
| ^^^^ associated type `Simd` not found
error[E0220]: associated type `Simd` not found for `T`
--> /home/ritchie46/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.3.0/src/compute/kernels/arithmetic.rs:455:15
|
455 | right: T::Simd,
| ^^^^ associated type `Simd` not found
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-rs] alamb commented on issue #458: Arrow 4.3.0 does not compile for feature gates `["simd", "avx512"], ["simd"]`
Posted by GitBox <gi...@apache.org>.
alamb commented on issue #458:
URL: https://github.com/apache/arrow-rs/issues/458#issuecomment-877461893
Given this is happening on older releases to I don't think I would hold the release for this...
If anyone else has any ideas, I would love to hear them. There are some tests here: https://github.com/apache/arrow-rs/pull/534 I'll try to get in
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-rs] alamb commented on issue #458: Arrow 4.3.0 does not compile for feature gates `["simd", "avx512"], ["simd"]`
Posted by GitBox <gi...@apache.org>.
alamb commented on issue #458:
URL: https://github.com/apache/arrow-rs/issues/458#issuecomment-877461483
It is interesting -- I can reproduce these errors and it fails for me on 4.4.0 as well as 4.0.0.
With any of the following in my Cargo.toml
```
[dependencies]
arrow = { version = "=4.4.0", features = ["simd", "avx512"] }
[dependencies]
arrow = { version = "=4.0.0", features = ["simd"] }
[dependencies]
arrow = { version = "=3.0.0", features = ["simd"] }
```
when I try to compile with the command
```
cargo +nightly-2021-07-04 run
```
I get the reported errors
From source, however, this works fine on master and on 4.4.0 tag
```
cargo +nightly-2021-07-04 build --features=simd,avx512
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-rs] alamb edited a comment on issue #458: Arrow 4.3.0 does not compile for feature gates `["simd", "avx512"], ["simd"]`
Posted by GitBox <gi...@apache.org>.
alamb edited a comment on issue #458:
URL: https://github.com/apache/arrow-rs/issues/458#issuecomment-877461483
It is interesting -- I can reproduce these errors and it fails for me on 4.4.0 as well as 4.0.0 and 3.0.0
With any of the following in my Cargo.toml
```
[dependencies]
arrow = { version = "=4.4.0", features = ["simd", "avx512"] }
[dependencies]
arrow = { version = "=4.0.0", features = ["simd"] }
[dependencies]
arrow = { version = "=3.0.0", features = ["simd"] }
```
when I try to compile with the command
```
cargo +nightly-2021-07-04 run
```
I get the reported errors
From source, however, this works fine on master and on 4.4.0 tag
```
cargo +nightly-2021-07-04 build --features=simd,avx512
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-rs] houqp commented on issue #458: Arrow 4.3.0 does not compile for feature gates `["simd", "avx512"], ["simd"]`
Posted by GitBox <gi...@apache.org>.
houqp commented on issue #458:
URL: https://github.com/apache/arrow-rs/issues/458#issuecomment-881390441
Potentially a duplicate of #232? [From my testing](https://github.com/apache/arrow-rs/issues/232#issuecomment-873538759), compiling from source always works even when checking out to specific version tag in git. I feel like it has something to do with cargo release/publish.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-rs] alamb edited a comment on issue #458: Arrow 4.3.0 does not compile for feature gates `["simd", "avx512"], ["simd"]`
Posted by GitBox <gi...@apache.org>.
alamb edited a comment on issue #458:
URL: https://github.com/apache/arrow-rs/issues/458#issuecomment-877461893
Given this is happening on older releases to0 I don't think I would hold the release for this...
If anyone else has any ideas, I would love to hear them. There are some tests here: https://github.com/apache/arrow-rs/pull/534 I'll try to get in
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org