Not the answer you need?
Register and ask your own question!

Build Monogdb V4.2.9-10 on arm64 fail

daleidalei Current User Role Novice

  Build Monogdb V4.2.9-10 on arm64 fail

  When I build mongod/mongos on arm64 ,a large number of error like this:

Compiling build/opt/mongo/db/commands/enable_coordinator_for_create_indexes_command_gen.o

src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp: In member function 'virtual mongo::Status mongo::WiredTigerKVEngine::hotBackup(mongo::OperationContext*, const percona::S3BackupParameters&)':

src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp:1655:34: error: no match for 'operator==' (operand types are 'const String' {aka 'const std::__cxx11::basic_string<char, std::char_traits<char>, Aws::Allocator<char> >'} and 'const string' {aka 'const std::__cxx11::basic_string<char>'})

       if (bucket.GetName() == s3params.bucket) {

         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~


....



Comments

  • daleidalei Current User Role Novice

    add err:

    Compiling build/opt/mongo/db/matcher/matcher_type_set.o

    Compiling build/opt/mongo/db/query/plan_yield_policy.o

    Compiling build/opt/mongo/db/exec/working_set.o

    Compiling build/opt/mongo/idl/idl_parser.o

    Compiling build/opt/mongo/db/commands/map_reduce_agg.o

    Compiling build/opt/mongo/db/matcher/extensions_callback_noop.o

    Compiling build/opt/mongo/db/commands/parse_log_component_settings.o

    Generating library build/opt/mongo/s/catalog/libsharding_catalog_client.a

    Skipping ranlib for thin archive build/opt/mongo/s/catalog/libsharding_catalog_client.a

    Compiling build/opt/mongo/db/bson/dotted_path_support.o

    Compiling build/opt/third_party/wiredtiger/src/checksum/arm64/crc32-arm64.o

    /tmp/ccOLV6Zi.s: Assembler messages:

    /tmp/ccOLV6Zi.s:41: Error: selected processor does not support `crc32cb w2,w2,w3'

    /tmp/ccOLV6Zi.s:73: Error: selected processor does not support `crc32cx w2,w2,x4'

    /tmp/ccOLV6Zi.s:101: Error: selected processor does not support `crc32cb w2,w2,w0'

    scons: *** [build/opt/third_party/wiredtiger/src/checksum/arm64/crc32-arm64.o] Error 1

    scons: building terminated because of errors.

    build/opt/third_party/wiredtiger/src/checksum/arm64/crc32-arm64.o failed: Error 1

Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.