NEUpanning opened a new issue, #6374:
URL: https://github.com/apache/incubator-gluten/issues/6374

   ### Problem description
   
   
   ```
   git clone https://github.com/apache/incubator-gluten.git gluten
   cd gluten/ep/build-velox/src/
   ./get_velox.sh
   # failed command
   ./build_velox.sh --build_tests=ON --build_test_utils=ON 
--build_benchmarks=ON --run_setup_script=OFF
   ```
   
   ### System information
   
   Velox System Info v0.0.2
   Commit: b0b7ae98c45c6df69ee7024b4047eec7b6e7266f
   CMake Version: 3.28.1
   System: Linux-3.10.0-862.mt20190308.130.el7.x86_64
   Arch: x86_64
   CPU Name: Model name:            Intel(R) Xeon(R) Platinum 8255C CPU @ 
2.50GHz
   C++ Compiler: /opt/rh/devtoolset-10/root/usr/bin/c++
   C++ Compiler Version: 10.2.1
   C Compiler: /opt/rh/devtoolset-10/root/usr/bin/cc
   C Compiler Version: 10.2.1
   CMake Prefix Path: 
/usr/local;/usr;/;/usr/local;/usr/local;/usr/X11R6;/usr/pkg;/opt
   
   \nThe results will be copied to your clipboard if xclip is installed.
   
   ### CMake log
   
   ```bash
   [921/1563] Building CXX object 
velox/vector/arrow/CMakeFiles/velox_arrow_bridge.dir/Bridge.cpp.o
   FAILED: velox/vector/arrow/CMakeFiles/velox_arrow_bridge.dir/Bridge.cpp.o
   /usr/bin/ccache /opt/rh/devtoolset-10/root/usr/bin/c++ 
-DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK 
-DBOOST_CONTEXT_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB 
-DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB 
-DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK 
-DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB 
-DFOLLY_HAVE_INT128_T=1 -DGFLAGS_IS_A_DLL=0 -DVELOX_ENABLE_PARQUET 
-I/home/panning04/incubator-gluten/ep/build-velox/build/velox_ep/_build/release/_deps/protobuf-src/src
 -I/home/panning04/incubator-gluten/ep/build-velox/build/velox_ep/. 
-I/home/panning04/incubator-gluten/ep/build-velox/build/velox_ep/velox/external/xxhash
 
-I/home/panning04/incubator-gluten/ep/build-velox/build/velox_ep/_build/release/_deps/re2-src
 -isystem /home/panning04/incubator-gluten/ep/build-velox/build/velox_ep/velox 
-isystem 
/home/panning04/incubator-gluten/ep/build-velox/build/velox_ep/velox/external 
-Wno-miss
 ing-field-initializers -march=native -std=c++17 -mno-avx512f -mbmi2 -D 
USE_VELOX_COMMON_BASE -D HAS_UNCAUGHT_EXCEPTIONS -Wall -Wextra -Wno-unused      
  -Wno-unused-parameter        -Wno-sign-compare        -Wno-ignored-qualifiers 
       -Wnon-virtual-dtor        -Wno-implicit-fallthrough          
-Wno-class-memaccess          -Wno-comment          -Wno-int-in-bool-context    
      -Wno-redundant-move          -Wno-array-bounds          
-Wno-maybe-uninitialized          -Wno-unused-result          
-Wno-format-overflow          -Wno-strict-aliasing -Werror -O3 -DNDEBUG 
-std=gnu++17 -fPIC -fdiagnostics-color=always -MD -MT 
velox/vector/arrow/CMakeFiles/velox_arrow_bridge.dir/Bridge.cpp.o -MF 
velox/vector/arrow/CMakeFiles/velox_arrow_bridge.dir/Bridge.cpp.o.d -o 
velox/vector/arrow/CMakeFiles/velox_arrow_bridge.dir/Bridge.cpp.o -c 
/home/panning04/incubator-gluten/ep/build-velox/build/velox_ep/velox/vector/arrow/Bridge.cpp
   In file included from 
/home/panning04/incubator-gluten/ep/build-velox/build/velox_ep/./velox/vector/BaseVector.h:37,
                    from 
/home/panning04/incubator-gluten/ep/build-velox/build/velox_ep/./velox/vector/arrow/Bridge.h:20,
                    from 
/home/panning04/incubator-gluten/ep/build-velox/build/velox_ep/velox/vector/arrow/Bridge.cpp:17:
   In member function ‘void facebook::velox::SelectivityVector::clearAll()’,
       inlined from ‘std::enable_if_t<is_same_v<U, 
facebook::velox::StringView>, void> 
facebook::velox::SimpleVector<T>::invalidateIsAscii() [with U = 
facebook::velox::StringView; T = facebook::velox::StringView]’ at 
/home/panning04/incubator-gluten/ep/build-velox/build/velox_ep/./velox/vector/SimpleVector.h:315:55,
       inlined from ‘void 
facebook::velox::SimpleVector<T>::resetDataDependentFlags(const 
facebook::velox::SelectivityVector*) [with T = facebook::velox::StringView]’ at 
/home/panning04/incubator-gluten/ep/build-velox/build/velox_ep/./velox/vector/SimpleVector.h:434:26:
   
/home/panning04/incubator-gluten/ep/build-velox/build/velox_ep/./velox/vector/SelectivityVector.h:163:18:
 error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
     163 |     allSelected_ = false;
         |     ~~~~~~~~~~~~~^~~~~~~
   In file included from 
/home/panning04/incubator-gluten/ep/build-velox/build/velox_ep/./velox/common/memory/Memory.h:27,
                    from 
/home/panning04/incubator-gluten/ep/build-velox/build/velox_ep/./velox/vector/arrow/Bridge.h:19,
                    from 
/home/panning04/incubator-gluten/ep/build-velox/build/velox_ep/velox/vector/arrow/Bridge.cpp:17:
   /usr/local/include/folly/Synchronized.h: In member function ‘void 
facebook::velox::SimpleVector<T>::resetDataDependentFlags(const 
facebook::velox::SelectivityVector*) [with T = facebook::velox::StringView]’:
   /usr/local/include/folly/Synchronized.h:1004:17: note: at offset -4 to 
object ‘folly::Synchronized<facebook::velox::SelectivityVector>::mutex_’ with 
size 4 declared here
    1004 |   mutable Mutex mutex_;
         |                 ^~~~~~
   In file included from 
/home/panning04/incubator-gluten/ep/build-velox/build/velox_ep/./velox/vector/BaseVector.h:37,
                    from 
/home/panning04/incubator-gluten/ep/build-velox/build/velox_ep/./velox/vector/arrow/Bridge.h:20,
                    from 
/home/panning04/incubator-gluten/ep/build-velox/build/velox_ep/velox/vector/arrow/Bridge.cpp:17:
   In member function ‘void facebook::velox::SelectivityVector::clearAll()’,
       inlined from ‘std::enable_if_t<is_same_v<U, 
facebook::velox::StringView>, void> 
facebook::velox::SimpleVector<T>::invalidateIsAscii() [with U = 
facebook::velox::StringView; T = facebook::velox::StringView]’ at 
/home/panning04/incubator-gluten/ep/build-velox/build/velox_ep/./velox/vector/SimpleVector.h:315:55,
       inlined from ‘void 
facebook::velox::SimpleVector<T>::resetDataDependentFlags(const 
facebook::velox::SelectivityVector*) [with T = facebook::velox::StringView]’ at 
/home/panning04/incubator-gluten/ep/build-velox/build/velox_ep/./velox/vector/SimpleVector.h:434:26:
   
/home/panning04/incubator-gluten/ep/build-velox/build/velox_ep/./velox/vector/SelectivityVector.h:163:18:
 error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
     163 |     allSelected_ = false;
         |     ~~~~~~~~~~~~~^~~~~~~
   In file included from 
/home/panning04/incubator-gluten/ep/build-velox/build/velox_ep/./velox/common/memory/Memory.h:27,
                    from 
/home/panning04/incubator-gluten/ep/build-velox/build/velox_ep/./velox/vector/arrow/Bridge.h:19,
                    from 
/home/panning04/incubator-gluten/ep/build-velox/build/velox_ep/velox/vector/arrow/Bridge.cpp:17:
   /usr/local/include/folly/Synchronized.h: In member function ‘void 
facebook::velox::SimpleVector<T>::resetDataDependentFlags(const 
facebook::velox::SelectivityVector*) [with T = facebook::velox::StringView]’:
   /usr/local/include/folly/Synchronized.h:1004:17: note: at offset -3 to 
object ‘folly::Synchronized<facebook::velox::SelectivityVector>::mutex_’ with 
size 4 declared here
    1004 |   mutable Mutex mutex_;
         |                 ^~~~~~
   cc1plus: all warnings being treated as errors
   [922/1563] Building CXX object 
_deps/duckdb-build/src/common/CMakeFiles/duckdb_common.dir/ub_duckdb_common.cpp.o
   ninja: build stopped: subcommand failed.
   make[1]: *** [Makefile:103: build] Error 1
   make[1]: Leaving directory 
'/home/panning04/incubator-gluten/ep/build-velox/build/velox_ep'
   make: *** [Makefile:110: release] Error 2
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to