Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-30893

Default build fails for aarch64 because of missing CCFLAGS option related to CRC

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 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.

        1. image-2017-08-30-22-18-44-891.png
          2 kB
          Praveen Arkeri
        2. image-2017-08-30-22-18-51-499.png
          2 kB
          Praveen Arkeri

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            Arkeri Praveen Arkeri
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: