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

10.0.32 does not compile on architectures without 64-bit atomics

    XMLWordPrintable

    Details

      Description

      Attempting to compile MariaDB 10.0.32 on an architecture without 64-bit atomics results in a failure to build..

      In file included from /home/ports/pobj/mariadb-10.0.32/mariadb-10.0.32/storage/innobase/srv/srv0mon.cc:31:
      /home/ports/pobj/mariadb-10.0.32/mariadb-10.0.32/storage/innobase/include/srv0mon.h:621:8: error: unknown type name 'ib_mutex_t'; did you mean 'os_mutex_t'?
      extern ib_mutex_t       monitor_mutex;
             ^~~~~~~~~~
             os_mutex_t
      /home/ports/pobj/mariadb-10.0.32/mariadb-10.0.32/storage/innobase/include/os0sync.h:115:16: note: 'os_mutex_t' declared here
      typedef struct os_mutex_t*      os_ib_mutex_t;
                     ^
      /home/ports/pobj/mariadb-10.0.32/mariadb-10.0.32/storage/innobase/srv/srv0mon.cc:1254:12: error: redefinition of 'monitor_mutex' with a different type: 'ib_mutex_t' vs 'os_mutex_t'
      ib_mutex_t      monitor_mutex;
                      ^
      /home/ports/pobj/mariadb-10.0.32/mariadb-10.0.32/storage/innobase/include/srv0mon.h:621:19: note: previous declaration is here
      extern ib_mutex_t       monitor_mutex;
                              ^
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              marko Marko Mäkelä
              Reporter:
              brad0 Brad Smith
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: