Control: tags -1 upstream patch
Control: forwarded -1 https://jira.mariadb.org/browse/MDEV-13009

On 06/06/17 16:42, Andreas Beckmann wrote:
> Package: mariadb-10.1
> Version: 10.1.24-2
> Severity: serious
> Justification: fails to build from source (but built successfully in the past)
> 
> https://buildd.debian.org/status/package.php?p=mariadb-10.1&suite=unstable
> 
> mips and mipsel failed, mips64el is still building
> 
> In file included from /«PKGBUILDDIR»/storage/innobase/lock/lock0wait.cc:29:0:
> /«PKGBUILDDIR»/storage/innobase/include/srv0mon.h:649:8: error: 'ib_mutex_t' 
> does not name a type
>  extern ib_mutex_t monitor_mutex;
>         ^~~~~~~~~~

The attached patch fixes this for me. The bug affects architectures
without lock-free 64-bit atomics. I think these are: mips, mipsel,
powerpc and m68k (mips64el is not affected).

Thanks,
James
--- a/storage/innobase/include/os0sync.h
+++ b/storage/innobase/include/os0sync.h
@@ -37,6 +37,7 @@ Created 9/6/1995 Heikki Tuuri
 
 #include "univ.i"
 #include "ut0lst.h"
+#include "sync0types.h"
 
 /** CPU cache line size */
 #ifdef __powerpc__

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to