[
https://issues.apache.org/jira/browse/ARROW-8992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17120693#comment-17120693
]
Yibo Cai edited comment on ARROW-8992 at 6/1/20, 2:08 AM:
----------------------------------------------------------
Hi [~edk4971], you're building on aarch64 platform, from below log, no -march
parameter is set.
{code:c}
Unsupported arch flag: -march=.
{code}
This should not happen as it defaults to "armv8-a" if ARROW_ARMV8_ARCH is not
set explicitly on command line.
You mentioned you modified code per
[https://github.com/apache/arrow/pull/6907], will you double check that you
apply that patch cleanly, especially below line in
cpp/cmake_modules/DefineOptions.cmake?
[https://github.com/apache/arrow/pull/6907/files#diff-b048bf4c1679dce1028fd897a7c43b93R113]
was (Author: yibo):
Hi [~edk4971], you're building on aarch64 platform, from below log, no -march
parameter is set.
{code:c}
Unsupported arch flag: -march=.
{code}
This should not happen as it defaults to "armv8-a" if not set explicitly on
command line.
You mentioned you modified code per https://github.com/apache/arrow/pull/6907,
will you double check that you apply that patch cleanly, especially below line
in cpp/cmake_modules/DefineOptions.cmake?
https://github.com/apache/arrow/pull/6907/files#diff-b048bf4c1679dce1028fd897a7c43b93R113
> march not passing correctly for docker-compose run
> --------------------------------------------------
>
> Key: ARROW-8992
> URL: https://issues.apache.org/jira/browse/ARROW-8992
> Project: Apache Arrow
> Issue Type: Bug
> Components: Packaging, Python
> Affects Versions: 0.17.0, 0.17.1
> Environment: Mendel Linux 4.0
> Reporter: Elliott Kipp
> Priority: Critical
> Attachments: CMakeError.log, CMakeOutput.log
>
>
> [https://github.com/apache/arrow/issues/7307]
> Building on the new ASUS Tinker Edge T, running Mendel Linux 4.0 (Day).
> docker-compose build commands work fine with no errors:
> DEBIAN=10 ARCH=arm64v8 docker-compose build debian-cpp && DEBIAN=10
> ARCH=arm64v8 docker-compose build debian-python
> DEBIAN=10 ARCH=arm64v8 docker-compose run debian-python - fails with the
> following:
> – Running cmake for pyarrow
> cmake -DPYTHON_EXECUTABLE=/usr/local/bin/python -G Ninja
> -DPYARROW_BUILD_CUDA=off -DPYARROW_BUILD_FLIGHT=on -DPYARROW_BUILD_GANDIVA=on
> -DPYARROW_BUILD_DATASET=on -DPYARROW_BUILD_ORC=on -DPYARROW_BUILD_PARQUET=on
> -DPYARROW_BUILD_PLASMA=on -DPYARROW_BUILD_S3=off -DPYARROW_BUILD_HDFS=off
> -DPYARROW_USE_TENSORFLOW=off -DPYARROW_BUNDLE_ARROW_CPP=off
> -DPYARROW_BUNDLE_BOOST=off -DPYARROW_GENERATE_COVERAGE=off
> -DPYARROW_BOOST_USE_SHARED=on -DPYARROW_PARQUET_USE_SHARED=on
> -DCMAKE_BUILD_TYPE=debug /arrow/python
> – The C compiler identification is GNU 8.3.0
> – The CXX compiler identification is GNU 8.3.0
> – Check for working C compiler: /usr/lib/ccache/gcc
> – Check for working C compiler: /usr/lib/ccache/gcc – works
> – Detecting C compiler ABI info
> – Detecting C compiler ABI info - done
> – Detecting C compile features
> – Detecting C compile features - done
> – Check for working CXX compiler: /usr/lib/ccache/g++
> – Check for working CXX compiler: /usr/lib/ccache/g++ – works
> – Detecting CXX compiler ABI info
> – Detecting CXX compiler ABI info - done
> – Detecting CXX compile features
> – Detecting CXX compile features - done
> – System processor: aarch64
> – Performing Test CXX_SUPPORTS_ARMV8_ARCH
> – Performing Test CXX_SUPPORTS_ARMV8_ARCH - Failed
> – Arrow build warning level: PRODUCTION
> CMake Error at cmake_modules/SetupCxxFlags.cmake:338 (message):
> Unsupported arch flag: -march=.
> Call Stack (most recent call first):
> CMakeLists.txt:100 (include)
> – Configuring incomplete, errors occurred!
> See also "/build/python/temp.linux-aarch64-3.7/CMakeFiles/CMakeOutput.log".
> See also "/build/python/temp.linux-aarch64-3.7/CMakeFiles/CMakeError.log".
> error: command 'cmake' failed with exit status 1
> Tried the tarball release for both 0.17.0 and 0.17.1, same result. Also tried
> compiling manually (following these instructions:
> [https://dzone.com/articles/building-pyarrow-with-cuda-support]) with the
> same result.
> Only modifications I made to source are editing the docker-compose volumes,
> as described here: [https://github.com/apache/arrow/pull/6907]
> Jira opened, per request at: [https://github.com/apache/arrow/issues/7307]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)