commit: 0b4f9a102c7c577af28a9db47dc3120028d2427c Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Sat Oct 13 21:16:54 2018 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Sat Oct 13 21:16:54 2018 +0000 URL: https://gitweb.gentoo.org/proj/mysql-extras.git/commit/?id=0b4f9a10
Add 20018_all_mysql-5.7.23-fix-mips-ASM.patch Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> 20018_all_mysql-5.7.23-fix-mips-ASM.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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 <[email protected]> +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)
