Yohahaha opened a new issue, #5684:
URL: https://github.com/apache/incubator-gluten/issues/5684
### Problem description
Build velox with `make` is ok, but failed to run ./build-velox.sh.
```
[301/653] 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 /usr/lib64/ccache/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_DISABLE_GOOGLETEST -DVELOX_ENABLE_PARQUET -I../../.
-I../../velox/external/xxhash -I_deps/xsimd-src/include -isystem ../../velox
-isystem ../../velox/external -isystem /usr/include/libdwarf -Wno-missing-f
ield-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 -Wno-implicit-fallthrough -Wno-empty-body
-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 -fPIC
-fdiagnostics-color=always -std=gnu++17 -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
../../velox/vector/arro
w/Bridge.cpp
In file included from ../.././velox/vector/BaseVector.h:37,
from ../.././velox/vector/arrow/Bridge.h:20,
from ../../velox/vector/arrow/Bridge.cpp:17:
在成员函数‘void facebook::velox::SelectivityVector::clearAll()’中,
内联自‘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]’于 ../.././
velox/vector/SimpleVector.h:308:55,
内联自‘void facebook::velox::SimpleVector<T>::resetDataDependentFlags(const
facebook::velox::SelectivityVector*) [with T = facebook::velox::StringView]’于
../.././velox/vector/SimpleVector.h:427:26:
../.././velox/vector/SelectivityVector.h:159:18: 错误:writing 1 byte into a
region of size 0 [-Werror=stringop-overflow=]
159 | allSelected_ = false;
| ~~~~~~~~~~~~~^~~~~~~
In file included from ../.././velox/common/memory/Memory.h:27,
from ../.././velox/vector/arrow/Bridge.h:19,
from ../../velox/vector/arrow/Bridge.cpp:17:
/usr/local/include/folly/Synchronized.h: 在成员函数‘void
facebook::velox::SimpleVector<T>::resetDataDependentFlags(const
facebook::velox::SelectivityVector*) [with T = facebook::velox::StringView]’中:
/usr/local/include/folly/Synchronized.h:1008:17: 附注:at offset -4 to object
‘folly::Synchronized<facebook::velox::SelectivityVector>::mutex_’ with size 4
declared here
1008 | mutable Mutex mutex_;
| ^~~~~~
In file included from ../.././velox/vector/BaseVector.h:37,
from ../.././velox/vector/arrow/Bridge.h:20,
from ../../velox/vector/arrow/Bridge.cpp:17:
在成员函数‘void facebook::velox::SelectivityVector::clearAll()’中,
内联自‘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]’于 ../.././
velox/vector/SimpleVector.h:308:55,
内联自‘void facebook::velox::SimpleVector<T>::resetDataDependentFlags(const
facebook::velox::SelectivityVector*) [with T = facebook::velox::StringView]’于
../.././velox/vector/SimpleVector.h:427:26:
../.././velox/vector/SelectivityVector.h:159:18: 错误:writing 1 byte into a
region of size 0 [-Werror=stringop-overflow=]
159 | allSelected_ = false;
| ~~~~~~~~~~~~~^~~~~~~
In file included from ../.././velox/common/memory/Memory.h:27,
from ../.././velox/vector/arrow/Bridge.h:19,
from ../../velox/vector/arrow/Bridge.cpp:17:
/usr/local/include/folly/Synchronized.h: 在成员函数‘void
facebook::velox::SimpleVector<T>::resetDataDependentFlags(const
facebook::velox::SelectivityVector*) [with T = facebook::velox::StringView]’中:
/usr/local/include/folly/Synchronized.h:1008:17: 附注:at offset -3 to object
‘folly::Synchronized<facebook::velox::SelectivityVector>::mutex_’ with size 4
declared here
1008 | mutable Mutex mutex_;
| ^~~~~~
cc1plus:所有的警告都被当作是错误
```
### System information
n/a
### CMake log
_No response_
--
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]