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, Aws::Allocator >’} and ‘const string’ {aka ‘const std::__cxx11::basic_string’})
if (bucket.GetName() == s3params.bucket) {
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
…