Chandra Shekhar Reddy created ARROW-15563:
---------------------------------------------

             Summary: Compilation of Arrow Cpp code fails with array-bounds 
issue on s390x platform
                 Key: ARROW-15563
                 URL: https://issues.apache.org/jira/browse/ARROW-15563
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
    Affects Versions: 3.0.0
         Environment: s390x (IBM LinuxONE)
            Reporter: Chandra Shekhar Reddy


 
{code:java}
(pyarrow-dev) [root@s390x]# cmake -DCMAKE_INSTALL_PREFIX=$ARROW_HOME       
-DCMAKE_INSTALL_LIBDIR=lib       -DCMAKE_BUILD_TYPE=debug       
-DARROW_WITH_BZ2=ON       -DARROW_WITH_ZLIB=ON       -DARROW_WITH_ZSTD=ON       
-DARROW_WITH_LZ4=ON       -DARROW_WITH_SNAPPY=ON       -DARROW_WITH_BROTLI=ON   
    -DARROW_PARQUET=ON       -DARROW_PYTHON=ON       -DARROW_BUILD_TESTS=ON     
  ..
-- Building using CMake version: 3.22.2
-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 8.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Arrow version: 3.0.0 (full: '3.0.0')
-- Arrow SO version: 300 (full: 300.0.0)
-- clang-tidy not found
-- clang-format not found
-- Could NOT find ClangTools (missing: CLANG_FORMAT_BIN CLANG_TIDY_BIN)
-- infer not found
-- Found Python3: /usr/bin/python3.9 (found version "3.9.6") found components: 
Interpreter
-- Found cpplint executable at 
/root/git/repos/arrow/cpp/build-support/cpplint.py
-- System processor: s390x
-- Arrow build warning level: CHECKIN
Using ld linker
Configured for DEBUG build (set with cmake 
-DCMAKE_BUILD_TYPE={release,debug,...})
-- Build Type: DEBUG
-- Using AUTO approach to find dependencies
-- ARROW_ABSL_BUILD_VERSION: 0f3bb466b868b523cf1dc9b2aaaed65c77b28862
-- ARROW_AWSSDK_BUILD_VERSION: 1.8.90
-- ARROW_AWS_CHECKSUMS_BUILD_VERSION: v0.1.5
-- ARROW_AWS_C_COMMON_BUILD_VERSION: v0.4.59
-- ARROW_AWS_C_EVENT_STREAM_BUILD_VERSION: v0.1.5
-- ARROW_BOOST_BUILD_VERSION: 1.71.0
-- ARROW_BROTLI_BUILD_VERSION: v1.0.7
-- ARROW_BZIP2_BUILD_VERSION: 1.0.8
-- ARROW_CARES_BUILD_VERSION: 1.16.1
-- ARROW_GBENCHMARK_BUILD_VERSION: v1.5.2
-- ARROW_GFLAGS_BUILD_VERSION: v2.2.2
-- ARROW_GLOG_BUILD_VERSION: v0.4.0
-- ARROW_GRPC_BUILD_VERSION: v1.33.2
-- ARROW_GTEST_BUILD_VERSION: 1.10.0
-- ARROW_JEMALLOC_BUILD_VERSION: 5.2.1
-- ARROW_LZ4_BUILD_VERSION: v1.9.2
-- ARROW_MIMALLOC_BUILD_VERSION: v1.6.4
-- ARROW_ORC_BUILD_VERSION: 1.6.2
-- ARROW_PROTOBUF_BUILD_VERSION: v3.13.0
-- ARROW_RAPIDJSON_BUILD_VERSION: 1a803826f1197b5e30703afe4b9c0e7dd48074f5
-- ARROW_RE2_BUILD_VERSION: 2019-08-01
-- ARROW_SNAPPY_BUILD_VERSION: 1.1.8
-- ARROW_THRIFT_BUILD_VERSION: 0.12.0
-- ARROW_THRIFT_BUILD_MD5_CHECKSUM: 3deebbb4d1ca77dd9c9e009a1ea02183
-- ARROW_UTF8PROC_BUILD_VERSION: v2.5.0
-- ARROW_ZLIB_BUILD_VERSION: 1.2.11
-- ARROW_ZSTD_BUILD_VERSION: v1.4.5
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Checking for module 'thrift'
--   Package 'thrift', required by 'virtual:world', not found
-- Could NOT find Thrift: Found unsuitable version "", but required is at least 
"0.11.0" (found THRIFT_LIB-NOTFOUND)
-- Looking for __SIZEOF_INT128__
-- Looking for __SIZEOF_INT128__ - found
-- Found Boost: /usr/include (found suitable version "1.66.0", minimum required 
is "1.58") found components: regex system filesystem
-- Boost include dir: /usr/include
-- Boost libraries: Boost::system;Boost::filesystem
-- Could NOT find Snappy (missing: Snappy_LIB Snappy_INCLUDE_DIR)
-- Building snappy from source
-- Checking for modules 'libbrotlicommon;libbrotlienc;libbrotlidec'
--   Package 'libbrotlicommon', required by 'virtual:world', not found
--   Package 'libbrotlienc', required by 'virtual:world', not found
--   Package 'libbrotlidec', required by 'virtual:world', not found
-- Could NOT find Brotli (missing: BROTLI_COMMON_LIBRARY BROTLI_ENC_LIBRARY 
BROTLI_DEC_LIBRARY BROTLI_INCLUDE_DIR)
-- Building brotli from source
-- Building without OpenSSL support. Minimum OpenSSL version 1.0.2 required.
CMake Warning at cmake_modules/FindgflagsAlt.cmake:25 (find_package):
  By not providing "Findgflags.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "gflags", but
  CMake did not find one.
  Could not find a package configuration file provided by "gflags" (requested
  version 2.1.0) with any of the following names:
    gflagsConfig.cmake
    gflags-config.cmake
  Add the installation prefix of "gflags" to CMAKE_PREFIX_PATH or set
  "gflags_DIR" to a directory containing one of the above files.  If "gflags"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  cmake_modules/ThirdpartyToolchain.cmake:221 (find_package)
  cmake_modules/ThirdpartyToolchain.cmake:1220 (resolve_dependency)
  CMakeLists.txt:499 (include)

-- Could NOT find gflagsAlt (missing: gflags_LIB GFLAGS_INCLUDE_DIR) (Required 
is at least version "2.1.0")
-- Building gflags from source
-- Added static library dependency gflags_static: 
/root/git/repos/arrow/cpp/build/gflags_ep-prefix/src/gflags_ep/lib/libgflags_debug.a
Building Apache Thrift from source
-- Building (vendored) jemalloc from source
-- Could NOT find GTest (missing: GTest_DIR)
-- Building gtest from source
CMake Warning at cmake_modules/FindRapidJSONAlt.cmake:25 (find_package):
  By not providing "FindRapidJSON.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "RapidJSON", but CMake did not find one.
  Could not find a package configuration file provided by "RapidJSON"
  (requested version 1.1.0) with any of the following names:
    RapidJSONConfig.cmake
    rapidjson-config.cmake
  Add the installation prefix of "RapidJSON" to CMAKE_PREFIX_PATH or set
  "RapidJSON_DIR" to a directory containing one of the above files.  If
  "RapidJSON" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  cmake_modules/ThirdpartyToolchain.cmake:221 (find_package)
  cmake_modules/ThirdpartyToolchain.cmake:1904 (resolve_dependency)
  CMakeLists.txt:499 (include)

-- Could NOT find RapidJSONAlt (missing: RAPIDJSON_INCLUDE_DIR) (Required is at 
least version "1.1.0")
-- Building RapidJSON from source
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11")
-- Checking for module 'liblz4'
--   Package 'liblz4', required by 'virtual:world', not found
-- Could NOT find Lz4 (missing: LZ4_LIB LZ4_INCLUDE_DIR)
-- Building lz4 from source
-- Checking for module 'libzstd'
--   Found libzstd, version 1.4.4
-- Found zstd: /usr/lib64/libzstd.so
-- Providing CMake module for zstd
CMake Warning at cmake_modules/Findre2Alt.cmake:25 (find_package):
  By not providing "Findre2.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "re2", but
  CMake did not find one.
  Could not find a package configuration file provided by "re2" with any of
  the following names:
    re2Config.cmake
    re2-config.cmake
  Add the installation prefix of "re2" to CMAKE_PREFIX_PATH or set "re2_DIR"
  to a directory containing one of the above files.  If "re2" provides a
  separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
  cmake_modules/ThirdpartyToolchain.cmake:221 (find_package)
  cmake_modules/ThirdpartyToolchain.cmake:2144 (resolve_dependency)
  CMakeLists.txt:499 (include)

-- Checking for module 're2'
--   Package 're2', required by 'virtual:world', not found
-- Could NOT find re2Alt (missing: RE2_LIB RE2_INCLUDE_DIR)
-- Building RE2 from source
-- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.6")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Could NOT find utf8proc (missing: utf8proc_LIB utf8proc_INCLUDE_DIR)
-- Building utf8proc from source
-- Found hdfs.h at: /root/git/repos/arrow/cpp/thirdparty/hadoop/include/hdfs.h
-- All bundled static libraries: 
Snappy::snappy;Brotli::brotlicommon;Brotli::brotlienc;Brotli::brotlidec;gflags_static;thrift::thrift;jemalloc::jemalloc;LZ4::lz4;re2::re2;utf8proc::utf8proc
-- CMAKE_C_FLAGS:  -ggdb -O0  -Wall -Wno-conversion 
-Wno-deprecated-declarations -Wno-sign-conversion -Wno-unused-variable -Werror 
-fno-semantic-interposition
-- CMAKE_CXX_FLAGS:  -Wno-noexcept-type  -fdiagnostics-color=always -ggdb -O0  
-Wall -Wno-conversion -Wno-deprecated-declarations -Wno-sign-conversion 
-Wno-unused-variable -Werror -fno-semantic-interposition
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /usr/include
-- Creating bundled static library target arrow_bundled_dependencies at 
/root/git/repos/arrow/cpp/build/debug/libarrow_bundled_dependencies.a
-- Found Python3: /usr/bin/python3.9 (found version "3.9.6") found components: 
Interpreter Development NumPy Development.Module Development.Embed
-- Found Python3Alt: /usr/bin/python3.9
-- ---------------------------------------------------------------------
-- Arrow version:                                 3.0.0
--
-- Build configuration summary:
--   Generator: Unix Makefiles
--   Build type: DEBUG
--   Source directory: /root/git/repos/arrow/cpp
--   Install prefix: /root/git/repos/dist
--
-- Compile and link options:
--
--   ARROW_CXXFLAGS="" [default=""]
--       Compiler flags to append when compiling Arrow
--   ARROW_BUILD_STATIC=ON [default=ON]
--       Build static libraries
--   ARROW_BUILD_SHARED=ON [default=ON]
--       Build shared libraries
--   ARROW_PACKAGE_KIND="" [default=""]
--       Arbitrary string that identifies the kind of package
--       (for informational purposes)
--   ARROW_GIT_ID=d613aa68789288d3503dfbd8376a41f2d28b6c9d [default=""]
--       The Arrow git commit id (if any)
--   ARROW_GIT_DESCRIPTION=apache-arrow-3.0.0 [default=""]
--       The Arrow git commit description (if any)
--   ARROW_NO_DEPRECATED_API=OFF [default=OFF]
--       Exclude deprecated APIs from build
--   ARROW_USE_CCACHE=ON [default=ON]
--       Use ccache when compiling (if available)
--   ARROW_USE_LD_GOLD=OFF [default=OFF]
--       Use ld.gold for linking on Linux (if available)
--   ARROW_USE_PRECOMPILED_HEADERS=OFF [default=OFF]
--       Use precompiled headers when compiling
--   ARROW_SIMD_LEVEL=SSE4_2 [default=NONE|SSE4_2|AVX2|AVX512]
--       Compile-time SIMD optimization level
--   ARROW_RUNTIME_SIMD_LEVEL=MAX [default=NONE|SSE4_2|AVX2|AVX512|MAX]
--       Max runtime SIMD optimization level
--   ARROW_ARMV8_ARCH=armv8-a [default=armv8-a|armv8-a+crc+crypto]
--       Arm64 arch and extensions
--   ARROW_ALTIVEC=ON [default=ON]
--       Build with Altivec if compiler has support
--   ARROW_RPATH_ORIGIN=OFF [default=OFF]
--       Build Arrow libraries with RATH set to $ORIGIN
--   ARROW_INSTALL_NAME_RPATH=ON [default=ON]
--       Build Arrow libraries with install_name set to @rpath
--   ARROW_GGDB_DEBUG=ON [default=ON]
--       Pass -ggdb flag to debug builds
--
-- Test and benchmark options:
--
--   ARROW_BUILD_EXAMPLES=OFF [default=OFF]
--       Build the Arrow examples
--   ARROW_BUILD_TESTS=ON [default=OFF]
--       Build the Arrow googletest unit tests
--   ARROW_ENABLE_TIMING_TESTS=ON [default=ON]
--       Enable timing-sensitive tests
--   ARROW_BUILD_INTEGRATION=OFF [default=OFF]
--       Build the Arrow integration test executables
--   ARROW_BUILD_BENCHMARKS=OFF [default=OFF]
--       Build the Arrow micro benchmarks
--   ARROW_BUILD_BENCHMARKS_REFERENCE=OFF [default=OFF]
--       Build the Arrow micro reference benchmarks
--   ARROW_TEST_LINKAGE=shared [default=shared|static]
--       Linkage of Arrow libraries with unit tests executables.
--   ARROW_FUZZING=OFF [default=OFF]
--       Build Arrow Fuzzing executables
--   ARROW_LARGE_MEMORY_TESTS=OFF [default=OFF]
--       Enable unit tests which use large memory
--
-- Lint options:
--
--   ARROW_ONLY_LINT=OFF [default=OFF]
--       Only define the lint and check-format targets
--   ARROW_VERBOSE_LINT=OFF [default=OFF]
--       If off, 'quiet' flags will be passed to linting tools
--   ARROW_GENERATE_COVERAGE=OFF [default=OFF]
--       Build with C++ code coverage enabled
--
-- Checks options:
--
--   ARROW_TEST_MEMCHECK=OFF [default=OFF]
--       Run the test suite using valgrind --tool=memcheck
--   ARROW_USE_ASAN=OFF [default=OFF]
--       Enable Address Sanitizer checks
--   ARROW_USE_TSAN=OFF [default=OFF]
--       Enable Thread Sanitizer checks
--   ARROW_USE_UBSAN=OFF [default=OFF]
--       Enable Undefined Behavior sanitizer checks
--
-- Project component options:
--
--   ARROW_BUILD_UTILITIES=OFF [default=OFF]
--       Build Arrow commandline utilities
--   ARROW_COMPUTE=ON [default=OFF]
--       Build the Arrow Compute Modules
--   ARROW_CSV=ON [default=OFF]
--       Build the Arrow CSV Parser Module
--   ARROW_CUDA=OFF [default=OFF]
--       Build the Arrow CUDA extensions (requires CUDA toolkit)
--   ARROW_DATASET=ON [default=OFF]
--       Build the Arrow Dataset Modules
--   ARROW_FILESYSTEM=ON [default=OFF]
--       Build the Arrow Filesystem Layer
--   ARROW_FLIGHT=OFF [default=OFF]
--       Build the Arrow Flight RPC System (requires GRPC, Protocol Buffers)
--   ARROW_GANDIVA=OFF [default=OFF]
--       Build the Gandiva libraries
--   ARROW_HDFS=ON [default=OFF]
--       Build the Arrow HDFS bridge
--   ARROW_HIVESERVER2=OFF [default=OFF]
--       Build the HiveServer2 client and Arrow adapter
--   ARROW_IPC=ON [default=ON]
--       Build the Arrow IPC extensions
--   ARROW_JEMALLOC=ON [default=ON]
--       Build the Arrow jemalloc-based allocator
--   ARROW_JNI=OFF [default=OFF]
--       Build the Arrow JNI lib
--   ARROW_JSON=ON [default=OFF]
--       Build Arrow with JSON support (requires RapidJSON)
--   ARROW_MIMALLOC=OFF [default=OFF]
--       Build the Arrow mimalloc-based allocator
--   ARROW_PARQUET=ON [default=OFF]
--       Build the Parquet libraries
--   ARROW_ORC=OFF [default=OFF]
--       Build the Arrow ORC adapter
--   ARROW_PLASMA=OFF [default=OFF]
--       Build the plasma object store along with Arrow
--   ARROW_PLASMA_JAVA_CLIENT=OFF [default=OFF]
--       Build the plasma object store java client
--   ARROW_PYTHON=ON [default=OFF]
--       Build the Arrow CPython extensions
--   ARROW_S3=OFF [default=OFF]
--       Build Arrow with S3 support (requires the AWS SDK for C++)
--   ARROW_TENSORFLOW=OFF [default=OFF]
--       Build Arrow with TensorFlow support enabled
--   ARROW_TESTING=ON [default=OFF]
--       Build the Arrow testing libraries
--
-- Thirdparty toolchain options:
--
--   ARROW_DEPENDENCY_SOURCE=AUTO [default=AUTO|BUNDLED|SYSTEM|CONDA|BREW]
--       Method to use for acquiring arrow's build dependencies
--   ARROW_VERBOSE_THIRDPARTY_BUILD=OFF [default=OFF]
--       Show output from ExternalProjects rather than just logging to files
--   ARROW_DEPENDENCY_USE_SHARED=ON [default=ON]
--       Link to shared libraries
--   ARROW_BOOST_USE_SHARED=ON [default=ON]
--       Rely on boost shared libraries where relevant
--   ARROW_BROTLI_USE_SHARED=ON [default=ON]
--       Rely on Brotli shared libraries where relevant
--   ARROW_BZ2_USE_SHARED=ON [default=ON]
--       Rely on Bz2 shared libraries where relevant
--   ARROW_GFLAGS_USE_SHARED=ON [default=ON]
--       Rely on GFlags shared libraries where relevant
--   ARROW_GRPC_USE_SHARED=ON [default=ON]
--       Rely on gRPC shared libraries where relevant
--   ARROW_LZ4_USE_SHARED=ON [default=ON]
--       Rely on lz4 shared libraries where relevant
--   ARROW_OPENSSL_USE_SHARED=ON [default=ON]
--       Rely on OpenSSL shared libraries where relevant
--   ARROW_PROTOBUF_USE_SHARED=ON [default=ON]
--       Rely on Protocol Buffers shared libraries where relevant
--   ARROW_THRIFT_USE_SHARED=ON [default=ON]
--       Rely on thrift shared libraries where relevant
--   ARROW_UTF8PROC_USE_SHARED=ON [default=ON]
--       Rely on utf8proc shared libraries where relevant
--   ARROW_SNAPPY_USE_SHARED=ON [default=ON]
--       Rely on snappy shared libraries where relevant
--   ARROW_UTF8PROC_USE_SHARED=ON [default=ON]
--       Rely on utf8proc shared libraries where relevant
--   ARROW_ZSTD_USE_SHARED=ON [default=ON]
--       Rely on zstd shared libraries where relevant
--   ARROW_USE_GLOG=OFF [default=OFF]
--       Build libraries with glog support for pluggable logging
--   ARROW_WITH_BACKTRACE=ON [default=ON]
--       Build with backtrace support
--   ARROW_WITH_BROTLI=ON [default=OFF]
--       Build with Brotli compression
--   ARROW_WITH_BZ2=ON [default=OFF]
--       Build with BZ2 compression
--   ARROW_WITH_LZ4=ON [default=OFF]
--       Build with lz4 compression
--   ARROW_WITH_SNAPPY=ON [default=OFF]
--       Build with Snappy compression
--   ARROW_WITH_ZLIB=ON [default=OFF]
--       Build with zlib compression
--   ARROW_WITH_ZSTD=ON [default=OFF]
--       Build with zstd compression
--   ARROW_WITH_UTF8PROC=ON [default=ON]
--       Build with support for Unicode properties using the utf8proc library
--       (only used if ARROW_COMPUTE is ON)
--   ARROW_WITH_RE2=ON [default=ON]
--       Build with support for regular expressions using the re2 library
--       (only used if ARROW_COMPUTE or ARROW_GANDIVA is ON)
--
-- Parquet options:
--
--   PARQUET_MINIMAL_DEPENDENCY=OFF [default=OFF]
--       Depend only on Thirdparty headers to build libparquet.
--       Always OFF if building binaries
--   PARQUET_BUILD_EXECUTABLES=OFF [default=OFF]
--       Build the Parquet executable CLI tools. Requires static libraries to 
be built.
--   PARQUET_BUILD_EXAMPLES=OFF [default=OFF]
--       Build the Parquet examples. Requires static libraries to be built.
--   PARQUET_REQUIRE_ENCRYPTION=OFF [default=OFF]
--       Build support for encryption. Fail if OpenSSL is not found
--
-- Gandiva options:
--
--   ARROW_GANDIVA_JAVA=OFF [default=OFF]
--       Build the Gandiva JNI wrappers
--   ARROW_GANDIVA_STATIC_LIBSTDCPP=OFF [default=OFF]
--       Include -static-libstdc++ -static-libgcc when linking with
--       Gandiva static libraries
--   ARROW_GANDIVA_PC_CXX_FLAGS="" [default=""]
--       Compiler flags to append when pre-compiling Gandiva operations
--
-- Advanced developer options:
--
--   ARROW_EXTRA_ERROR_CONTEXT=OFF [default=OFF]
--       Compile with extra error context (line numbers, code)
--   ARROW_OPTIONAL_INSTALL=OFF [default=OFF]
--       If enabled install ONLY targets that have already been built. Please be
--       advised that if this is enabled 'install' will fail silently on 
components
--       that have not been built
--   Outputting build configuration summary to 
/root/git/repos/arrow/cpp/build/cmake_summary.json
-- Configuring done
CMake Warning (dev) at cmake_modules/BuildUtils.cmake:693 (add_executable):
  Policy CMP0115 is not set: Source file extensions must be explicit.  Run
  "cmake --help-policy CMP0115" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
  File:
    /root/git/repos/arrow/cpp/src/arrow/util/future_test.cc
