You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@7c2161980cab:/opt/tendis/build# make -j12
[ 3%] Built target serialize
[ 3%] Built target snappy
[ 4%] Built target simplewriter
[ 4%] Built target prettyauto
[ 6%] Built target gflags_nothreads_static
[ 6%] Built target simpledom
[ 7%] Built target lz4_static
[ 7%] Built target capitalize
[ 7%] Built target simplereader
[ 7%] Built target gtest
[ 9%] Built target filterkey
[ 9%] Built target condense
[ 9%] Built target filterkeydom
[ 10%] Built target pretty
[ 10%] Built target messagereader
[ 10%] Built target lookaheadparser
[ 10%] Built target sortkeys
[ 10%] Built target schemavalidator
[ 10%] Built target parsebyparts
[ 10%] Built target tutorial
[ 10%] Built target simplepullreader
[ 10%] Built target archivertest
[ 10%] Built target jsonx
[ 16%] Built target lua
[ 18%] Built target build_jemalloc
[ 18%] Built target glog
[ 18%] Built target latency_record
[ 18%] Built target gflags_declare_test
[ 18%] Built target gflags_strip_flags_test
[ 20%] Built target gflags_unittest_main
[ 20%] Built target snappy_unittest
[ 20%] Built target lz4c
[ 20%] Built target time_util
[ 20%] Built target sync_point
[ 20%] Built target gflags_unittest
[ 20%] Built target gflags_unittest-main
[ 21%] Built target gmock
[ 23%] Built target lz4cli
[ 23%] Built target examples
[ 24%] Built target script
[ 24%] Built target gtest_main
[ 26%] Built target redis_port
[ 26%] Built target status
[ 26%] Built target pessimistic
[ 27%] Built target varint
[ 27%] Built target session_ctx
[ 27%] Built target gmock_main
[ 27%] Built target kvstore
[ 27%] Built target mgl
[ 27%] Built target atomic_utility_test
[ 27%] Built target varint_test
[ 29%] Built target status_test
[ 30%] Built target lock
[ 30%] Built target gc_mgr
[ 84%] Built target rocksdb
[ 86%] Built target utils_common
[ 86%] Built target mgl_test
[ 86%] Built target cluster_mgr
[ 86%] Built target utils_common_test
[ 86%] Built target record
[ 86%] Built target skiplist
[ 86%] Built target catalog
[ 86%] Built target record_test
[ 86%] Built target rocks_kvstore_for_test
[ 86%] Built target rocks_kvstore
[ 86%] Linking CXX executable ../../../bin/ldb_tendis
c++: error: unrecognized command-line option '-mno-avx'
c++: error: unrecognized command-line option '-mno-avx2'
make[2]: *** [src/tendisplus/tools/CMakeFiles/ldb_tendis.dir/build.make:114: bin/ldb_tendis] Error 1
make[1]: *** [CMakeFiles/Makefile2:4960: src/tendisplus/tools/CMakeFiles/ldb_tendis.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 87%] Built target migrate
make: *** [Makefile:171: all] Error 2
cmake .. 信息如下
compile optimize with lto
pgo_dir: /opt/tendis/pgo
/usr/local/bin/c++
using rocksdb-v8.5.3
error: db/compaction/compaction.cc: does not match index
error: db/compaction/compaction.h: does not match index
error: db/internal_stats.cc: does not match index
error: db/internal_stats.h: does not match index
error: db/version_set.cc: does not match index
error: db/version_set.h: does not match index
error: include/rocksdb/db.h: does not match index
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Applying: add statistic for sst file info
Patch failed at 0001 add statistic for sst file info
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
fatal: previous rebase directory /opt/tendis/.git/modules/src/thirdparty/rocksdb/rocksdb/rebase-apply still exists but mbox given.
COM_OPT_LTO is ON, we need jemalloc prof be false, otherwise the process will be hanged
CMake Warning at src/thirdparty/glog/CMakeLists.txt:51 (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.2.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.
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- No Doxygen found. Documentation won't be built
-- HAS_ARMV8_CRC yes
-- Could NOT find uring (missing: uring_LIBRARIES uring_INCLUDE_DIR)
-- Enabling RTTI in Debug builds only (default)
-- ROCKSDB_PLUGINS:
-- ROCKSDB PLUGINS TO BUILD
-- JNI library is disabled
CMAKE_BUILD_TYPE: RelWithDebInfo
CMAKE_CXX_FLAGS: -flto=auto -std=c++17 -g -fno-omit-frame-pointer -O2 -Wall -Wextra -Wno-error=class-memaccess -Wno-error=narrowing -Wno-error=format-truncation -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-missing-field-initializers -Wno-implicit-fallthrough -Wendif-labels -Wno-float-equal -Wformat=2 -Wframe-larger-than=69632 -Wmissing-include-dirs -Wpointer-arith -Wwrite-strings -Werror=char-subscripts -Werror=comments -Werror=conversion-null -Werror=empty-body -Werror=endif-labels -Werror=format -Werror=format-nonliteral -Werror=missing-include-dirs -Werror=overflow -Wno-error=parentheses -Werror=reorder -Werror=return-type -Werror=sequence-point -Werror=sign-compare -Werror=switch -Wno-error=type-limits -Werror=uninitialized -Wno-maybe-uninitialized -Werror=unused-function -Werror=unused-label -Werror=unused-result -Werror=unused-value -Werror=unused-variable -Werror=write-strings -Wno-invalid-offsetof -Wnon-virtual-dtor -Woverloaded-virtual -Wvla -Werror=non-virtual-dtor -Werror=overloaded-virtual -Werror=vla
CMAKE_CXX_FLAGS_RELEASE: -O3 -DNDEBUG
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/tendis/build
The text was updated successfully, but these errors were encountered:
错误信息如下
cmake .. 信息如下
The text was updated successfully, but these errors were encountered: