diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2018-10-13 23:16:54 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2018-10-13 23:16:54 +0200 |
commit | 0b4f9a102c7c577af28a9db47dc3120028d2427c (patch) | |
tree | 5dc60a262c9a1113d443a6fe7385374cc7ff893b | |
parent | Add 20018_all_mysql-5.7.23-round-off-test-values-for-same-output-on-all-archi... (diff) | |
download | mysql-extras-0b4f9a102c7c577af28a9db47dc3120028d2427c.tar.gz mysql-extras-0b4f9a102c7c577af28a9db47dc3120028d2427c.tar.bz2 mysql-extras-0b4f9a102c7c577af28a9db47dc3120028d2427c.zip |
Add 20018_all_mysql-5.7.23-fix-mips-ASM.patchmysql-extras-20181013-2117Z
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-rw-r--r-- | 20018_all_mysql-5.7.23-fix-mips-ASM.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/20018_all_mysql-5.7.23-fix-mips-ASM.patch b/20018_all_mysql-5.7.23-fix-mips-ASM.patch new file mode 100644 index 0000000..9cda592 --- /dev/null +++ b/20018_all_mysql-5.7.23-fix-mips-ASM.patch @@ -0,0 +1,21 @@ +Description: Fix MIPS64 asm constraints + Assembly problem, using =l instead of =lc. + http://stackoverflow.com/questions/3652153/impossible-constraint-in-asm +Author: YunQiang Su <wzssyqa@gmail.com> +Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798126 +Forwarded: yes, http://bugs.mysql.com/69978 +Last-Update: 2015-09-21 + +Index: mysql-5.6/extra/yassl/taocrypt/src/integer.cpp +=================================================================== +--- mysql-5.6.orig/extra/yassl/taocrypt/src/integer.cpp ++++ mysql-5.6/extra/yassl/taocrypt/src/integer.cpp +@@ -192,7 +192,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) |