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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Build
    • Labels:
      None
    • Operating System:
      ALL
    • Sprint:
      Dev Tools 2018-11-19

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            acm Andrew Morrow
            Reporter:
            Arkeri Praveen Arkeri
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: