ndk -- r22b
python -- 2.7.16
cmake -- 3.18.1-g262b901
Enter menu:
- Clean && build mars.
- Build incrementally mars.
- Clean && build xlog.
- Exit
3
ndk path:/Users/KevinDing/Coding/SDK/android-sdk-macosx/ndk/android-ndk-r22b
==BUILD_DESCRIPTION==Revision: 44611e1 .description table { margin: 10px 0 15px 0; border-collapse: collapse; font-family: Helvetica, "Hiragino Sans GB", Arial, sans-serif; font-size: 11px; line-height: 16px; color: #737373; background-color: white; margin: 10px 12px 10px 12px;}.description td,th { border: 1px solid #ddd; padding: 3px 10px; }.description th { padding: 5px 10px; }.description a { color: #0069d6; }.description a:hover { color: #0050a3; text-decoration: none; }.description h5 { font-size: 14px; }
PublicComponent
KEY | VALUE |
---|---|
Branch | master |
BuildTag | |
BuildTime | 2021-06-08 09:23:12 |
Revision | 44611e1 |
build cmd:cmake "/Users/KevinDing/Downloads/mars-master/mars" -DANDROID_ABI="armeabi-v7a" -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=/Users/KevinDing/Coding/SDK/android-sdk-macosx/ndk/android-ndk-r22b/build/cmake/android.toolchain.cmake -DANDROID_TOOLCHAIN=clang -DANDROID_NDK=/Users/KevinDing/Coding/SDK/android-sdk-macosx/ndk/android-ndk-r22b -DANDROID_PLATFORM=android-21 -DANDROID_STL="c++_shared" && cmake --build . --target libzstd_static marsxlog --config Release -- -j8
-- CMAKE_INSTALL_PREFIX=/Users/KevinDing/Downloads/mars-master/mars/cmake_build/Android
-- CMAKE_INSTALL_PREFIX=/Users/KevinDing/Downloads/mars-master/mars/cmake_build/Android
CMake Warning at /Users/KevinDing/Coding/SDK/android-sdk-macosx/ndk/android-ndk-r22b/build/cmake/android.toolchain.cmake:449 (message):
An old version of CMake is being used that cannot automatically detect
compiler attributes. Compiler identification is being bypassed. Some
values may be wrong or missing. Update to CMake 3.19 or newer to use
CMake's built-in compiler identification.
Call Stack (most recent call first):
/Users/KevinDing/Coding/SDK/android-sdk-macosx/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:93 (include)
comm/CMakeLists.txt:6 (project)
-- Detecting C compiler ABI info
CMake Warning at /Users/KevinDing/Coding/SDK/android-sdk-macosx/ndk/android-ndk-r22b/build/cmake/android.toolchain.cmake:449 (message):
An old version of CMake is being used that cannot automatically detect
compiler attributes. Compiler identification is being bypassed. Some
values may be wrong or missing. Update to CMake 3.19 or newer to use
CMake's built-in compiler identification.
Call Stack (most recent call first):
/Users/KevinDing/Downloads/mars-master/mars/cmake_build/Android/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include)
/Users/KevinDing/Downloads/mars-master/mars/cmake_build/Android/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Users/KevinDing/Coding/SDK/android-sdk-macosx/ndk/android-ndk-r22b/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
CMake Warning at /Users/KevinDing/Coding/SDK/android-sdk-macosx/ndk/android-ndk-r22b/build/cmake/android.toolchain.cmake:449 (message):
An old version of CMake is being used that cannot automatically detect
compiler attributes. Compiler identification is being bypassed. Some
values may be wrong or missing. Update to CMake 3.19 or newer to use
CMake's built-in compiler identification.
Call Stack (most recent call first):
/Users/KevinDing/Downloads/mars-master/mars/cmake_build/Android/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include)
/Users/KevinDing/Downloads/mars-master/mars/cmake_build/Android/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Users/KevinDing/Coding/SDK/android-sdk-macosx/ndk/android-ndk-r22b/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- ==============config comm====================
-- CMAKE_INSTALL_PREFIX=/Users/KevinDing/Downloads/mars-master/mars/cmake_build/Android
CMake Warning at /Users/KevinDing/Coding/SDK/android-sdk-macosx/ndk/android-ndk-r22b/build/cmake/android.toolchain.cmake:449 (message):
An old version of CMake is being used that cannot automatically detect
compiler attributes. Compiler identification is being bypassed. Some
values may be wrong or missing. Update to CMake 3.19 or newer to use
CMake's built-in compiler identification.
Call Stack (most recent call first):
cmake_build/Android/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include)
boost/CMakeLists.txt:6 (project)
-- ==============config mars-boost====================
-- The ASM compiler identification is Clang
-- Found assembler: /Users/KevinDing/Coding/SDK/android-sdk-macosx/ndk/android-ndk-r22b/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang
-- CMAKE_INSTALL_PREFIX=/Users/KevinDing/Downloads/mars-master/mars/cmake_build/Android
CMake Warning at /Users/KevinDing/Coding/SDK/android-sdk-macosx/ndk/android-ndk-r22b/build/cmake/android.toolchain.cmake:449 (message):
An old version of CMake is being used that cannot automatically detect
compiler attributes. Compiler identification is being bypassed. Some
values may be wrong or missing. Update to CMake 3.19 or newer to use
CMake's built-in compiler identification.
Call Stack (most recent call first):
cmake_build/Android/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include)
app/CMakeLists.txt:6 (project)
-- ==============config app====================
-- CMAKE_INSTALL_PREFIX=/Users/KevinDing/Downloads/mars-master/mars/cmake_build/Android
CMake Warning at /Users/KevinDing/Coding/SDK/android-sdk-macosx/ndk/android-ndk-r22b/build/cmake/android.toolchain.cmake:449 (message):
An old version of CMake is being used that cannot automatically detect
compiler attributes. Compiler identification is being bypassed. Some
values may be wrong or missing. Update to CMake 3.19 or newer to use
CMake's built-in compiler identification.
Call Stack (most recent call first):
cmake_build/Android/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include)
baseevent/CMakeLists.txt:6 (project)
-- ==============config baseevent====================
-- CMAKE_INSTALL_PREFIX=/Users/KevinDing/Downloads/mars-master/mars/cmake_build/Android
CMake Warning at /Users/KevinDing/Coding/SDK/android-sdk-macosx/ndk/android-ndk-r22b/build/cmake/android.toolchain.cmake:449 (message):
An old version of CMake is being used that cannot automatically detect
compiler attributes. Compiler identification is being bypassed. Some
values may be wrong or missing. Update to CMake 3.19 or newer to use
CMake's built-in compiler identification.
Call Stack (most recent call first):
cmake_build/Android/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include)
log/CMakeLists.txt:6 (project)
-- ==============config xlog====================
-- CMAKE_INSTALL_PREFIX=/Users/KevinDing/Downloads/mars-master/mars/cmake_build/Android
CMake Warning at /Users/KevinDing/Coding/SDK/android-sdk-macosx/ndk/android-ndk-r22b/build/cmake/android.toolchain.cmake:449 (message):
An old version of CMake is being used that cannot automatically detect
compiler attributes. Compiler identification is being bypassed. Some
values may be wrong or missing. Update to CMake 3.19 or newer to use
CMake's built-in compiler identification.
Call Stack (most recent call first):
cmake_build/Android/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include)
sdt/CMakeLists.txt:6 (project)
-- ==============config sdt====================
-- CMAKE_INSTALL_PREFIX=/Users/KevinDing/Downloads/mars-master/mars/cmake_build/Android
CMake Warning at /Users/KevinDing/Coding/SDK/android-sdk-macosx/ndk/android-ndk-r22b/build/cmake/android.toolchain.cmake:449 (message):
An old version of CMake is being used that cannot automatically detect
compiler attributes. Compiler identification is being bypassed. Some
values may be wrong or missing. Update to CMake 3.19 or newer to use
CMake's built-in compiler identification.
Call Stack (most recent call first):
cmake_build/Android/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include)
stn/CMakeLists.txt:7 (project)
-- ==============config stn====================
CMake Warning (dev) at /Users/KevinDing/Coding/SDK/android-sdk-macosx/cmake/3.18.1/share/cmake-3.18/Modules/GNUInstallDirs.cmake:225 (message):
Unable to determine default CMAKE_INSTALL_LIBDIR directory because no
target architecture is known. Please enable at least one language before
including GNUInstallDirs.
Call Stack (most recent call first):
CMakeLists.txt:21 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning at /Users/KevinDing/Coding/SDK/android-sdk-macosx/ndk/android-ndk-r22b/build/cmake/android.toolchain.cmake:449 (message):
An old version of CMake is being used that cannot automatically detect
compiler attributes. Compiler identification is being bypassed. Some
values may be wrong or missing. Update to CMake 3.19 or newer to use
CMake's built-in compiler identification.
Call Stack (most recent call first):
cmake_build/Android/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include)
zstd/build/cmake/lib/CMakeLists.txt:10 (project)
CMake Warning at /Users/KevinDing/Coding/SDK/android-sdk-macosx/ndk/android-ndk-r22b/build/cmake/android.toolchain.cmake:449 (message):
An old version of CMake is being used that cannot automatically detect
compiler attributes. Compiler identification is being bypassed. Some
values may be wrong or missing. Update to CMake 3.19 or newer to use
CMake's built-in compiler identification.
Call Stack (most recent call first):
cmake_build/Android/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include)
CMakeLists.txt:24 (project)
-- ==============config mars====================
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/KevinDing/Downloads/mars-master/mars/cmake_build/Android
Scanning dependencies of target libzstd_static
[ 6%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/common/debug.c.o
[ 6%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/common/entropy_common.c.o
[ 12%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/common/error_private.c.o
[ 12%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/common/fse_decompress.c.o
[ 18%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/common/pool.c.o
[ 18%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/common/threading.c.o
[ 25%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/common/xxhash.c.o
[ 25%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/common/zstd_common.c.o
[ 31%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/compress/fse_compress.c.o
[ 31%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/compress/hist.c.o
[ 37%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/compress/huf_compress.c.o
[ 37%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/compress/zstd_compress.c.o
[ 43%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/compress/zstd_compress_literals.c.o
[ 43%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/compress/zstd_compress_sequences.c.o
[ 50%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/compress/zstd_double_fast.c.o
[ 50%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/compress/zstd_fast.c.o
[ 56%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/compress/zstd_lazy.c.o
[ 56%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/compress/zstd_ldm.c.o
[ 62%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/compress/zstd_opt.c.o
[ 62%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/compress/zstdmt_compress.c.o
[ 68%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/decompress/huf_decompress.c.o
[ 68%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/decompress/zstd_ddict.c.o
[ 75%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/decompress/zstd_decompress.c.o
[ 75%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/decompress/zstd_decompress_block.c.o
[ 81%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/dictBuilder/cover.c.o
[ 81%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/dictBuilder/divsufsort.c.o
[ 87%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/dictBuilder/fastcover.c.o
[ 87%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/dictBuilder/zdict.c.o
[ 93%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/deprecated/zbuff_common.c.o
[ 93%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/deprecated/zbuff_compress.c.o
[100%] Building C object zstd/CMakeFiles/libzstd_static.dir////lib/deprecated/zbuff_decompress.c.o
[100%] Linking C static library libzstd.a
[100%] Built target libzstd_static
Scanning dependencies of target xlog
Scanning dependencies of target mars-boost
Scanning dependencies of target comm
[ 22%] Built target libzstd_static
[ 25%] Building CXX object xlog/CMakeFiles/xlog.dir/src/log_zlib_buffer.cc.o
[ 25%] Building CXX object xlog/CMakeFiles/xlog.dir/src/appender.cc.o
[ 25%] Building CXX object xlog/CMakeFiles/xlog.dir/src/log_base_buffer.cc.o
[ 25%] Building CXX object xlog/CMakeFiles/xlog.dir/src/formater.cc.o
[ 27%] Building CXX object xlog/CMakeFiles/xlog.dir/src/xlogger_interface.cc.o
[ 27%] Building CXX object xlog/CMakeFiles/xlog.dir/src/log_zstd_buffer.cc.o
[ 28%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/atomic/src/lockpool.cpp.o
[ 30%] Building C object comm/CMakeFiles/comm.dir/adler32.c.o
[ 31%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/date_time/src/gregorian/date_generators.cpp.o
[ 31%] Building CXX object xlog/CMakeFiles/xlog.dir/crypt/log_crypt.cc.o
[ 32%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/date_time/src/gregorian/gregorian_types.cpp.o
[ 32%] Building C object xlog/CMakeFiles/xlog.dir/crypt/micro-ecc-master/uECC.c.o
[ 32%] Building CXX object comm/CMakeFiles/comm.dir/alarm.cc.o
[ 32%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/date_time/src/gregorian/greg_month.cpp.o
[ 34%] Building CXX object xlog/CMakeFiles/xlog.dir//comm/xlogger/xlogger.cc.o
[ 35%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/date_time/src/gregorian/greg_weekday.cpp.o
[ 37%] Building CXX object comm/CMakeFiles/comm.dir/anr.cc.o
In file included from /Users/KevinDing/Downloads/mars-master/mars/log/src/xlogger_interface.cc:22:
In file included from /Users/KevinDing/Downloads/mars-master/mars/log/src/xlogger_appender.h:3:
In file included from /Users/KevinDing/Downloads/mars-master/mars/log/../boost/iostreams/device/mapped_file.hpp:20:
In file included from /Users/KevinDing/Downloads/mars-master/mars/log/../boost/iostreams/close.hpp:19:
In file included from /Users/KevinDing/Downloads/mars-master/mars/log/../boost/iostreams/detail/adapter/non_blocking_adapter.hpp:13:
/Users/KevinDing/Downloads/mars-master/mars/log/../boost/iostreams/seek.hpp:86:20: error: result of comparison 'mars_boost::iostreams::stream_offset' (aka 'long long') > 9223372036854775807 is always false [-Werror,-Wtautological-type-limit-compare]
off > integer_traitsstd::streamoff::const_max ) )
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/KevinDing/Downloads/mars-master/mars/log/../boost/iostreams/seek.hpp:85:20: error: result of comparison 'mars_boost::iostreams::stream_offset' (aka 'long long') < -9223372036854775808 is always false [-Werror,-Wtautological-type-limit-compare]
( off < integer_traitsstd::streamoff::const_min ||
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/KevinDing/Downloads/mars-master/mars/log/../boost/iostreams/seek.hpp:113:20: error: result of comparison 'mars_boost::iostreams::stream_offset' (aka 'long long') > 9223372036854775807 is always false [-Werror,-Wtautological-type-limit-compare]
off > integer_traitsstd::streamoff::const_max ) )
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/KevinDing/Downloads/mars-master/mars/log/../boost/iostreams/seek.hpp:112:20: error: result of comparison 'mars_boost::iostreams::stream_offset' (aka 'long long') < -9223372036854775808 is always false [-Werror,-Wtautological-type-limit-compare]
( off < integer_traitsstd::streamoff::const_min ||
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/KevinDing/Downloads/mars-master/mars/log/src/appender.cc:52:
In file included from /Users/KevinDing/Downloads/mars-master/mars/log/../boost/iostreams/device/mapped_file.hpp:20:
In file included from /Users/KevinDing/Downloads/mars-master/mars/log/../boost/iostreams/close.hpp:19:
In file included from /Users/KevinDing/Downloads/mars-master/mars/log/../boost/iostreams/detail/adapter/non_blocking_adapter.hpp:13:
/Users/KevinDing/Downloads/mars-master/mars/log/../boost/iostreams/seek.hpp:86:20: error: result of comparison 'mars_boost::iostreams::stream_offset' (aka 'long long') > 9223372036854775807 is always false [-Werror,-Wtautological-type-limit-compare]
off > integer_traitsstd::streamoff::const_max ) )
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/KevinDing/Downloads/mars-master/mars/log/../boost/iostreams/seek.hpp:85:20: error: result of comparison 'mars_boost::iostreams::stream_offset' (aka 'long long') < -9223372036854775808 is always false [-Werror,-Wtautological-type-limit-compare]
( off < integer_traitsstd::streamoff::const_min ||
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/KevinDing/Downloads/mars-master/mars/log/../boost/iostreams/seek.hpp:113:20: error: result of comparison 'mars_boost::iostreams::stream_offset' (aka 'long long') > 9223372036854775807 is always false [-Werror,-Wtautological-type-limit-compare]
off > integer_traitsstd::streamoff::const_max ) )
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/KevinDing/Downloads/mars-master/mars/log/../boost/iostreams/seek.hpp:112:20: error: result of comparison 'mars_boost::iostreams::stream_offset' (aka 'long long') < -9223372036854775808 is always false [-Werror,-Wtautological-type-limit-compare]
( off < integer_traitsstd::streamoff::const_min ||
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 37%] Building C object xlog/CMakeFiles/xlog.dir/__/comm/xlogger/xloggerbase.c.o
[ 37%] Building CXX object comm/CMakeFiles/comm.dir/autobuffer.cc.o
[ 37%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/date_time/src/posix_time/posix_time_types.cpp.o
[ 38%] Building CXX object comm/CMakeFiles/comm.dir/basepacker.cc.o
4 errors generated.
make[3]: *** [xlog/CMakeFiles/xlog.dir/src/xlogger_interface.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
[ 40%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/exception/src/clone_current_exception_non_intrusive.cpp.o
[ 40%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/filesystem/src/codecvt_error_category.cpp.o
[ 40%] Building CXX object comm/CMakeFiles/comm.dir/boost_exception.cc.o
4 errors generated.
make[3]: *** [xlog/CMakeFiles/xlog.dir/src/appender.cc.o] Error 1
make[2]: *** [xlog/CMakeFiles/xlog.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 41%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/filesystem/src/operations.cpp.o
[ 42%] Building CXX object comm/CMakeFiles/comm.dir/comm_frequency_limit.cc.o
[ 42%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/filesystem/src/path.cpp.o
[ 42%] Building CXX object comm/CMakeFiles/comm.dir/http.cc.o
[ 44%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/filesystem/src/path_traits.cpp.o
[ 45%] Building CXX object comm/CMakeFiles/comm.dir/memdbg.cc.o
[ 45%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/filesystem/src/portability.cpp.o
[ 47%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/filesystem/src/unique_path.cpp.o
/Users/KevinDing/Downloads/mars-master/mars/boost/libs/filesystem/src/operations.cpp:2081:18: warning: 'readdir_r' is deprecated: readdir_r is deprecated; use readdir instead [-Wdeprecated-declarations]
{ return ::readdir_r(dirp, entry, result); }
^
/Users/KevinDing/Coding/SDK/android-sdk-macosx/ndk/android-ndk-r22b/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/dirent.h:132:92: note: 'readdir_r' has been explicitly marked deprecated here
int readdir_r(DIR* __dir, struct dirent* __entry, struct dirent** __buffer) attribute((deprecated("readdir_r is deprecated; use readdir instead")));
^
[ 47%] Building CXX object comm/CMakeFiles/comm.dir/mmap_util.cc.o
[ 47%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/filesystem/src/utf8_codecvt_facet.cpp.o
[ 48%] Building CXX object comm/CMakeFiles/comm.dir/ptrbuffer.cc.o
[ 48%] Building CXX object comm/CMakeFiles/comm.dir/singleton.cc.o
1 warning generated.
[ 50%] Building CXX object comm/CMakeFiles/comm.dir/strutil.cc.o
[ 51%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/filesystem/src/windows_file_codecvt.cpp.o
[ 51%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/iostreams/src/file_descriptor.cpp.o
[ 51%] Building CXX object comm/CMakeFiles/comm.dir/tickcount.cc.o
[ 52%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/iostreams/src/mapped_file.cpp.o
In file included from /Users/KevinDing/Downloads/mars-master/mars/comm/mmap_util.cc:20:
In file included from /Users/KevinDing/Downloads/mars-master/mars/comm/./mmap_util.h:23:
In file included from /Users/KevinDing/Downloads/mars-master/mars/comm/../boost/iostreams/device/mapped_file.hpp:20:
In file included from /Users/KevinDing/Downloads/mars-master/mars/comm/../boost/iostreams/close.hpp:19:
In file included from /Users/KevinDing/Downloads/mars-master/mars/comm/../boost/iostreams/detail/adapter/non_blocking_adapter.hpp:13:
/Users/KevinDing/Downloads/mars-master/mars/comm/../boost/iostreams/seek.hpp:86:20: error: result of comparison 'mars_boost::iostreams::stream_offset' (aka 'long long') > 9223372036854775807 is always false [-Werror,-Wtautological-type-limit-compare]
off > integer_traitsstd::streamoff::const_max ) )
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/KevinDing/Downloads/mars-master/mars/comm/../boost/iostreams/seek.hpp:85:20: error: result of comparison 'mars_boost::iostreams::stream_offset' (aka 'long long') < -9223372036854775808 is always false [-Werror,-Wtautological-type-limit-compare]
( off < integer_traitsstd::streamoff::const_min ||
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/KevinDing/Downloads/mars-master/mars/comm/../boost/iostreams/seek.hpp:113:20: error: result of comparison 'mars_boost::iostreams::stream_offset' (aka 'long long') > 9223372036854775807 is always false [-Werror,-Wtautological-type-limit-compare]
off > integer_traitsstd::streamoff::const_max ) )
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/KevinDing/Downloads/mars-master/mars/comm/../boost/iostreams/seek.hpp:112:20: error: result of comparison 'mars_boost::iostreams::stream_offset' (aka 'long long') < -9223372036854775808 is always false [-Werror,-Wtautological-type-limit-compare]
( off < integer_traitsstd::streamoff::const_min ||
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 52%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/smart_ptr/src/sp_collector.cpp.o
[ 54%] Building C object comm/CMakeFiles/comm.dir/time_utils.c.o
[ 54%] Building CXX object comm/CMakeFiles/comm.dir/tinyxml2.cc.o
[ 55%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/smart_ptr/src/sp_debug_hooks.cpp.o
[ 57%] Building C object comm/CMakeFiles/comm.dir/assert/__assert.c.o
[ 57%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/system/src/error_code.cpp.o
4 errors generated.
make[3]: *** [comm/CMakeFiles/comm.dir/mmap_util.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
[ 58%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/thread/src/future.cpp.o
[ 58%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/context/src/execution_context.cpp.o
[ 60%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/context/src/posix/stack_traits.cpp.o
[ 60%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/coroutine/src/detail/coroutine_context.cpp.o
[ 61%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/coroutine/src/exceptions.cpp.o
[ 61%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/coroutine/src/posix/stack_traits.cpp.o
[ 62%] Building ASM object boost/CMakeFiles/mars-boost.dir/libs/context/src/asm/jump_arm_aapcs_elf_gas.S.o
[ 62%] Building ASM object boost/CMakeFiles/mars-boost.dir/libs/context/src/asm/make_arm_aapcs_elf_gas.S.o
make[2]: *** [comm/CMakeFiles/comm.dir/all] Error 2
[ 64%] Linking CXX static library libmars-boost.a
[ 64%] Built target mars-boost
make[1]: *** [CMakeFiles/marsxlog.dir/rule] Error 2
make: *** [marsxlog] Error 2
!!!!!!!!!!!!!!!!!!build fail!!!!!!!!!!!!!!!!!!!!
1条答案
按热度按时间dvtswwa31#
我也遇到了同样的问题,没人解决的吗?