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

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Won't Fix
    • None
    • None
    • Build
    • None
    • ALL
    • 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

        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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: