From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B43CC138334 for ; Sat, 13 Oct 2018 23:31:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A2A1AE0895; Sat, 13 Oct 2018 23:31:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7899AE0895 for ; Sat, 13 Oct 2018 23:31:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 89986335CD2 for ; Sat, 13 Oct 2018 23:31:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D0EAB43D for ; Sat, 13 Oct 2018 23:31:00 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1539465414.0b4f9a102c7c577af28a9db47dc3120028d2427c.whissi@gentoo> Subject: [gentoo-commits] proj/mysql-extras:master commit in: / X-VCS-Repository: proj/mysql-extras X-VCS-Files: 20018_all_mysql-5.7.23-fix-mips-ASM.patch X-VCS-Directories: / X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 0b4f9a102c7c577af28a9db47dc3120028d2427c X-VCS-Branch: master Date: Sat, 13 Oct 2018 23:31:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d9e786e9-1014-48bb-84ac-5e36ee354a3c X-Archives-Hash: be7ba62e70abc6c5353d5d36a487a0d7 commit: 0b4f9a102c7c577af28a9db47dc3120028d2427c Author: Thomas Deutschmann gentoo org> AuthorDate: Sat Oct 13 21:16:54 2018 +0000 Commit: Thomas Deutschmann gentoo 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 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 +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)