Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-39469

Build failure on aarch64 with old toolchain: unsupported instruction 'dc cvap' (armv8.2-a)

    XMLWordPrintable

Details

    • Bug
    • Status: Needs Feedback (View Workflow)
    • Major
    • Resolution: Unresolved
    • 11.4.10
    • None
    • Host: ubuntu 22
      Target: aarch64 (arm64)

      Toolchain:
      - GCC: 5.5.0
      - Binutils: 2.25.1
      - glibc: 2.19

      Build system: Timesys Factory (cross-compilation)

    Description

      Hi MariaDB Team,

      I am encountering a build failure while compiling MariaDB 11.4.10 for an embedded aarch64 target using an older toolchain.

      Error:

      {standard input}: Assembler messages:{standard input}

      :74: Error: unknown architecture `armv8.2-a'

      {standard input}

      :75: Error: unknown or missing operation name at operand 1 – `dc cvap,x2`

      The issue appears to originate from InnoDB (storage/innobase/sync/cache.cc),
      where ARMv8.2-specific instruction `dc cvap` is used.

      However, this instruction is not supported by older toolchains such as:

      • binutils 2.25.1
      • GCC 5.5.0
      • glibc 2.19

      Attachments

        Issue Links

          Activity

            People

              marko Marko Mäkelä
              logutimesys logesh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.