From patchwork Mon Dec 12 04:51:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tatsuyuki Ishi X-Patchwork-Id: 704930 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3tcVmV01Z4z9sCZ for ; Mon, 12 Dec 2016 15:51:37 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Fzs8SIxO"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 3D1822A376; Mon, 12 Dec 2016 04:51:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wfhULmX3mtVE; Mon, 12 Dec 2016 04:51:33 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id C9CB82A3AB; Mon, 12 Dec 2016 04:51:32 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 390741BFBD2 for ; Mon, 12 Dec 2016 04:51:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3656484F89 for ; Mon, 12 Dec 2016 04:51:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3Ni4WTQS8PjD for ; Mon, 12 Dec 2016 04:51:30 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by whitealder.osuosl.org (Postfix) with ESMTPS id B139584B8F for ; Mon, 12 Dec 2016 04:51:30 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id y68so3745346pfb.1 for ; Sun, 11 Dec 2016 20:51:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=eT8BMkR1DKMrI/ka3xRt70lPCVhEXJzVEcruCbF10sI=; b=Fzs8SIxObVJjGTOup+dLqy+MTAd8JuKWgpVpb99HtHp/Ftnbz0IZ+NGiDHc+Iw4cVm Cgn/R9nn4V6fHJi0iV2dMox+OWbdjl4bVV2lXh9QgMZ1201351KDlleKBGtmQTsDcbj2 3GlOFGE4bjshTubskf5P56oSkHa6+Z5ELLEACq315jqiV2vcHUCVGSmP75kuWx7pVJB3 fSETmfi+MlLKnLlyJgZVSdM1BajE7Zjzcyxah8Do5Ndt+HHF9fntvEM2XwqtWqgQQZbs ovkCZ/49U9wO7+eRsXRc3s20Z0Iz8myQ4u1AWzCgzueI4a4gMOmCF0tip26FFFpHFK9Z u+4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=eT8BMkR1DKMrI/ka3xRt70lPCVhEXJzVEcruCbF10sI=; b=efKaowRsMC3F+HuBqLw/cgk0aPIvayqFw/vok8YG5onC7gJdmD/F4P5SO1V/9Z8jko E+LInXFz58t/TollC/sUQIQzupgrXG2YqO8q1aGDe2Ea377jVxsbYsjS9FAteS0a6uGz gtIUwIJSWeAGLE1hygLFzOFGMeSV0idqRU/E5jP0yumf1RbOP7ap2H3NfeLhczzwcRBR O3s3//nDIGDmUp1ugMzv7TeuJcTdWay6GJzu/AO4xqxzlj2h9mOzSMWZXIBJXVOrpVAp AoKwKB4eUDdfNOp0mFOixHD3PB/4Vq+38ryBab9Cy5iw8fDWddvjACczD4hJUrT1wWgG OLwg== X-Gm-Message-State: AKaTC02h+lPAYUws/u4oWrMJgWsJdak5TrqZKM33Zf8gmnlrsc8gEIWK1y48q9RSmWmQpg== X-Received: by 10.84.192.131 with SMTP id c3mr185009588pld.149.1481518290317; Sun, 11 Dec 2016 20:51:30 -0800 (PST) Received: from kclc.ml.ml (kclc.ml. [157.7.202.57]) by smtp.gmail.com with ESMTPSA id z62sm72861150pfz.19.2016.12.11.20.51.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Dec 2016 20:51:29 -0800 (PST) From: ishitatsuyuki@gmail.com To: buildroot@busybox.net Date: Mon, 12 Dec 2016 13:51:13 +0900 Message-Id: <20161212045113.25961-1-ishitatsuyuki@gmail.com> X-Mailer: git-send-email 2.11.0 Cc: Tatsuyuki Ishi Subject: [Buildroot] [PATCH] php: fix build for AArch64 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Tatsuyuki Ishi Signed-off-by: Tatsuyuki Ishi --- ...asm-constraints-in-aarch64-multiply-macro.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 package/php/0008-fix-asm-constraints-in-aarch64-multiply-macro.patch diff --git a/package/php/0008-fix-asm-constraints-in-aarch64-multiply-macro.patch b/package/php/0008-fix-asm-constraints-in-aarch64-multiply-macro.patch new file mode 100644 index 000000000..9544d0edb --- /dev/null +++ b/package/php/0008-fix-asm-constraints-in-aarch64-multiply-macro.patch @@ -0,0 +1,24 @@ +From 1622f24fde4220967bd907bf8f0325d444bf9339 Mon Sep 17 00:00:00 2001 +From: Andy Postnikov +Date: Sat, 10 Dec 2016 23:51:17 +0300 +Subject: [PATCH] Fix bug #70015 - Compilation failure on aarch64 + +--- + Zend/zend_multiply.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Zend/zend_multiply.h b/Zend/zend_multiply.h +index 75769db..fbd69ab 100644 +--- a/Zend/zend_multiply.h ++++ b/Zend/zend_multiply.h +@@ -75,8 +75,8 @@ + __asm__("mul %0, %2, %3\n" \ + "smulh %1, %2, %3\n" \ + "sub %1, %1, %0, asr #63\n" \ +- : "=X"(__tmpvar), "=X"(usedval) \ +- : "X"(a), "X"(b)); \ ++ : "=&r"(__tmpvar), "=&r"(usedval) \ ++ : "r"(a), "r"(b)); \ + if (usedval) (dval) = (double) (a) * (double) (b); \ + else (lval) = __tmpvar; \ + } while (0)