My compiler segfauls trying to compile this. Any ideas? O_o
Compiling build/opt/mongo/db/commands/kill_sessions_command.o
In file included from src/mongo/db/commands.h:52,
from build/opt/mongo/crypto/encryption_fields_gen.cpp:16:
src/mongo/db/request_execution_context.h:65:64: internal compiler error: Segmentation fault
65 | _dbmsg(std::make_unique<DbMessage>(_message.get())) {}
| ^
0x1ad33c8 internal_error(char const*, ...)
???:0
...
scons: building terminated because of errors.
build/opt/mongo/crypto/encryption_fields_gen.o failed: Error 1
==> ERROR: A failure occurred in build().
Aborting...
error: failed to build 'mongodb-7.0.5-1':
Is this using gcc? My version is
gcc --version
gcc (GCC) 13.2.1 20230801
Pinned Comments
JstKddng commented on 2022-08-03 23:28 (UTC)
Binary builds are available:
https://software.opensuse.org//download.html?project=home%3Ajustkidding%3Aarch&package=mongodb
JstKddng commented on 2022-08-03 23:28 (UTC)
If you have a pre-sandybridge CPU or an ARMv8 sbc, you can use mongodb44
If you'd like to stay in the V5.0 branch, you can use mongodb50
JstKddng commented on 2022-08-03 23:25 (UTC)
The
mongo
utility will be removed in future releases. Switching tomongosh
is recommended.