Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-14057

[C++] Bump aws-c-common version

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 6.0.0
    • C++

    Description

      The current version of aws-c-common is not compatible with newer versions of clang:

      [ 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
      

      Attachments

        Issue Links

          Activity

            People

              jonkeane Jonathan Keane
              jonkeane Jonathan Keane
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h