[debian-mysql] Bug#758491: percona-xtrabackup: wrong mips64 asm in taocrypt

YunQiang Su wzssyqa at gmail.com
Mon Aug 18 02:35:29 UTC 2014


Package: percona-xtrabackup
Version: 2.2.3-2

In extra/yassl/taocrypt/src/integer.cpp there is a problem in mips64 asm.
Please fix it.

This patch has been applied to MySQL, it works well.

Index: percona-xtrabackup-2.2.3/extra/yassl/taocrypt/src/integer.cpp
===================================================================
--- percona-xtrabackup-2.2.3.orig/extra/yassl/taocrypt/src/integer.cpp
 2014-07-23 01:13:52.000000000 +0800
+++ percona-xtrabackup-2.2.3/extra/yassl/taocrypt/src/integer.cpp
 2033-12-08 16:07:06.314007266 +0800
@@ -189,7 +189,7 @@
                 "a" (a), "rm" (b) : "cc");

         #elif defined(__mips64)
-            __asm__("dmultu %2,%3" : "=h" (r.halfs_.high), "=l" (r.halfs_.low)
+            __asm__("dmultu %2,%3" : "=d" (r.halfs_.high), "=lc" (r.halfs_.low)
                 : "r" (a), "r" (b));

         #elif defined(_M_IX86)


-- 
YunQiang Su



More information about the pkg-mysql-maint mailing list