1 |
commit: 0b4f9a102c7c577af28a9db47dc3120028d2427c |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 13 21:16:54 2018 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 13 21:16:54 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/mysql-extras.git/commit/?id=0b4f9a10 |
7 |
|
8 |
Add 20018_all_mysql-5.7.23-fix-mips-ASM.patch |
9 |
|
10 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
11 |
|
12 |
20018_all_mysql-5.7.23-fix-mips-ASM.patch | 21 +++++++++++++++++++++ |
13 |
1 file changed, 21 insertions(+) |
14 |
|
15 |
diff --git a/20018_all_mysql-5.7.23-fix-mips-ASM.patch b/20018_all_mysql-5.7.23-fix-mips-ASM.patch |
16 |
new file mode 100644 |
17 |
index 0000000..9cda592 |
18 |
--- /dev/null |
19 |
+++ b/20018_all_mysql-5.7.23-fix-mips-ASM.patch |
20 |
@@ -0,0 +1,21 @@ |
21 |
+Description: Fix MIPS64 asm constraints |
22 |
+ Assembly problem, using =l instead of =lc. |
23 |
+ http://stackoverflow.com/questions/3652153/impossible-constraint-in-asm |
24 |
+Author: YunQiang Su <wzssyqa@×××××.com> |
25 |
+Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798126 |
26 |
+Forwarded: yes, http://bugs.mysql.com/69978 |
27 |
+Last-Update: 2015-09-21 |
28 |
+ |
29 |
+Index: mysql-5.6/extra/yassl/taocrypt/src/integer.cpp |
30 |
+=================================================================== |
31 |
+--- mysql-5.6.orig/extra/yassl/taocrypt/src/integer.cpp |
32 |
++++ mysql-5.6/extra/yassl/taocrypt/src/integer.cpp |
33 |
+@@ -192,7 +192,7 @@ |
34 |
+ "a" (a), "rm" (b) : "cc"); |
35 |
+ |
36 |
+ #elif defined(__mips64) |
37 |
+- __asm__("dmultu %2,%3" : "=h" (r.halfs_.high), "=l" (r.halfs_.low) |
38 |
++ __asm__("dmultu %2,%3" : "=d" (r.halfs_.high), "=lc" (r.halfs_.low) |
39 |
+ : "r" (a), "r" (b)); |
40 |
+ |
41 |
+ #elif defined(_M_IX86) |