[MDEV-13705] 10.0.32 does not compile on architectures without 64-bit atomics Created: 2017-09-01  Updated: 2017-09-04  Resolved: 2017-09-04

Status: Closed
Project: MariaDB Server
Component/s: Compiling, Storage Engine - InnoDB
Affects Version/s: 10.0.31
Fix Version/s: 10.0.33

Type: Bug Priority: Major
Reporter: Brad Smith Assignee: Marko Mäkelä
Resolution: Fixed Votes: 0
Labels: None
Environment:

OpenBSD/powerpc, OpenBSD/i386


Issue Links:
Problem/Incident
is caused by MDEV-12674 Innodb_row_lock_current_waits has ove... Closed
Relates
relates to MDEV-13009 10.1.24 does not compile on architect... Closed

 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;
                        ^



 Comments   
Comment by Marko Mäkelä [ 2017-09-04 ]

Sorry, I missed otto’s request in MDEV-13009 to backport the fix to 10.0.31. This report essentially looks like a duplicate of MDEV-13009.

Generated at Thu Feb 08 08:07:43 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.