Jonathan Keane created ARROW-14057:
--------------------------------------
Summary: [C++] Bump aws-c-common version
Key: ARROW-14057
URL: https://issues.apache.org/jira/browse/ARROW-14057
Project: Apache Arrow
Issue Type: Bug
Components: C++
Reporter: Jonathan Keane
Assignee: Jonathan Keane
The current version of aws-c-common is not compatible with newer versions of
clang:
{code}
[ 10%] Performing build step for 'aws_c_common_ep'
CMake Error at
/Users/jkeane/repos/arrow/cpp/build/aws_c_common_ep-prefix/src/aws_c_common_ep-stamp/aws_c_common_ep-build-RELEASE.cmake:37
(message):
Command failed: 2
'/Applications/Xcode.app/Contents/Developer/usr/bin/make'
See also
/Users/jkeane/repos/arrow/cpp/build/aws_c_common_ep-prefix/src/aws_c_common_ep-stamp/aws_c_common_ep-build-*.log
-- stdout output is:
[ 1%] Building C object CMakeFiles/aws-c-common.dir/source/allocator_sba.c.o
[ 1%] Building C object CMakeFiles/aws-c-common.dir/source/allocator.c.o
[ 2%] Building C object CMakeFiles/aws-c-common.dir/source/arch/intel/cpuid.c.o
[ 3%] Building C object
CMakeFiles/aws-c-common.dir/source/arch/intel/asm/cpuid.c.o
[ 5%] Building C object CMakeFiles/aws-c-common.dir/source/array_list.c.o
[ 5%] Building C object
CMakeFiles/aws-c-common.dir/source/arch/intel/encoding_avx2.c.o
[ 6%] Building C object CMakeFiles/aws-c-common.dir/source/assert.c.o
[ 7%] Building C object CMakeFiles/aws-c-common.dir/source/byte_buf.c.o
[ 8%] Building C object CMakeFiles/aws-c-common.dir/source/cache.c.o
-- stderr output is:
clang: error: The 'x86_64' architecture does not support -moutline-atomics;
flag ignored [-Werror,-Woption-ignored]
clang: error: The 'x86_64' architecture does not support -moutline-atomics;
flag ignored [-Werror,-Woption-ignored]
make[5]: *** [CMakeFiles/aws-c-common.dir/source/allocator.c.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: *** [CMakeFiles/aws-c-common.dir/source/allocator_sba.c.o] Error 1
clang: error: The 'x86_64' architecture does not support -moutline-atomics;
flag ignored [-Werror,-Woption-ignored]
clang: error: The 'x86_64' architecture does not support -moutline-atomics;
flag ignored [-Werror,-Woption-ignored]
make[5]: *** [CMakeFiles/aws-c-common.dir/source/arch/intel/cpuid.c.o] Error 1
clang: error: The 'x86_64' architecture does not support -moutline-atomics;
flag ignored [-Werror,-Woption-ignored]
make[5]: *** [CMakeFiles/aws-c-common.dir/source/arch/intel/asm/cpuid.c.o]
Error 1
clang: error: The 'x86_64' architecture does not support -moutline-atomics;
flag ignored [-Werror,-Woption-ignored]
make[5]: *** [CMakeFiles/aws-c-common.dir/source/array_list.c.o] Error 1
make[5]: *** [CMakeFiles/aws-c-common.dir/source/assert.c.o] Error 1
clang: error: The 'x86_64' architecture does not support -moutline-atomics;
flag ignored [-Werror,-Woption-ignored]
clang: error: The 'x86_64' architecture does not support -moutline-atomics;
flag ignored [-Werror,-Woption-ignored]
make[5]: *** [CMakeFiles/aws-c-common.dir/source/arch/intel/encoding_avx2.c.o]
Error 1
clang: error: The 'x86_64' architecture does not support -moutline-atomics;
flag ignored [-Werror,-Woption-ignored]
make[5]: *** [CMakeFiles/aws-c-common.dir/source/byte_buf.c.o] Error 1
make[5]: *** [CMakeFiles/aws-c-common.dir/source/cache.c.o] Error 1
make[4]: *** [CMakeFiles/aws-c-common.dir/all] Error 2
make[3]: *** [all] Error 2
CMake Error at
/Users/jkeane/repos/arrow/cpp/build/aws_c_common_ep-prefix/src/aws_c_common_ep-stamp/aws_c_common_ep-build-RELEASE.cmake:47
(message):
Stopping after outputting logs.
make[2]: ***
[aws_c_common_ep-prefix/src/aws_c_common_ep-stamp/aws_c_common_ep-build] Error 1
make[1]: *** [CMakeFiles/aws_c_common_ep.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
-- jemalloc_ep configure command succeeded. See also
/Users/jkeane/repos/arrow/cpp/build/jemalloc_ep-prefix/src/jemalloc_ep-stamp/jemalloc_ep-configure-*.log
[ 10%] Performing build step for 'jemalloc_ep'
-- jemalloc_ep build command succeeded. See also
/Users/jkeane/repos/arrow/cpp/build/jemalloc_ep-prefix/src/jemalloc_ep-stamp/jemalloc_ep-build-*.log
[ 10%] Performing install step for 'jemalloc_ep'
-- jemalloc_ep install command succeeded. See also
/Users/jkeane/repos/arrow/cpp/build/jemalloc_ep-prefix/src/jemalloc_ep-stamp/jemalloc_ep-install-*.log
[ 10%] Completed 'jemalloc_ep'
[ 10%] Built target jemalloc_ep
make: *** [all] Error 2
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)