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

Build failure when crosscompiling for arm without atomics

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • 10.0.21-galera
    • N/A
    • Compiling
    • None
    • buildroot, linux

    Description

      When crosscompiling for arm (with -DCMAKE_CROSSCOMPILING set) build fails with:

      mariadb-galera-10.0.21/storage/innobase/srv/srv0conc.cc: In function ‘void srv_conc_enter_innodb_without_atomics(trx_t*)’:
      mariadb-galera-10.0.21/storage/innobase/srv/srv0conc.cc:425:45: error: ‘wsrep_thd_is_brute_force’ was not declared in this scope
            wsrep_thd_is_brute_force(trx->mysql_thd)) {
                                                   ^

      It does not happen if HAVE_IB_GCC_ATOMIC_BUILTINS.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Sylvain Sylvain Raybaud
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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