-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Build
-
None
-
ALL
-
Dev Tools 2018-11-19
On aarch64 platform default build command fails with following error message:
/tmp/ccVvoQKQ.s: Assembler messages:
/tmp/ccVvoQKQ.s:34: Error: selected processor does not support `crc32cb w2,w2,w3'
/tmp/ccVvoQKQ.s:56: Error: selected processor does not support `crc32cx w2,w2,x0'
/tmp/ccVvoQKQ.s:78: 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
Adding CCFLAGS="-march=armv8-a+crc" to build command successfully builds mongodb binaries for aarch64.