Call Stack (most recent call first):
  src/arrow/CMakeLists.txt:62 (add_test_case)
  src/arrow/util/CMakeLists.txt:67 (add_arrow_test)
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) at cmake_modules/BuildUtils.cmake:693 (add_executable):
  Policy CMP0115 is not set: Source file extensions must be explicit.  Run
  "cmake --help-policy CMP0115" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
  File:
    /root/git/repos/arrow/cpp/src/arrow/util/task_group_test.cc
Call Stack (most recent call first):
  src/arrow/CMakeLists.txt:62 (add_test_case)
  src/arrow/util/CMakeLists.txt:67 (add_arrow_test)
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) at cmake_modules/BuildUtils.cmake:693 (add_executable):
  Policy CMP0115 is not set: Source file extensions must be explicit.  Run
  "cmake --help-policy CMP0115" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
  File:
    /root/git/repos/arrow/cpp/src/arrow/util/thread_pool_test.cc
Call Stack (most recent call first):
  src/arrow/CMakeLists.txt:62 (add_test_case)
  src/arrow/util/CMakeLists.txt:67 (add_arrow_test)
This warning is for project developers.  Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: /root/git/repos/arrow/cpp/build
(pyarrow-dev) [root@s390x build]# make -j4
[  0%] Creating directories for 'snappy_ep'
[  0%] Creating directories for 'brotli_ep'
[  1%] Creating directories for 'gflags_ep'
[  2%] Creating directories for 'thrift_ep'
[  2%] Performing download step (download, verify and extract) for 'snappy_ep'
[  2%] Performing download step (download, verify and extract) for 'brotli_ep'
[  2%] Performing download step (download, verify and extract) for 'gflags_ep'
[  2%] Performing download step (download, verify and extract) for 'thrift_ep'
-- gflags_ep download command succeeded.  See also 
/root/git/repos/arrow/cpp/build/gflags_ep-prefix/src/gflags_ep-stamp/gflags_ep-download-*.log
[  2%] No update step for 'gflags_ep'
[  2%] No patch step for 'gflags_ep'
[  2%] Performing configure step for 'gflags_ep'
-- thrift_ep download command succeeded.  See also 
/root/git/repos/arrow/cpp/build/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-download-*.log
[  2%] No update step for 'thrift_ep'
[  2%] No patch step for 'thrift_ep'
[  2%] Performing configure step for 'thrift_ep'
-- snappy_ep download command succeeded.  See also 
/root/git/repos/arrow/cpp/build/snappy_ep-prefix/src/snappy_ep-stamp/snappy_ep-download-*.log
[  2%] No update step for 'snappy_ep'
[  2%] No patch step for 'snappy_ep'
[  3%] Performing configure step for 'snappy_ep'
-- brotli_ep download command succeeded.  See also 
/root/git/repos/arrow/cpp/build/brotli_ep-prefix/src/brotli_ep-stamp/brotli_ep-download-*.log
[  3%] No update step for 'brotli_ep'
[  3%] No patch step for 'brotli_ep'
[  4%] Performing configure step for 'brotli_ep'
-- brotli_ep configure command succeeded.  See also 
/root/git/repos/arrow/cpp/build/brotli_ep-prefix/src/brotli_ep-stamp/brotli_ep-configure-*.log
[  4%] Performing build step for 'brotli_ep'
-- gflags_ep configure command succeeded.  See also 
/root/git/repos/arrow/cpp/build/gflags_ep-prefix/src/gflags_ep-stamp/gflags_ep-configure-*.log
[  4%] Performing build step for 'gflags_ep'
-- snappy_ep configure command succeeded.  See also 
/root/git/repos/arrow/cpp/build/snappy_ep-prefix/src/snappy_ep-stamp/snappy_ep-configure-*.log
[  4%] Performing build step for 'snappy_ep'
-- snappy_ep build command succeeded.  See also 
/root/git/repos/arrow/cpp/build/snappy_ep-prefix/src/snappy_ep-stamp/snappy_ep-build-*.log
[  4%] Performing install step for 'snappy_ep'
-- snappy_ep install command succeeded.  See also 
/root/git/repos/arrow/cpp/build/snappy_ep-prefix/src/snappy_ep-stamp/snappy_ep-install-*.log
[  4%] Completed 'snappy_ep'
[  4%] Built target snappy_ep
[  5%] Creating directories for 'jemalloc_ep'
[  5%] Performing download step (download, verify and extract) for 'jemalloc_ep'
-- jemalloc_ep download command succeeded.  See also 
/root/git/repos/arrow/cpp/build/jemalloc_ep-prefix/src/jemalloc_ep-stamp/jemalloc_ep-download-*.log
[  5%] No update step for 'jemalloc_ep'
[  5%] Performing patch step for 'jemalloc_ep'
[  5%] Performing configure step for 'jemalloc_ep'
-- thrift_ep configure command succeeded.  See also 
/root/git/repos/arrow/cpp/build/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-configure-*.log
[  5%] Performing build step for 'thrift_ep'
-- gflags_ep build command succeeded.  See also 
/root/git/repos/arrow/cpp/build/gflags_ep-prefix/src/gflags_ep-stamp/gflags_ep-build-*.log
[  5%] Performing install step for 'gflags_ep'
-- gflags_ep install command succeeded.  See also 
/root/git/repos/arrow/cpp/build/gflags_ep-prefix/src/gflags_ep-stamp/gflags_ep-install-*.log
[  6%] Completed 'gflags_ep'
[  6%] Built target gflags_ep
[  6%] Creating directories for 'googletest_ep'
[  6%] Performing download step (download, verify and extract) for 
'googletest_ep'
-- googletest_ep download command succeeded.  See also 
/root/git/repos/arrow/cpp/build/googletest_ep-prefix/src/googletest_ep-stamp/googletest_ep-download-*.log
[  7%] No update step for 'googletest_ep'
[  7%] No patch step for 'googletest_ep'
[  8%] Performing configure step for 'googletest_ep'
-- googletest_ep configure command succeeded.  See also 
/root/git/repos/arrow/cpp/build/googletest_ep-prefix/src/googletest_ep-stamp/googletest_ep-configure-*.log
[  8%] Performing build step for 'googletest_ep'
-- googletest_ep build command succeeded.  See also 
/root/git/repos/arrow/cpp/build/googletest_ep-prefix/src/googletest_ep-stamp/googletest_ep-build-*.log
[  8%] Performing install step for 'googletest_ep'
-- googletest_ep install command succeeded.  See also 
/root/git/repos/arrow/cpp/build/googletest_ep-prefix/src/googletest_ep-stamp/googletest_ep-install-*.log
[  8%] Completed 'googletest_ep'
[  8%] Built target googletest_ep
[  8%] Creating directories for 'rapidjson_ep'
[  9%] Performing download step (download, verify and extract) for 
'rapidjson_ep'
-- brotli_ep build command succeeded.  See also 
/root/git/repos/arrow/cpp/build/brotli_ep-prefix/src/brotli_ep-stamp/brotli_ep-build-*.log
[  9%] Performing install step for 'brotli_ep'
-- rapidjson_ep download command succeeded.  See also 
/root/git/repos/arrow/cpp/build/src/rapidjson_ep-stamp/rapidjson_ep-download-*.log
[  9%] No update step for 'rapidjson_ep'
[  9%] No patch step for 'rapidjson_ep'
[  9%] Performing configure step for 'rapidjson_ep'
-- rapidjson_ep configure command succeeded.  See also 
/root/git/repos/arrow/cpp/build/src/rapidjson_ep-stamp/rapidjson_ep-configure-*.log
[  9%] Performing build step for 'rapidjson_ep'
-- rapidjson_ep build command succeeded.  See also 
/root/git/repos/arrow/cpp/build/src/rapidjson_ep-stamp/rapidjson_ep-build-*.log
[  9%] Performing install step for 'rapidjson_ep'
-- brotli_ep install command succeeded.  See also 
/root/git/repos/arrow/cpp/build/brotli_ep-prefix/src/brotli_ep-stamp/brotli_ep-install-*.log
[  9%] Completed 'brotli_ep'
[  9%] Built target brotli_ep
[  9%] Creating directories for 'lz4_ep'
[  9%] Performing download step (download, verify and extract) for 'lz4_ep'
-- rapidjson_ep install command succeeded.  See also 
/root/git/repos/arrow/cpp/build/src/rapidjson_ep-stamp/rapidjson_ep-install-*.log
[  9%] Completed 'rapidjson_ep'
[  9%] Built target rapidjson_ep
[ 10%] Creating directories for 're2_ep'
[ 10%] Performing download step (download, verify and extract) for 're2_ep'
-- lz4_ep download command succeeded.  See also 
/root/git/repos/arrow/cpp/build/lz4_ep-prefix/src/lz4_ep-stamp/lz4_ep-download-*.log
[ 11%] Performing update step for 'lz4_ep'
[ 11%] No patch step for 'lz4_ep'
[ 12%] No configure step for 'lz4_ep'
[ 12%] Performing build step for 'lz4_ep'
-- re2_ep download command succeeded.  See also 
/root/git/repos/arrow/cpp/build/re2_ep-prefix/src/re2_ep-stamp/re2_ep-download-*.log
[ 12%] No update step for 're2_ep'
[ 12%] No patch step for 're2_ep'
[ 12%] Performing configure step for 're2_ep'
-- re2_ep configure command succeeded.  See also 
/root/git/repos/arrow/cpp/build/re2_ep-prefix/src/re2_ep-stamp/re2_ep-configure-*.log
[ 12%] Performing build step for 're2_ep'
-- jemalloc_ep configure command succeeded.  See also 
/root/git/repos/arrow/cpp/build/jemalloc_ep-prefix/src/jemalloc_ep-stamp/jemalloc_ep-configure-*.log
[ 12%] Performing build step for 'jemalloc_ep'
-- thrift_ep build command succeeded.  See also 
/root/git/repos/arrow/cpp/build/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-build-*.log
[ 12%] Performing install step for 'thrift_ep'
-- thrift_ep install command succeeded.  See also 
/root/git/repos/arrow/cpp/build/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-install-*.log
[ 13%] Completed 'thrift_ep'
[ 13%] Built target thrift_ep
[ 13%] Creating directories for 'utf8proc_ep'
[ 13%] Performing download step (download, verify and extract) for 'utf8proc_ep'
-- utf8proc_ep download command succeeded.  See also 
/root/git/repos/arrow/cpp/build/utf8proc_ep-prefix/src/utf8proc_ep-stamp/utf8proc_ep-download-*.log
[ 14%] No update step for 'utf8proc_ep'
[ 14%] No patch step for 'utf8proc_ep'
[ 15%] Performing configure step for 'utf8proc_ep'
-- utf8proc_ep configure command succeeded.  See also 
/root/git/repos/arrow/cpp/build/utf8proc_ep-prefix/src/utf8proc_ep-stamp/utf8proc_ep-configure-*.log
[ 15%] Performing build step for 'utf8proc_ep'
-- utf8proc_ep build command succeeded.  See also 
/root/git/repos/arrow/cpp/build/utf8proc_ep-prefix/src/utf8proc_ep-stamp/utf8proc_ep-build-*.log
[ 15%] Performing install step for 'utf8proc_ep'
-- utf8proc_ep install command succeeded.  See also 
/root/git/repos/arrow/cpp/build/utf8proc_ep-prefix/src/utf8proc_ep-stamp/utf8proc_ep-install-*.log
[ 15%] Completed 'utf8proc_ep'
[ 15%] Built target utf8proc_ep
[ 15%] Built target toolchain-tests
[ 15%] Building CXX object 
src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/dataset.cc.o
[ 15%] Building CXX object 
src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/discovery.cc.o
[ 15%] Building CXX object 
src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/expression.cc.o
-- lz4_ep build command succeeded.  See also 
/root/git/repos/arrow/cpp/build/lz4_ep-prefix/src/lz4_ep-stamp/lz4_ep-build-*.log
[ 15%] No install step for 'lz4_ep'
[ 15%] Completed 'lz4_ep'
[ 15%] Built target lz4_ep
[ 15%] Building CXX object 
src/arrow/python/CMakeFiles/arrow_python_test_main.dir/util/test_main.cc.o
[ 15%] Linking CXX static library ../../../debug/libarrow_python_test_main.a
[ 15%] Built target arrow_python_test_main
[ 15%] Built target arrow_test_dependencies
[ 15%] Building CXX object 
src/arrow/CMakeFiles/arrow_testing_objlib.dir/io/test_common.cc.o
[ 15%] Building CXX object 
src/arrow/CMakeFiles/arrow_testing_objlib.dir/ipc/test_common.cc.o
[ 15%] Building CXX object 
src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/file_base.cc.o
[ 16%] Building CXX object 
src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/file_ipc.cc.o
[ 16%] Building CXX object 
src/arrow/CMakeFiles/arrow_testing_objlib.dir/testing/json_integration.cc.o
[ 16%] Building CXX object 
src/arrow/CMakeFiles/arrow_testing_objlib.dir/testing/json_internal.cc.o
[ 16%] Building CXX object 
src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/partition.cc.o
[ 16%] Building CXX object 
src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/projector.cc.o
[ 17%] Building CXX object 
src/arrow/CMakeFiles/arrow_testing_objlib.dir/testing/gtest_util.cc.o
[ 17%] Building CXX object 
src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/scanner.cc.o
[ 17%] Building CXX object 
src/arrow/CMakeFiles/arrow_testing_objlib.dir/testing/random.cc.o
[ 17%] Building CXX object 
src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/file_csv.cc.o
[ 17%] Building CXX object 
src/arrow/CMakeFiles/arrow_testing_objlib.dir/testing/generator.cc.o
[ 18%] Building CXX object 
src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/file_parquet.cc.o
[ 18%] Building CXX object 
src/arrow/CMakeFiles/arrow_testing_objlib.dir/testing/util.cc.o
[ 18%] Building CXX object 
src/arrow/CMakeFiles/arrow_testing_objlib.dir/csv/test_common.cc.o
-- re2_ep build command succeeded.  See also 
/root/git/repos/arrow/cpp/build/re2_ep-prefix/src/re2_ep-stamp/re2_ep-build-*.log
[ 18%] Performing install step for 're2_ep'
[ 19%] Building CXX object 
src/arrow/CMakeFiles/arrow_testing_objlib.dir/filesystem/test_util.cc.o
[ 19%] Built target arrow_dataset_objlib
-- re2_ep install command succeeded.  See also 
/root/git/repos/arrow/cpp/build/re2_ep-prefix/src/re2_ep-stamp/re2_ep-install-*.log
[ 20%] Completed 're2_ep'
[ 20%] Built target re2_ep
[ 20%] Built target toolchain
[ 20%] Built target arrow_testing_objlib
-- jemalloc_ep build command succeeded.  See also 
/root/git/repos/arrow/cpp/build/jemalloc_ep-prefix/src/jemalloc_ep-stamp/jemalloc_ep-build-*.log
[ 20%] Performing install step for 'jemalloc_ep'
-- jemalloc_ep install command succeeded.  See also 
/root/git/repos/arrow/cpp/build/jemalloc_ep-prefix/src/jemalloc_ep-stamp/jemalloc_ep-install-*.log
[ 20%] Completed 'jemalloc_ep'
[ 20%] Built target jemalloc_ep
[ 21%] Bundling 
/root/git/repos/arrow/cpp/build/debug/libarrow_bundled_dependencies.a
[ 21%] Built target arrow_dependencies
[ 21%] Building CXX object 
src/arrow/python/CMakeFiles/arrow_python_objlib.dir/arrow_to_pandas.cc.o
[ 21%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/array_base.cc.o
[ 21%] Building CXX object 
src/arrow/python/CMakeFiles/arrow_python_objlib.dir/benchmark.cc.o
[ 22%] Building CXX object 
src/arrow/python/CMakeFiles/arrow_python_objlib.dir/common.cc.o
[ 22%] Building CXX object 
src/arrow/python/CMakeFiles/arrow_python_objlib.dir/datetime.cc.o
[ 22%] Building CXX object 
src/arrow/python/CMakeFiles/arrow_python_objlib.dir/decimal.cc.o
[ 22%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/array_binary.cc.o
[ 23%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/array_decimal.cc.o
[ 23%] Building CXX object 
src/arrow/python/CMakeFiles/arrow_python_objlib.dir/deserialize.cc.o
[ 23%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/array_dict.cc.o
[ 23%] Built target arrow_bundled_dependencies
[ 23%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/array_nested.cc.o
[ 23%] Building CXX object 
src/arrow/python/CMakeFiles/arrow_python_objlib.dir/extension_type.cc.o
[ 24%] Building CXX object 
src/arrow/python/CMakeFiles/arrow_python_objlib.dir/helpers.cc.o
[ 24%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/array_primitive.cc.o
[ 24%] Building CXX object 
src/arrow/python/CMakeFiles/arrow_python_objlib.dir/inference.cc.o
[ 24%] Building CXX object 
src/arrow/python/CMakeFiles/arrow_python_objlib.dir/init.cc.o
[ 24%] Building CXX object 
src/arrow/python/CMakeFiles/arrow_python_objlib.dir/io.cc.o
[ 24%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/builder_adaptive.cc.o
[ 24%] Building CXX object 
src/arrow/python/CMakeFiles/arrow_python_objlib.dir/ipc.cc.o
[ 24%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/builder_base.cc.o
[ 25%] Building CXX object 
src/arrow/python/CMakeFiles/arrow_python_objlib.dir/numpy_convert.cc.o
[ 26%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/builder_binary.cc.o
[ 26%] Building CXX object 
src/arrow/python/CMakeFiles/arrow_python_objlib.dir/numpy_to_arrow.cc.o
[ 26%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/builder_decimal.cc.o
[ 26%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/builder_dict.cc.o
[ 26%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/builder_nested.cc.o
[ 26%] Building CXX object 
src/arrow/python/CMakeFiles/arrow_python_objlib.dir/python_to_arrow.cc.o
[ 26%] Building CXX object 
src/arrow/python/CMakeFiles/arrow_python_objlib.dir/pyarrow.cc.o
[ 26%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/builder_primitive.cc.o
[ 27%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/builder_union.cc.o
[ 27%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/concatenate.cc.o
[ 27%] Building CXX object 
src/arrow/python/CMakeFiles/arrow_python_objlib.dir/serialize.cc.o
[ 27%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/array/data.cc.o
[ 27%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/array/diff.cc.o
[ 27%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/array/util.cc.o
[ 28%] Building CXX object 
src/arrow/python/CMakeFiles/arrow_python_objlib.dir/filesystem.cc.o
[ 29%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/validate.cc.o
[ 29%] Built target arrow_python_objlib
[ 29%] Linking CXX static library ../../../debug/libarrow_python.a
[ 29%] Built target arrow_python_static
[ 29%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/builder.cc.o
[ 29%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/buffer.cc.o
[ 29%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/chunked_array.cc.o
[ 29%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/compare.cc.o
[ 30%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/config.cc.o
[ 30%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/datum.cc.o
[ 30%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/device.cc.o
[ 30%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/extension_type.cc.o
[ 30%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/memory_pool.cc.o
[ 30%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/pretty_print.cc.o
[ 31%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/record_batch.cc.o
[ 31%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/result.cc.o
[ 31%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/scalar.cc.o
[ 31%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/sparse_tensor.cc.o
[ 31%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/status.cc.o
[ 32%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/table.cc.o
[ 32%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/table_builder.cc.o
[ 32%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/tensor.cc.o
[ 32%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/tensor/coo_converter.cc.o
[ 32%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/tensor/csf_converter.cc.o
[ 33%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/tensor/csx_converter.cc.o
[ 33%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/type.cc.o
[ 33%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/visitor.cc.o
[ 33%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/c/bridge.cc.o
[ 33%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/io/buffered.cc.o
[ 34%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/io/caching.cc.o
[ 34%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/io/compressed.cc.o
[ 34%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/io/file.cc.o
[ 34%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/io/hdfs.cc.o
[ 34%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/io/hdfs_internal.cc.o
[ 34%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/io/interfaces.cc.o
[ 35%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/io/memory.cc.o
[ 35%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/io/slow.cc.o
[ 35%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/io/transform.cc.o
[ 35%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/basic_decimal.cc.o
[ 35%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/bit_block_counter.cc.o
[ 36%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/bit_run_reader.cc.o
[ 36%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/bit_util.cc.o
[ 36%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/bitmap.cc.o
[ 36%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/bitmap_builders.cc.o
[ 36%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/bitmap_ops.cc.o
[ 37%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/bpacking.cc.o
[ 37%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/compression.cc.o
[ 37%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/cpu_info.cc.o
[ 37%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/decimal.cc.o
[ 37%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/delimiting.cc.o
[ 38%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/formatting.cc.o
[ 38%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/future.cc.o
[ 38%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/int_util.cc.o
[ 38%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/io_util.cc.o
[ 38%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/iterator.cc.o
[ 38%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/logging.cc.o
[ 39%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/key_value_metadata.cc.o
[ 39%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/memory.cc.o
[ 39%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/util/mutex.cc.o
[ 39%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/string.cc.o
[ 39%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/string_builder.cc.o
[ 40%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/task_group.cc.o
[ 40%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/thread_pool.cc.o
[ 40%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/util/time.cc.o
[ 40%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/util/trie.cc.o
[ 40%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/util/uri.cc.o
[ 41%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/util/utf8.cc.o
[ 41%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/value_parsing.cc.o
[ 41%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/base64.cpp.o
[ 41%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/datetime/tz.cpp.o
[ 41%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/double-conversion/bignum.cc.o
[ 42%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/double-conversion/double-conversion.cc.o
In file included from 
/root/git/repos/arrow/cpp/src/arrow/vendored/fast_float/fast_float.h:47,
                 from 
/root/git/repos/arrow/cpp/src/arrow/util/value_parsing.cc:23:
/root/git/repos/arrow/cpp/src/arrow/vendored/fast_float/parse_number.h: In 
function 'arrow_vendored::fast_float::from_chars_result 
arrow_vendored::fast_float::from_chars(const char*, const char*, T&, 
arrow_vendored::fast_float::chars_format) [with T = double]':
/root/git/repos/arrow/cpp/src/arrow/vendored/fast_float/parse_number.h:113:14: 
error: 'void* memcpy(void*, const void*, size_t)' forming offset [9, 12] is out 
of the bounds [0, 8] of object 'word' with type 'uint64_t' {aka 'long unsigned 
int'} [-Werror=array-bounds]
      ::memcpy(&value, (char *)&word + 4, sizeof(T)); // extract value at 
offset 4-7 if float on big-endian
      ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/git/repos/arrow/cpp/src/arrow/vendored/fast_float/parse_number.h:107:12: 
note: 'word' declared here
   uint64_t word = am.mantissa;
            ^~~~
[ 42%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/double-conversion/bignum-dtoa.cc.o
cc1plus: all warnings being treated as errors
[ 42%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/double-conversion/fast-dtoa.cc.o
make[2]: *** [src/arrow/CMakeFiles/arrow_objlib.dir/build.make:1224: 
src/arrow/CMakeFiles/arrow_objlib.dir/util/value_parsing.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:1565: 
src/arrow/CMakeFiles/arrow_objlib.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
{code}
 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to