You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
CMake Warning:
Ignoring empty string ("") provided on the command line.
-- The CXX compiler identification is GNU 11.4.0
-- The C compiler identification is GNU 11.4.0
-- The ASM compiler identification is GNU
-- Found assembler: /usr/local/bin/gcc
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/local/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/local/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Warning at CMakeLists.txt:82 (message):
CMAKE_LIBRARY_ARCHITECTURE not set, assuming x86_64
-- 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
-- Found Boost: /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake (found suitable version "1.72.0", minimum required is "1.51.0") found components: context filesystem program_options regex system thread
-- Found DoubleConversion: /usr/lib64/libdouble-conversion.so
-- Found gflags from package config /usr/local/lib64/cmake/gflags/gflags-config.cmake
-- Found Glog: /usr/local/lib64/libglog.so
-- Found gflags as a dependency of glog::glog, include=/usr/local/include, libs=gflags_shared
-- Found libevent: /usr/lib64/libevent.so
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.7")
-- Found OpenSSL: /tmp/velox-deps/openssl/libcrypto.a (found suitable version "1.1.1s", minimum required is "1.1.1")
-- Looking for ASN1_TIME_diff
-- Looking for ASN1_TIME_diff - not found
-- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.6")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Looking for lzma_auto_decoder in /usr/lib64/liblzma.so
-- Looking for lzma_auto_decoder in /usr/lib64/liblzma.so - found
-- Looking for lzma_easy_encoder in /usr/lib64/liblzma.so
-- Looking for lzma_easy_encoder in /usr/lib64/liblzma.so - found
-- Looking for lzma_lzma_preset in /usr/lib64/liblzma.so
-- Looking for lzma_lzma_preset in /usr/lib64/liblzma.so - found
-- Found LibLZMA: /usr/lib64/liblzma.so (found version "5.2.2")
-- Found LZ4: /usr/lib64/liblz4.so
-- Found LZ4: /usr/lib64/liblz4.so
-- Found ZSTD: /usr/lib64/libzstd.so
-- Found Zstd: /usr/lib64/libzstd.so
-- Found SNAPPY: /usr/local/lib64/libsnappy.a
-- Found LIBDWARF: /usr/local/lib/libdwarf.a
-- Found LIBIBERTY: /usr/lib64/libiberty.a
-- Found LIBAIO: /usr/lib64/libaio.so
-- Found LIBURING: /usr/lib/liburing.so
-- Found LIBSODIUM: /usr/lib64/libsodium.so
-- Found Libsodium: /usr/lib64/libsodium.so
-- Found LIBUNWIND: /usr/lib64/libunwind.so
-- Looking for swapcontext
-- Looking for swapcontext - found
-- Looking for C++ include elf.h
-- Looking for C++ include elf.h - found
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /usr/include
-- Setting FOLLY_USE_SYMBOLIZER: ON
-- Setting FOLLY_HAVE_ELF: 1
-- Setting FOLLY_HAVE_DWARF: TRUE
-- Performing Test FOLLY_CPP_ATOMIC_BUILTIN
-- Performing Test FOLLY_CPP_ATOMIC_BUILTIN - Success
-- Performing Test FOLLY_STDLIB_LIBSTDCXX
-- Performing Test FOLLY_STDLIB_LIBSTDCXX - Success
-- Performing Test FOLLY_STDLIB_LIBSTDCXX_GE_9
-- Performing Test FOLLY_STDLIB_LIBSTDCXX_GE_9 - Success
-- Performing Test FOLLY_STDLIB_LIBCXX
-- Performing Test FOLLY_STDLIB_LIBCXX - Failed
-- Performing Test FOLLY_STDLIB_LIBCXX_GE_9
-- Performing Test FOLLY_STDLIB_LIBCXX_GE_9 - Failed
-- Performing Test FOLLY_STDLIB_LIBCPP
-- Performing Test FOLLY_STDLIB_LIBCPP - Failed
-- Looking for C++ include jemalloc/jemalloc.h
-- Looking for C++ include jemalloc/jemalloc.h - found
-- Performing Test COMPILER_HAS_UNKNOWN_WARNING_OPTION
-- Performing Test COMPILER_HAS_UNKNOWN_WARNING_OPTION - Failed
-- Performing Test COMPILER_HAS_W_SHADOW_LOCAL
-- Performing Test COMPILER_HAS_W_SHADOW_LOCAL - Success
-- Performing Test COMPILER_HAS_W_SHADOW_COMPATIBLE_LOCAL
-- Performing Test COMPILER_HAS_W_SHADOW_COMPATIBLE_LOCAL - Success
-- Performing Test COMPILER_HAS_W_NOEXCEPT_TYPE
-- Performing Test COMPILER_HAS_W_NOEXCEPT_TYPE - Success
-- Performing Test COMPILER_HAS_W_NULLABILITY_COMPLETENESS
-- Performing Test COMPILER_HAS_W_NULLABILITY_COMPLETENESS - Failed
-- Performing Test COMPILER_HAS_W_INCONSISTENT_MISSING_OVERRIDE
-- Performing Test COMPILER_HAS_W_INCONSISTENT_MISSING_OVERRIDE - Failed
-- Performing Test COMPILER_HAS_F_ALIGNED_NEW
-- Performing Test COMPILER_HAS_F_ALIGNED_NEW - Success
-- Performing Test COMPILER_HAS_F_OPENMP
-- Performing Test COMPILER_HAS_F_OPENMP - Success
-- Looking for pthread_atfork
-- Looking for pthread_atfork - found
-- Looking for accept4
-- Looking for accept4 - found
-- Looking for getrandom
-- Looking for getrandom - not found
-- Looking for preadv
-- Looking for preadv - found
-- Looking for pwritev
-- Looking for pwritev - found
-- Looking for clock_gettime
-- Looking for clock_gettime - found
-- Looking for pipe2
-- Looking for pipe2 - found
-- Looking for sendmmsg
-- Looking for sendmmsg - found
-- Looking for recvmmsg
-- Looking for recvmmsg - found
-- Looking for malloc_usable_size
-- Looking for malloc_usable_size - found
-- Performing Test FOLLY_HAVE_IFUNC
-- Performing Test FOLLY_HAVE_IFUNC - Success
-- Performing Test FOLLY_HAVE_STDIS_TRIVIALLY_COPYABLE
-- Performing Test FOLLY_HAVE_STDIS_TRIVIALLY_COPYABLE - Success
-- Performing Test FOLLY_HAVE_UNALIGNED_ACCESS
-- Performing Test FOLLY_HAVE_UNALIGNED_ACCESS - Success
-- Performing Test FOLLY_HAVE_VLA
-- Performing Test FOLLY_HAVE_VLA - Success
-- Performing Test FOLLY_HAVE_WEAK_SYMBOLS
-- Performing Test FOLLY_HAVE_WEAK_SYMBOLS - Success
-- Performing Test FOLLY_HAVE_LINUX_VDSO
-- Performing Test FOLLY_HAVE_LINUX_VDSO - Success
-- Performing Test FOLLY_HAVE_WCHAR_SUPPORT
-- Performing Test FOLLY_HAVE_WCHAR_SUPPORT - Success
-- Performing Test FOLLY_HAVE_EXTRANDOM_SFMT19937
-- Performing Test FOLLY_HAVE_EXTRANDOM_SFMT19937 - Success
-- Performing Test HAVE_VSNPRINTF_ERRORS
-- Performing Test HAVE_VSNPRINTF_ERRORS - Success
-- Performing Test GFLAGS_NAMESPACE_IS_GFLAGS
-- Performing Test GFLAGS_NAMESPACE_IS_GFLAGS - Success
-- Performing Test COMPILER_HAS_F_COROUTINES
-- Performing Test COMPILER_HAS_F_COROUTINES - Success
-- GCC has support for C++ coroutines, setting flag for Folly build.
-- arch matches x86_64, building SSE4.2 version of base64
-- arch matches x86_64, setting SSE2/AVX2 compile flags for LtHash SIMD code
-- Performing Test COMPILER_HAS_M_PCLMUL
-- Performing Test COMPILER_HAS_M_PCLMUL - Success
-- compiler has flag pclmul, setting compile flag for /tmp/velox-deps/folly/folly/hash/detail/ChecksumDetail.cpp;/tmp/velox-deps/folly/folly/hash/detail/Crc32CombineDetail.cpp;/tmp/velox-deps/folly/folly/hash/detail/Crc32cDetail.cpp
-- Configuring done (5.8s)
-- Generating done (0.0s)
CMake Warning:
Manually-specified variables were not used by the project:
BUILD_TESTING
-- Build files have been written to: /tmp/velox-deps/folly/_build
sudo ninja -C _build install
ninja: Entering directory `_build'
[73/316] Building CXX object CMakeFiles/folly_base.dir/folly/executors/TimedDrivableExecutor.cpp.o
In file included from /tmp/velox-deps/folly/folly/Executor.h:23,
from /tmp/velox-deps/folly/folly/executors/QueuedImmediateExecutor.h:21,
from /tmp/velox-deps/folly/folly/synchronization/HazptrDomain.h:24,
from /tmp/velox-deps/folly/folly/synchronization/Hazptr.h:20,
from /tmp/velox-deps/folly/folly/concurrency/UnboundedQueue.h:30,
from /tmp/velox-deps/folly/folly/executors/TimedDrivableExecutor.h:21,
from /tmp/velox-deps/folly/folly/executors/TimedDrivableExecutor.cpp:17:
In member function ‘std::size_t folly::Function::exec(folly::Function::Op, folly::Function::Data, folly::Function::Data) const [with FunctionType = void()]’,
inlined from ‘folly::Function::~Function() [with FunctionType = void()]’ at /tmp/velox-deps/folly/folly/Function.h:800:21,
inlined from ‘void folly::Optional::StorageNonTriviallyDestructible::clear() [with Value = folly::Function<void()>]’ at /tmp/velox-deps/folly/folly/Optional.h:462:21,
inlined from ‘void folly::Optional::StorageNonTriviallyDestructible::clear() [with Value = folly::Function<void()>]’ at /tmp/velox-deps/folly/folly/Optional.h:459:10,
inlined from ‘folly::Optional::StorageNonTriviallyDestructible::~StorageNonTriviallyDestructible() [with Value = folly::Function<void()>]’ at /tmp/velox-deps/folly/folly/Optional.h:457:47,
inlined from ‘folly::Optional<folly::Function<void()> >::~Optional()’ at /tmp/velox-deps/folly/folly/Optional.h:107:7,
inlined from ‘folly::Optional folly::UnboundedQueue<T, SingleProducer, SingleConsumer, MayBlock, LgSegmentSize, LgAlign, Atom>::tryDequeueUntilSC(folly::UnboundedQueue<T, SingleProducer, SingleConsumer, MayBlock, LgSegmentSize, LgAlign, Atom>::Segment, const std::chrono::time_point<_Clock, _Duration>&) [with Clock = std::chrono::_V2::steady_clock; Duration = std::chrono::duration<long int, std::ratio<1, 1000000000> >; T = folly::Function<void()>; bool SingleProducer = false; bool SingleConsumer = true; bool MayBlock = true; long unsigned int LgSegmentSize = 8; long unsigned int LgAlign = 7; Atom = std::atomic]’ at /tmp/velox-deps/folly/folly/concurrency/UnboundedQueue.h:454:3,
inlined from ‘folly::Optional folly::UnboundedQueue<T, SingleProducer, SingleConsumer, MayBlock, LgSegmentSize, LgAlign, Atom>::tryDequeueUntil(const std::chrono::time_point<_Clock, _Duration>&) [with Clock = std::chrono::_V2::steady_clock; Duration = std::chrono::duration<long int, std::ratio<1, 1000000000> >; T = folly::Function<void()>; bool SingleProducer = false; bool SingleConsumer = true; bool MayBlock = true; long unsigned int LgSegmentSize = 8; long unsigned int LgAlign = 7; Atom = std::atomic]’ at /tmp/velox-deps/folly/folly/concurrency/UnboundedQueue.h:425:43,
inlined from ‘folly::Optional folly::UnboundedQueue<T, SingleProducer, SingleConsumer, MayBlock, LgSegmentSize, LgAlign, Atom>::try_dequeue() [with T = folly::Function<void()>; bool SingleProducer = false; bool SingleConsumer = true; bool MayBlock = true; long unsigned int LgSegmentSize = 8; long unsigned int LgAlign = 7; Atom = std::atomic]’ at /tmp/velox-deps/folly/folly/concurrency/UnboundedQueue.h:285:72,
inlined from ‘bool folly::UnboundedQueue<T, SingleProducer, SingleConsumer, MayBlock, LgSegmentSize, LgAlign, Atom>::try_dequeue(T&) [with T = folly::Function<void()>; bool SingleProducer = false; bool SingleConsumer = true; bool MayBlock = true; long unsigned int LgSegmentSize = 8; long unsigned int LgAlign = 7; Atom = std::atomic]’ at /tmp/velox-deps/folly/folly/concurrency/UnboundedQueue.h:276:10,
inlined from ‘sizet folly::TimedDrivableExecutor::run()’ at /tmp/velox-deps/folly/folly/executors/TimedDrivableExecutor.cpp:58:41:
/tmp/velox-deps/folly/folly/Function.h:651:10: warning: ‘ret.folly::Optional<folly::Function<void()> >::storage.folly::Optional<folly::Function<void()> >::StorageNonTriviallyDestructible::.folly::Optional<folly::Function<void()> >::StorageNonTriviallyDestructible::._anon110::value.folly::Function<void()>::exec’ may be used uninitialized [-Wmaybe-uninitialized]
651 | if (!exec_) {
| ^~~~~
In file included from /tmp/velox-deps/folly/folly/executors/TimedDrivableExecutor.h:21,
from /tmp/velox-deps/folly/folly/executors/TimedDrivableExecutor.cpp:17:
/tmp/velox-deps/folly/folly/concurrency/UnboundedQueue.h: In member function ‘size_t folly::TimedDrivableExecutor::run()’:
/tmp/velox-deps/folly/folly/concurrency/UnboundedQueue.h:449:24: note: ‘ret’ declared here
449 | folly::Optional ret = e.takeItem();
| ^~~
In file included from /tmp/velox-deps/folly/folly/Executor.h:23,
from /tmp/velox-deps/folly/folly/executors/QueuedImmediateExecutor.h:21,
from /tmp/velox-deps/folly/folly/synchronization/HazptrDomain.h:24,
from /tmp/velox-deps/folly/folly/synchronization/Hazptr.h:20,
from /tmp/velox-deps/folly/folly/concurrency/UnboundedQueue.h:30,
from /tmp/velox-deps/folly/folly/executors/TimedDrivableExecutor.h:21,
from /tmp/velox-deps/folly/folly/executors/TimedDrivableExecutor.cpp:17:
In member function ‘std::size_t folly::Function::exec(folly::Function::Op, folly::Function::Data, folly::Function::Data) const [with FunctionType = void()]’,
inlined from ‘folly::Function::~Function() [with FunctionType = void()]’ at /tmp/velox-deps/folly/folly/Function.h:800:21,
inlined from ‘void folly::Optional::StorageNonTriviallyDestructible::clear() [with Value = folly::Function<void()>]’ at /tmp/velox-deps/folly/folly/Optional.h:462:21,
inlined from ‘void folly::Optional::StorageNonTriviallyDestructible::clear() [with Value = folly::Function<void()>]’ at /tmp/velox-deps/folly/folly/Optional.h:459:10,
inlined from ‘folly::Optional::StorageNonTriviallyDestructible::~StorageNonTriviallyDestructible() [with Value = folly::Function<void()>]’ at /tmp/velox-deps/folly/folly/Optional.h:457:47,
inlined from ‘folly::Optional<folly::Function<void()> >::~Optional()’ at /tmp/velox-deps/folly/folly/Optional.h:107:7,
inlined from ‘folly::Optional folly::UnboundedQueue<T, SingleProducer, SingleConsumer, MayBlock, LgSegmentSize, LgAlign, Atom>::tryDequeueUntilSC(folly::UnboundedQueue<T, SingleProducer, SingleConsumer, MayBlock, LgSegmentSize, LgAlign, Atom>::Segment, const std::chrono::time_point<_Clock, _Duration>&) [with Clock = std::chrono::_V2::steady_clock; Duration = std::chrono::duration<long int, std::ratio<1, 1000000000> >; T = folly::Function<void()>; bool SingleProducer = false; bool SingleConsumer = true; bool MayBlock = true; long unsigned int LgSegmentSize = 8; long unsigned int LgAlign = 7; Atom = std::atomic]’ at /tmp/velox-deps/folly/folly/concurrency/UnboundedQueue.h:454:3,
inlined from ‘folly::Optional folly::UnboundedQueue<T, SingleProducer, SingleConsumer, MayBlock, LgSegmentSize, LgAlign, Atom>::tryDequeueUntil(const std::chrono::time_point<_Clock, _Duration>&) [with Clock = std::chrono::_V2::steady_clock; Duration = std::chrono::duration<long int, std::ratio<1, 1000000000> >; T = folly::Function<void()>; bool SingleProducer = false; bool SingleConsumer = true; bool MayBlock = true; long unsigned int LgSegmentSize = 8; long unsigned int LgAlign = 7; Atom = std::atomic]’ at /tmp/velox-deps/folly/folly/concurrency/UnboundedQueue.h:425:43,
inlined from ‘folly::Optional folly::UnboundedQueue<T, SingleProducer, SingleConsumer, MayBlock, LgSegmentSize, LgAlign, Atom>::try_dequeue() [with T = folly::Function<void()>; bool SingleProducer = false; bool SingleConsumer = true; bool MayBlock = true; long unsigned int LgSegmentSize = 8; long unsigned int LgAlign = 7; Atom = std::atomic]’ at /tmp/velox-deps/folly/folly/concurrency/UnboundedQueue.h:285:72,
inlined from ‘bool folly::UnboundedQueue<T, SingleProducer, SingleConsumer, MayBlock, LgSegmentSize, LgAlign, Atom>::try_dequeue(T&) [with T = folly::Function<void()>; bool SingleProducer = false; bool SingleConsumer = true; bool MayBlock = true; long unsigned int LgSegmentSize = 8; long unsigned int LgAlign = 7; Atom = std::atomic]’ at /tmp/velox-deps/folly/folly/concurrency/UnboundedQueue.h:276:10,
inlined from ‘bool folly::TimedDrivableExecutor::try_wait()’ at /tmp/velox-deps/folly/folly/executors/TimedDrivableExecutor.cpp:83:37,
inlined from ‘bool folly::TimedDrivableExecutor::trywait()’ at /tmp/velox-deps/folly/folly/executors/TimedDrivableExecutor.cpp:82:6:
/tmp/velox-deps/folly/folly/Function.h:651:10: warning: ‘ret.folly::Optional<folly::Function<void()> >::storage.folly::Optional<folly::Function<void()> >::StorageNonTriviallyDestructible::.folly::Optional<folly::Function<void()> >::StorageNonTriviallyDestructible::._anon110::value.folly::Function<void()>::exec’ may be used uninitialized [-Wmaybe-uninitialized]
651 | if (!exec_) {
| ^~~~~
In file included from /tmp/velox-deps/folly/folly/executors/TimedDrivableExecutor.h:21,
from /tmp/velox-deps/folly/folly/executors/TimedDrivableExecutor.cpp:17:
/tmp/velox-deps/folly/folly/concurrency/UnboundedQueue.h: In member function ‘bool folly::TimedDrivableExecutor::try_wait()’:
/tmp/velox-deps/folly/folly/concurrency/UnboundedQueue.h:449:24: note: ‘ret’ declared here
449 | folly::Optional ret = e.takeItem();
| ^~~
[114/316] Building CXX object CMakeFiles/folly_base.dir/folly/experimental/io/AsyncIoUringSocket.cpp.o
FAILED: CMakeFiles/folly_base.dir/folly/experimental/io/AsyncIoUringSocket.cpp.o
/usr/local/bin/g++ -DBOOST_ALL_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DFMT_LOCALE -DFOLLY_XLOG_STRIP_PREFIXES=\"/tmp/velox-deps/folly:/tmp/velox-deps/folly/_build\" -DGFLAGS_IS_A_DLL=0 -D_GNU_SOURCE -D_REENTRANT -I/tmp/velox-deps/folly -I/tmp/velox-deps/folly/_build -I/tmp/velox-deps/openssl/include -march=native -std=c++17 -mno-avx512f -mbmi2 -O3 -DNDEBUG -g -Wall -Wextra -O3 -std=gnu++17 -fPIC -fcoroutines -g -std=gnu++1z -finput-charset=UTF-8 -fsigned-char -Wall -Wno-deprecated -Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wuninitialized -Wunused-label -Wunused-result -Wshadow-compatible-local -Wno-noexcept-type -faligned-new -fopenmp -MD -MT CMakeFiles/folly_base.dir/folly/experimental/io/AsyncIoUringSocket.cpp.o -MF CMakeFiles/folly_base.dir/folly/experimental/io/AsyncIoUringSocket.cpp.o.d -o CMakeFiles/folly_base.dir/folly/experimental/io/AsyncIoUringSocket.cpp.o -c /tmp/velox-deps/folly/folly/experimental/io/AsyncIoUringSocket.cpp
In file included from /tmp/velox-deps/folly/folly/experimental/io/AsyncIoUringSocket.h:30,
from /tmp/velox-deps/folly/folly/experimental/io/AsyncIoUringSocket.cpp:18:
/tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.h: In member function ‘bool folly::IoUringBackend::IoSqe::EventCallbackData::processCb(folly::IoUringBackend, int, uint32_t)’:
/tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.h:643:27: error: ‘IORING_CQE_F_MORE’ was not declared in this scope; did you mean ‘IORING_CQE_F_BUFFER’?
643 | if (!(flags & IORING_CQE_F_MORE)) {
| ^~~~~
| IORING_CQE_F_BUFFER
/tmp/velox-deps/folly/folly/experimental/io/AsyncIoUringSocket.cpp: In member function ‘void folly::AsyncIoUringSocket::closeProcessSubmit(io_uring_sqe)’:
/tmp/velox-deps/folly/folly/experimental/io/AsyncIoUringSocket.cpp:657:7: error: ‘::io_uring_prep_close_direct’ has not been declared; did you mean ‘io_uring_prep_connect’?
657 | ::io_uring_prep_closedirect(sqe, fdRegistered->idx_);
| ^~~~~~
| io_uring_prep_connect
[116/316] Building CXX object CMakeFiles/folly_base.dir/folly/experimental/io/IoUringBackend.cpp.o
FAILED: CMakeFiles/folly_base.dir/folly/experimental/io/IoUringBackend.cpp.o
/usr/local/bin/g++ -DBOOST_ALL_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DFMT_LOCALE -DFOLLY_XLOG_STRIP_PREFIXES=\"/tmp/velox-deps/folly:/tmp/velox-deps/folly/_build\" -DGFLAGS_IS_A_DLL=0 -D_GNU_SOURCE -D_REENTRANT -I/tmp/velox-deps/folly -I/tmp/velox-deps/folly/_build -I/tmp/velox-deps/openssl/include -march=native -std=c++17 -mno-avx512f -mbmi2 -O3 -DNDEBUG -g -Wall -Wextra -O3 -std=gnu++17 -fPIC -fcoroutines -g -std=gnu++1z -finput-charset=UTF-8 -fsigned-char -Wall -Wno-deprecated -Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wuninitialized -Wunused-label -Wunused-result -Wshadow-compatible-local -Wno-noexcept-type -faligned-new -fopenmp -MD -MT CMakeFiles/folly_base.dir/folly/experimental/io/IoUringBackend.cpp.o -MF CMakeFiles/folly_base.dir/folly/experimental/io/IoUringBackend.cpp.o.d -o CMakeFiles/folly_base.dir/folly/experimental/io/IoUringBackend.cpp.o -c /tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.cpp
In file included from /tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.cpp:26:
/tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.h: In member function ‘bool folly::IoUringBackend::IoSqe::EventCallbackData::processCb(folly::IoUringBackend, int, uint32_t)’:
/tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.h:643:27: error: ‘IORING_CQE_F_MORE’ was not declared in this scope; did you mean ‘IORING_CQE_F_BUFFER’?
643 | if (!(flags & IORING_CQE_F_MORE)) {
| ^~~~~
| IORING_CQE_F_BUFFER
/tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.cpp: In member function ‘void folly::IoUringBackend::IoSqeBase::internalCallback(int, uint32_t)’:
/tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.cpp:692:17: error: ‘IORING_CQE_F_MORE’ was not declared in this scope; did you mean ‘IORING_CQE_F_BUFFER’?
692 | if (!(flags & IORING_CQE_F_MORE)) {
| ^~~~~
| IORING_CQE_F_BUFFER
/tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.cpp: In member function ‘void folly::IoUringBackend::processPollIo(folly::IoUringBackend::IoSqe, int64_t, uint32_t)’:
/tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.cpp:1166:17: error: ‘IORING_CQE_F_MORE’ was not declared in this scope; did you mean ‘IORING_CQE_F_BUFFER’?
1166 | if (flags & IORING_CQE_F_MORE) {
| ^~~~~
| IORING_CQE_F_BUFFER
/tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.cpp: In member function ‘void folly::IoUringBackend::cancel(folly::IoUringBackend::IoSqeBase)’:
/tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.cpp:1531:3: error: ‘io_uring_prep_cancel64’ was not declared in this scope; did you mean ‘io_uring_prep_cancel’?
1531 | io_uring_prep_cancel64(sqe, (uint64_t)ioSqe, 0);
| ^~~~~~
| io_uring_prep_cancel
/tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.cpp: In member function ‘unsigned int folly::IoUringBackend::internalProcessCqe(unsigned int, bool)’:
/tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.cpp:1655:24: error: ‘IORING_CQE_F_MORE’ was not declared in this scope; did you mean ‘IORING_CQE_F_BUFFER’?
1655 | if (cqe->flags & IORING_CQE_F_MORE) {
| ^~~~~
| IORING_CQE_F_BUFFER
[118/316] Building CXX object CMakeFiles/folly_base.dir/folly/experimental/io/IoUringEvent.cpp.o
FAILED: CMakeFiles/folly_base.dir/folly/experimental/io/IoUringEvent.cpp.o
/usr/local/bin/g++ -DBOOST_ALL_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DFMT_LOCALE -DFOLLY_XLOG_STRIP_PREFIXES=\"/tmp/velox-deps/folly:/tmp/velox-deps/folly/_build\" -DGFLAGS_IS_A_DLL=0 -D_GNU_SOURCE -D_REENTRANT -I/tmp/velox-deps/folly -I/tmp/velox-deps/folly/_build -I/tmp/velox-deps/openssl/include -march=native -std=c++17 -mno-avx512f -mbmi2 -O3 -DNDEBUG -g -Wall -Wextra -O3 -std=gnu++17 -fPIC -fcoroutines -g -std=gnu++1z -finput-charset=UTF-8 -fsigned-char -Wall -Wno-deprecated -Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wuninitialized -Wunused-label -Wunused-result -Wshadow-compatible-local -Wno-noexcept-type -faligned-new -fopenmp -MD -MT CMakeFiles/folly_base.dir/folly/experimental/io/IoUringEvent.cpp.o -MF CMakeFiles/folly_base.dir/folly/experimental/io/IoUringEvent.cpp.o.d -o CMakeFiles/folly_base.dir/folly/experimental/io/IoUringEvent.cpp.o -c /tmp/velox-deps/folly/folly/experimental/io/IoUringEvent.cpp
In file included from /tmp/velox-deps/folly/folly/experimental/io/IoUringEvent.h:20,
from /tmp/velox-deps/folly/folly/experimental/io/IoUringEvent.cpp:17:
/tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.h: In member function ‘bool folly::IoUringBackend::IoSqe::EventCallbackData::processCb(folly::IoUringBackend, int, uint32_t)’:
/tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.h:643:27: error: ‘IORING_CQE_F_MORE’ was not declared in this scope; did you mean ‘IORING_CQE_F_BUFFER’?
643 | if (!(flags & IORING_CQE_F_MORE)) {
| ^~~~~
| IORING_CQE_F_BUFFER
[124/316] Building CXX object CMakeFiles/folly_base.dir/folly/experimental/io/IoUringEventBaseLocal.cpp.o
FAILED: CMakeFiles/folly_base.dir/folly/experimental/io/IoUringEventBaseLocal.cpp.o
/usr/local/bin/g++ -DBOOST_ALL_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DFMT_LOCALE -DFOLLY_XLOG_STRIP_PREFIXES=\"/tmp/velox-deps/folly:/tmp/velox-deps/folly/_build\" -DGFLAGS_IS_A_DLL=0 -D_GNU_SOURCE -D_REENTRANT -I/tmp/velox-deps/folly -I/tmp/velox-deps/folly/_build -I/tmp/velox-deps/openssl/include -march=native -std=c++17 -mno-avx512f -mbmi2 -O3 -DNDEBUG -g -Wall -Wextra -O3 -std=gnu++17 -fPIC -fcoroutines -g -std=gnu++1z -finput-charset=UTF-8 -fsigned-char -Wall -Wno-deprecated -Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wuninitialized -Wunused-label -Wunused-result -Wshadow-compatible-local -Wno-noexcept-type -faligned-new -fopenmp -MD -MT CMakeFiles/folly_base.dir/folly/experimental/io/IoUringEventBaseLocal.cpp.o -MF CMakeFiles/folly_base.dir/folly/experimental/io/IoUringEventBaseLocal.cpp.o.d -o CMakeFiles/folly_base.dir/folly/experimental/io/IoUringEventBaseLocal.cpp.o -c /tmp/velox-deps/folly/folly/experimental/io/IoUringEventBaseLocal.cpp
In file included from /tmp/velox-deps/folly/folly/experimental/io/IoUringEvent.h:20,
from /tmp/velox-deps/folly/folly/experimental/io/IoUringEventBaseLocal.cpp:18:
/tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.h: In member function ‘bool folly::IoUringBackend::IoSqe::EventCallbackData::processCb(folly::IoUringBackend, int, uint32_t)’:
/tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.h:643:27: error: ‘IORING_CQE_F_MORE’ was not declared in this scope; did you mean ‘IORING_CQE_F_BUFFER’?
643 | if (!(flags & IORING_CQE_F_MORE)) {
| ^~~~~
| IORING_CQE_F_BUFFER
[131/316] Building CXX object CMakeFiles/folly_base.dir/folly/experimental/observer/detail/ObserverManager.cpp.o
In file included from /tmp/velox-deps/folly/folly/experimental/observer/detail/Core.h:19,
from /tmp/velox-deps/folly/folly/experimental/observer/detail/ObserverManager.h:22,
from /tmp/velox-deps/folly/folly/experimental/observer/detail/ObserverManager.cpp:17:
In member function ‘std::size_t folly::Function::exec(folly::Function::Op, folly::Function::Data, folly::Function::Data) const [with FunctionType = std::shared_ptr()]’,
inlined from ‘folly::Function::~Function() [with FunctionType = std::shared_ptr()]’ at /tmp/velox-deps/folly/folly/Function.h:800:21,
inlined from ‘void folly::Optional::StorageNonTriviallyDestructible::clear() [with Value = folly::Function<std::shared_ptr()>]’ at /tmp/velox-deps/folly/folly/Optional.h:462:21,
inlined from ‘void folly::Optional::StorageNonTriviallyDestructible::clear() [with Value = folly::Function<std::shared_ptr()>]’ at /tmp/velox-deps/folly/folly/Optional.h:459:10,
inlined from ‘folly::Optional::StorageNonTriviallyDestructible::~StorageNonTriviallyDestructible() [with Value = folly::Function<std::shared_ptr()>]’ at /tmp/velox-deps/folly/folly/Optional.h:457:47,
inlined from ‘folly::Optional<folly::Function<std::shared_ptr()> >::~Optional()’ at /tmp/velox-deps/folly/folly/Optional.h:107:7,
inlined from ‘folly::Optional folly::UnboundedQueue<T, SingleProducer, SingleConsumer, MayBlock, LgSegmentSize, LgAlign, Atom>::tryDequeueUntilSC(folly::UnboundedQueue<T, SingleProducer, SingleConsumer, MayBlock, LgSegmentSize, LgAlign, Atom>::Segment, const std::chrono::time_point<_Clock, _Duration>&) [with Clock = std::chrono::_V2::steady_clock; Duration = std::chrono::duration<long int, std::ratio<1, 1000000000> >; T = folly::Function<std::shared_ptr()>; bool SingleProducer = false; bool SingleConsumer = true; bool MayBlock = true; long unsigned int LgSegmentSize = 8; long unsigned int LgAlign = 7; Atom = std::atomic]’ at /tmp/velox-deps/folly/folly/concurrency/UnboundedQueue.h:454:3,
inlined from ‘folly::Optional folly::UnboundedQueue<T, SingleProducer, SingleConsumer, MayBlock, LgSegmentSize, LgAlign, Atom>::tryDequeueUntil(const std::chrono::time_point<_Clock, _Duration>&) [with Clock = std::chrono::_V2::steady_clock; Duration = std::chrono::duration<long int, std::ratio<1, 1000000000> >; T = folly::Function<std::shared_ptr()>; bool SingleProducer = false; bool SingleConsumer = true; bool MayBlock = true; long unsigned int LgSegmentSize = 8; long unsigned int LgAlign = 7; Atom = std::atomic]’ at /tmp/velox-deps/folly/folly/concurrency/UnboundedQueue.h:425:43,
inlined from ‘folly::Optional folly::UnboundedQueue<T, SingleProducer, SingleConsumer, MayBlock, LgSegmentSize, LgAlign, Atom>::try_dequeue() [with T = folly::Function<std::shared_ptr()>; bool SingleProducer = false; bool SingleConsumer = true; bool MayBlock = true; long unsigned int LgSegmentSize = 8; long unsigned int LgAlign = 7; Atom = std::atomic]’ at /tmp/velox-deps/folly/folly/concurrency/UnboundedQueue.h:285:72,
inlined from ‘bool folly::UnboundedQueue<T, SingleProducer, SingleConsumer, MayBlock, LgSegmentSize, LgAlign, Atom>::try_dequeue(T&) [with T = folly::Function<std::shared_ptr()>; bool SingleProducer = false; bool SingleConsumer = true; bool MayBlock = true; long unsigned int LgSegmentSize = 8; long unsigned int LgAlign = 7; Atom = std::atomic]’ at /tmp/velox-deps/folly/folly/concurrency/UnboundedQueue.h:276:10,
inlined from ‘folly::observer_detail::ObserverManager::UpdatesManager::NextQueueProcessor::NextQueueProcessor()::<lambda()>’ at /tmp/velox-deps/folly/folly/experimental/observer/detail/ObserverManager.cpp:125:36:
/tmp/velox-deps/folly/folly/Function.h:651:10: warning: ‘ret.folly::Optional<folly::Function<std::shared_ptr()> >::storage_.folly::Optional<folly::Function<std::shared_ptr()> >::StorageNonTriviallyDestructible::.folly::Optional<folly::Function<std::shared_ptr()> >::StorageNonTriviallyDestructible::._anon_150::value.folly::Function<std::shared_ptr()>::exec’ may be used uninitialized [-Wmaybe-uninitialized]
651 | if (!exec) {
| ^~~~~
In file included from /tmp/velox-deps/folly/folly/executors/TimedDrivableExecutor.h:21,
from /tmp/velox-deps/folly/folly/futures/Future.h:34,
from /tmp/velox-deps/folly/folly/experimental/observer/detail/Core.h:21,
from /tmp/velox-deps/folly/folly/experimental/observer/detail/ObserverManager.h:22,
from /tmp/velox-deps/folly/folly/experimental/observer/detail/ObserverManager.cpp:17:
/tmp/velox-deps/folly/folly/concurrency/UnboundedQueue.h: In lambda function:
/tmp/velox-deps/folly/folly/concurrency/UnboundedQueue.h:449:24: note: ‘ret’ declared here
449 | folly::Optional ret = e.takeItem();
| ^~~
ninja: build stopped: subcommand failed.
The error here appears to be related to using an older version of iouring than we're using internally. Do you know which version you're trying to compile against?
centos7, Why does the build fail? lz4 version issue?
You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
CMake Warning: Ignoring empty string ("") provided on the command line.
-- The CXX compiler identification is GNU 11.4.0 -- The C compiler identification is GNU 11.4.0 -- The ASM compiler identification is GNU -- Found assembler: /usr/local/bin/gcc -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/local/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/local/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done CMake Warning at CMakeLists.txt:82 (message): CMAKE_LIBRARY_ARCHITECTURE not set, assuming x86_64
-- 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
-- Found Boost: /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake (found suitable version "1.72.0", minimum required is "1.51.0") found components: context filesystem program_options regex system thread -- Found DoubleConversion: /usr/lib64/libdouble-conversion.so
-- Found gflags from package config /usr/local/lib64/cmake/gflags/gflags-config.cmake -- Found Glog: /usr/local/lib64/libglog.so
-- Found gflags as a dependency of glog::glog, include=/usr/local/include, libs=gflags_shared -- Found libevent: /usr/lib64/libevent.so -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.7")
-- Found OpenSSL: /tmp/velox-deps/openssl/libcrypto.a (found suitable version "1.1.1s", minimum required is "1.1.1")
-- Looking for ASN1_TIME_diff -- Looking for ASN1_TIME_diff - not found -- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.6") -- Looking for BZ2_bzCompressInit -- Looking for BZ2_bzCompressInit - found -- Looking for lzma_auto_decoder in /usr/lib64/liblzma.so -- Looking for lzma_auto_decoder in /usr/lib64/liblzma.so - found -- Looking for lzma_easy_encoder in /usr/lib64/liblzma.so -- Looking for lzma_easy_encoder in /usr/lib64/liblzma.so - found -- Looking for lzma_lzma_preset in /usr/lib64/liblzma.so -- Looking for lzma_lzma_preset in /usr/lib64/liblzma.so - found -- Found LibLZMA: /usr/lib64/liblzma.so (found version "5.2.2") -- Found LZ4: /usr/lib64/liblz4.so
-- Found LZ4: /usr/lib64/liblz4.so -- Found ZSTD: /usr/lib64/libzstd.so
-- Found Zstd: /usr/lib64/libzstd.so -- Found SNAPPY: /usr/local/lib64/libsnappy.a
-- Found LIBDWARF: /usr/local/lib/libdwarf.a
-- Found LIBIBERTY: /usr/lib64/libiberty.a
-- Found LIBAIO: /usr/lib64/libaio.so
-- Found LIBURING: /usr/lib/liburing.so
-- Found LIBSODIUM: /usr/lib64/libsodium.so
-- Found Libsodium: /usr/lib64/libsodium.so -- Found LIBUNWIND: /usr/lib64/libunwind.so
-- Looking for swapcontext -- Looking for swapcontext - found -- Looking for C++ include elf.h -- Looking for C++ include elf.h - found -- Looking for backtrace -- Looking for backtrace - found -- backtrace facility detected in default set of libraries -- Found Backtrace: /usr/include
-- Setting FOLLY_USE_SYMBOLIZER: ON -- Setting FOLLY_HAVE_ELF: 1 -- Setting FOLLY_HAVE_DWARF: TRUE -- Performing Test FOLLY_CPP_ATOMIC_BUILTIN -- Performing Test FOLLY_CPP_ATOMIC_BUILTIN - Success -- Performing Test FOLLY_STDLIB_LIBSTDCXX -- Performing Test FOLLY_STDLIB_LIBSTDCXX - Success -- Performing Test FOLLY_STDLIB_LIBSTDCXX_GE_9 -- Performing Test FOLLY_STDLIB_LIBSTDCXX_GE_9 - Success -- Performing Test FOLLY_STDLIB_LIBCXX -- Performing Test FOLLY_STDLIB_LIBCXX - Failed -- Performing Test FOLLY_STDLIB_LIBCXX_GE_9 -- Performing Test FOLLY_STDLIB_LIBCXX_GE_9 - Failed -- Performing Test FOLLY_STDLIB_LIBCPP -- Performing Test FOLLY_STDLIB_LIBCPP - Failed -- Looking for C++ include jemalloc/jemalloc.h -- Looking for C++ include jemalloc/jemalloc.h - found -- Performing Test COMPILER_HAS_UNKNOWN_WARNING_OPTION -- Performing Test COMPILER_HAS_UNKNOWN_WARNING_OPTION - Failed -- Performing Test COMPILER_HAS_W_SHADOW_LOCAL -- Performing Test COMPILER_HAS_W_SHADOW_LOCAL - Success -- Performing Test COMPILER_HAS_W_SHADOW_COMPATIBLE_LOCAL -- Performing Test COMPILER_HAS_W_SHADOW_COMPATIBLE_LOCAL - Success -- Performing Test COMPILER_HAS_W_NOEXCEPT_TYPE -- Performing Test COMPILER_HAS_W_NOEXCEPT_TYPE - Success -- Performing Test COMPILER_HAS_W_NULLABILITY_COMPLETENESS -- Performing Test COMPILER_HAS_W_NULLABILITY_COMPLETENESS - Failed -- Performing Test COMPILER_HAS_W_INCONSISTENT_MISSING_OVERRIDE -- Performing Test COMPILER_HAS_W_INCONSISTENT_MISSING_OVERRIDE - Failed -- Performing Test COMPILER_HAS_F_ALIGNED_NEW -- Performing Test COMPILER_HAS_F_ALIGNED_NEW - Success -- Performing Test COMPILER_HAS_F_OPENMP -- Performing Test COMPILER_HAS_F_OPENMP - Success -- Looking for pthread_atfork -- Looking for pthread_atfork - found -- Looking for accept4 -- Looking for accept4 - found -- Looking for getrandom -- Looking for getrandom - not found -- Looking for preadv -- Looking for preadv - found -- Looking for pwritev -- Looking for pwritev - found -- Looking for clock_gettime -- Looking for clock_gettime - found -- Looking for pipe2 -- Looking for pipe2 - found -- Looking for sendmmsg -- Looking for sendmmsg - found -- Looking for recvmmsg -- Looking for recvmmsg - found -- Looking for malloc_usable_size -- Looking for malloc_usable_size - found -- Performing Test FOLLY_HAVE_IFUNC -- Performing Test FOLLY_HAVE_IFUNC - Success -- Performing Test FOLLY_HAVE_STDIS_TRIVIALLY_COPYABLE -- Performing Test FOLLY_HAVE_STDIS_TRIVIALLY_COPYABLE - Success -- Performing Test FOLLY_HAVE_UNALIGNED_ACCESS -- Performing Test FOLLY_HAVE_UNALIGNED_ACCESS - Success -- Performing Test FOLLY_HAVE_VLA -- Performing Test FOLLY_HAVE_VLA - Success -- Performing Test FOLLY_HAVE_WEAK_SYMBOLS -- Performing Test FOLLY_HAVE_WEAK_SYMBOLS - Success -- Performing Test FOLLY_HAVE_LINUX_VDSO -- Performing Test FOLLY_HAVE_LINUX_VDSO - Success -- Performing Test FOLLY_HAVE_WCHAR_SUPPORT -- Performing Test FOLLY_HAVE_WCHAR_SUPPORT - Success -- Performing Test FOLLY_HAVE_EXTRANDOM_SFMT19937 -- Performing Test FOLLY_HAVE_EXTRANDOM_SFMT19937 - Success -- Performing Test HAVE_VSNPRINTF_ERRORS -- Performing Test HAVE_VSNPRINTF_ERRORS - Success -- Performing Test GFLAGS_NAMESPACE_IS_GFLAGS -- Performing Test GFLAGS_NAMESPACE_IS_GFLAGS - Success -- Performing Test COMPILER_HAS_F_COROUTINES -- Performing Test COMPILER_HAS_F_COROUTINES - Success -- GCC has support for C++ coroutines, setting flag for Folly build. -- arch matches x86_64, building SSE4.2 version of base64 -- arch matches x86_64, setting SSE2/AVX2 compile flags for LtHash SIMD code -- Performing Test COMPILER_HAS_M_PCLMUL -- Performing Test COMPILER_HAS_M_PCLMUL - Success -- compiler has flag pclmul, setting compile flag for /tmp/velox-deps/folly/folly/hash/detail/ChecksumDetail.cpp;/tmp/velox-deps/folly/folly/hash/detail/Crc32CombineDetail.cpp;/tmp/velox-deps/folly/folly/hash/detail/Crc32cDetail.cpp -- Configuring done (5.8s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project:
-- Build files have been written to: /tmp/velox-deps/folly/_build
~~~~ | IORING_CQE_F_BUFFER /tmp/velox-deps/folly/folly/experimental/io/AsyncIoUringSocket.cpp: In member function ‘void folly::AsyncIoUringSocket::closeProcessSubmit(io_uring_sqe)’: /tmp/velox-deps/folly/folly/experimental/io/AsyncIoUringSocket.cpp:657:7: error: ‘::io_uring_prep_close_direct’ has not been declared; did you mean ‘io_uring_prep_connect’? 657 | ::io_uring_prep_closedirect(sqe, fdRegistered->idx_); | ^~~~~~| io_uring_prep_connect [116/316] Building CXX object CMakeFiles/folly_base.dir/folly/experimental/io/IoUringBackend.cpp.o FAILED: CMakeFiles/folly_base.dir/folly/experimental/io/IoUringBackend.cpp.o /usr/local/bin/g++ -DBOOST_ALL_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DFMT_LOCALE -DFOLLY_XLOG_STRIP_PREFIXES=\"/tmp/velox-deps/folly:/tmp/velox-deps/folly/_build\" -DGFLAGS_IS_A_DLL=0 -D_GNU_SOURCE -D_REENTRANT -I/tmp/velox-deps/folly -I/tmp/velox-deps/folly/_build -I/tmp/velox-deps/openssl/include -march=native -std=c++17 -mno-avx512f -mbmi2 -O3 -DNDEBUG -g -Wall -Wextra -O3 -std=gnu++17 -fPIC -fcoroutines -g -std=gnu++1z -finput-charset=UTF-8 -fsigned-char -Wall -Wno-deprecated -Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wuninitialized -Wunused-label -Wunused-result -Wshadow-compatible-local -Wno-noexcept-type -faligned-new -fopenmp -MD -MT CMakeFiles/folly_base.dir/folly/experimental/io/IoUringBackend.cpp.o -MF CMakeFiles/folly_base.dir/folly/experimental/io/IoUringBackend.cpp.o.d -o CMakeFiles/folly_base.dir/folly/experimental/io/IoUringBackend.cpp.o -c /tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.cpp In file included from /tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.cpp:26: /tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.h: In member function ‘bool folly::IoUringBackend::IoSqe::EventCallbackData::processCb(folly::IoUringBackend, int, uint32_t)’: /tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.h:643:27: error: ‘IORING_CQE_F_MORE’ was not declared in this scope; did you mean ‘IORING_CQE_F_BUFFER’? 643 | if (!(flags & IORING_CQE_F_MORE)) { | ^~~~~ | IORING_CQE_F_BUFFER /tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.cpp: In member function ‘void folly::IoUringBackend::IoSqeBase::internalCallback(int, uint32_t)’: /tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.cpp:692:17: error: ‘IORING_CQE_F_MORE’ was not declared in this scope; did you mean ‘IORING_CQE_F_BUFFER’? 692 | if (!(flags & IORING_CQE_F_MORE)) { | ^~~~~ | IORING_CQE_F_BUFFER /tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.cpp: In member function ‘void folly::IoUringBackend::processPollIo(folly::IoUringBackend::IoSqe, int64_t, uint32_t)’: /tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.cpp:1166:17: error: ‘IORING_CQE_F_MORE’ was not declared in this scope; did you mean ‘IORING_CQE_F_BUFFER’? 1166 | if (flags & IORING_CQE_F_MORE) { | ^~~~~ | IORING_CQE_F_BUFFER /tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.cpp: In member function ‘void folly::IoUringBackend::cancel(folly::IoUringBackend::IoSqeBase)’: /tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.cpp:1531:3: error: ‘io_uring_prep_cancel64’ was not declared in this scope; did you mean ‘io_uring_prep_cancel’? 1531 | io_uring_prep_cancel64(sqe, (uint64_t)ioSqe, 0); | ^~~~~~ | io_uring_prep_cancel /tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.cpp: In member function ‘unsigned int folly::IoUringBackend::internalProcessCqe(unsigned int, bool)’: /tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.cpp:1655:24: error: ‘IORING_CQE_F_MORE’ was not declared in this scope; did you mean ‘IORING_CQE_F_BUFFER’? 1655 | if (cqe->flags & IORING_CQE_F_MORE) { | ^~~~~ | IORING_CQE_F_BUFFER [118/316] Building CXX object CMakeFiles/folly_base.dir/folly/experimental/io/IoUringEvent.cpp.o FAILED: CMakeFiles/folly_base.dir/folly/experimental/io/IoUringEvent.cpp.o /usr/local/bin/g++ -DBOOST_ALL_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DFMT_LOCALE -DFOLLY_XLOG_STRIP_PREFIXES=\"/tmp/velox-deps/folly:/tmp/velox-deps/folly/_build\" -DGFLAGS_IS_A_DLL=0 -D_GNU_SOURCE -D_REENTRANT -I/tmp/velox-deps/folly -I/tmp/velox-deps/folly/_build -I/tmp/velox-deps/openssl/include -march=native -std=c++17 -mno-avx512f -mbmi2 -O3 -DNDEBUG -g -Wall -Wextra -O3 -std=gnu++17 -fPIC -fcoroutines -g -std=gnu++1z -finput-charset=UTF-8 -fsigned-char -Wall -Wno-deprecated -Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wuninitialized -Wunused-label -Wunused-result -Wshadow-compatible-local -Wno-noexcept-type -faligned-new -fopenmp -MD -MT CMakeFiles/folly_base.dir/folly/experimental/io/IoUringEvent.cpp.o -MF CMakeFiles/folly_base.dir/folly/experimental/io/IoUringEvent.cpp.o.d -o CMakeFiles/folly_base.dir/folly/experimental/io/IoUringEvent.cpp.o -c /tmp/velox-deps/folly/folly/experimental/io/IoUringEvent.cpp In file included from /tmp/velox-deps/folly/folly/experimental/io/IoUringEvent.h:20, from /tmp/velox-deps/folly/folly/experimental/io/IoUringEvent.cpp:17: /tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.h: In member function ‘bool folly::IoUringBackend::IoSqe::EventCallbackData::processCb(folly::IoUringBackend, int, uint32_t)’: /tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.h:643:27: error: ‘IORING_CQE_F_MORE’ was not declared in this scope; did you mean ‘IORING_CQE_F_BUFFER’? 643 | if (!(flags & IORING_CQE_F_MORE)) { | ^~~~~ | IORING_CQE_F_BUFFER [124/316] Building CXX object CMakeFiles/folly_base.dir/folly/experimental/io/IoUringEventBaseLocal.cpp.o FAILED: CMakeFiles/folly_base.dir/folly/experimental/io/IoUringEventBaseLocal.cpp.o /usr/local/bin/g++ -DBOOST_ALL_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DFMT_LOCALE -DFOLLY_XLOG_STRIP_PREFIXES=\"/tmp/velox-deps/folly:/tmp/velox-deps/folly/_build\" -DGFLAGS_IS_A_DLL=0 -D_GNU_SOURCE -D_REENTRANT -I/tmp/velox-deps/folly -I/tmp/velox-deps/folly/_build -I/tmp/velox-deps/openssl/include -march=native -std=c++17 -mno-avx512f -mbmi2 -O3 -DNDEBUG -g -Wall -Wextra -O3 -std=gnu++17 -fPIC -fcoroutines -g -std=gnu++1z -finput-charset=UTF-8 -fsigned-char -Wall -Wno-deprecated -Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wuninitialized -Wunused-label -Wunused-result -Wshadow-compatible-local -Wno-noexcept-type -faligned-new -fopenmp -MD -MT CMakeFiles/folly_base.dir/folly/experimental/io/IoUringEventBaseLocal.cpp.o -MF CMakeFiles/folly_base.dir/folly/experimental/io/IoUringEventBaseLocal.cpp.o.d -o CMakeFiles/folly_base.dir/folly/experimental/io/IoUringEventBaseLocal.cpp.o -c /tmp/velox-deps/folly/folly/experimental/io/IoUringEventBaseLocal.cpp In file included from /tmp/velox-deps/folly/folly/experimental/io/IoUringEvent.h:20, from /tmp/velox-deps/folly/folly/experimental/io/IoUringEventBaseLocal.cpp:18: /tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.h: In member function ‘bool folly::IoUringBackend::IoSqe::EventCallbackData::processCb(folly::IoUringBackend, int, uint32_t)’: /tmp/velox-deps/folly/folly/experimental/io/IoUringBackend.h:643:27: error: ‘IORING_CQE_F_MORE’ was not declared in this scope; did you mean ‘IORING_CQE_F_BUFFER’? 643 | if (!(flags & IORING_CQE_F_MORE)) { | ^~~~~ | IORING_CQE_F_BUFFER [131/316] Building CXX object CMakeFiles/folly_base.dir/folly/experimental/observer/detail/ObserverManager.cpp.o In file included from /tmp/velox-deps/folly/folly/experimental/observer/detail/Core.h:19, from /tmp/velox-deps/folly/folly/experimental/observer/detail/ObserverManager.h:22, from /tmp/velox-deps/folly/folly/experimental/observer/detail/ObserverManager.cpp:17: In member function ‘std::size_t folly::Function