Hi,
Thank you for your response.
Currently I’m trying to build branch v4.4, without my changes, from commit 7aa1b65641938719accd595bda3e45e97dc5f475.
The clean start did actually work, as the errors no longer show, however I’m now experiencing a new error (which also I’ve never encountered in branch v4.2):
…
Linking build/opt/mongo/mongod
/usr/bin/ld.gold: out of memory
collect2: error: ld returned 1 exit status
scons: *** [build/opt/mongo/mongod] Error 1
scons: building terminated because of errors.
build/opt/mongo/mongod failed: Error 1
I monitored the RAM usage throughout the compilation process, and I always have around 6-10GB of free memory. Do you have any idea?