You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "bohutang (Jira)" <ji...@apache.org> on 2020/12/27 10:10:00 UTC

[jira] [Resolved] (ARROW-11041) [Rust] cross aarch64-unknown-linux-gnu target compile error

     [ https://issues.apache.org/jira/browse/ARROW-11041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

bohutang resolved ARROW-11041.
------------------------------
    Resolution: Fixed

Arm canot use SIMD feature default.

> [Rust] cross aarch64-unknown-linux-gnu target compile error
> -----------------------------------------------------------
>
>                 Key: ARROW-11041
>                 URL: https://issues.apache.org/jira/browse/ARROW-11041
>             Project: Apache Arrow
>          Issue Type: Improvement
>            Reporter: bohutang
>            Priority: Major
>
> *Rust Arrow version:*
> arrow v3.0.0-SNAPSHOT ([https://github.com/apache/arrow#4d97d836)]
> *How to compile:*
> cargo install cross
> cross build --target aarch64-unknown-linux-gnu
>  
> *Compile errors log:*
>  
> {code:java}
> error[E0432]: unresolved import `crate::buffer::buffer_bin_or`
>   --> /cargo/git/checkouts/arrow-3a9cfebb6b7b2bdc/4d97d83/rust/arrow/src/array/array_struct.rs:28:14
>    |
> 28 |     buffer::{buffer_bin_or, Buffer},
>    |              ^^^^^^^^^^^^^ no `buffer_bin_or` in `buffer`error[E0432]: unresolved imports `crate::buffer::buffer_bin_and`, `crate::buffer::buffer_bin_or`
>   --> /cargo/git/checkouts/arrow-3a9cfebb6b7b2bdc/4d97d83/rust/arrow/src/compute/kernels/boolean.rs:30:5
>    |
> 30 |     buffer_bin_and, buffer_bin_or, buffer_unary_not, Buffer, MutableBuffer,
>    |     ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^ no `buffer_bin_or` in `buffer`
>    |     |
>    |     no `buffer_bin_and` in `buffer`error[E0432]: unresolved import `crate::buffer::buffer_bin_and`
>   --> /cargo/git/checkouts/arrow-3a9cfebb6b7b2bdc/4d97d83/rust/arrow/src/compute/kernels/take.rs:29:23
>    |
> 29 | use crate::{array::*, buffer::buffer_bin_and};
>    |                       ^^^^^^^^^^^^^^^^^^^^^^ no `buffer_bin_and` in `buffer`error[E0432]: unresolved imports `crate::buffer::buffer_bin_and`, `crate::buffer::buffer_bin_or`
>   --> /cargo/git/checkouts/arrow-3a9cfebb6b7b2bdc/4d97d83/rust/arrow/src/compute/util.rs:21:21
>    |
> 21 | use crate::buffer::{buffer_bin_and, buffer_bin_or, Buffer};
>    |                     ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^ no `buffer_bin_or` in `buffer`
>    |                     |
>    |                     no `buffer_bin_and` in `buffer`error[E0425]: cannot find function `buffer_bin_and` in this scope
>    --> /cargo/git/checkouts/arrow-3a9cfebb6b7b2bdc/4d97d83/rust/arrow/src/buffer.rs:634:12
>     |
> 634 |         Ok(buffer_bin_and(&self, 0, &rhs, 0, len_in_bits))
>     |            ^^^^^^^^^^^^^^--------------------------------
>     |            |
>     |            help: try calling `buffer_bin_and` as a method: `self.buffer_bin_and(0, &rhs, 0, len_in_bits)`error[E0425]: cannot find function `buffer_bin_or` in this scope
>    --> /cargo/git/checkouts/arrow-3a9cfebb6b7b2bdc/4d97d83/rust/arrow/src/buffer.rs:650:12
>     |
> 650 |         Ok(buffer_bin_or(&self, 0, &rhs, 0, len_in_bits))
>     |            ^^^^^^^^^^^^^--------------------------------
>     |            |
>     |            help: try calling `buffer_bin_or` as a method: `self.buffer_bin_or(0, &rhs, 0, len_in_bits)`
> {code}
> arrow-2.0.0 version is ok.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)