From patchwork Thu Sep 20 20:42:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Brodkin X-Patchwork-Id: 972709 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=synopsys.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="hbP5A5fR"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.b="jBN4WpHO"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42GTFl38Myz9s8T for ; Fri, 21 Sep 2018 06:43:07 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=rNoS62o1lBKJhsqsnjBzay4tCa3HhzczEJH/E03J7Qs=; b=hbP5A5fRg1mEDz4kLXvc0fIzW/ z8nNwIBJma9e4d2cTYYhomU62K+QkwIqCGoUvKAGySJQOuYme0QrQSAi2ZxE8Lepl1xe6In65fXWD 2+G0Yxwd4NqGo4WU4BL5DstxQNi1WhZwE6uXaRSVYdFoM+AnnJCp9FS8ea+Aa4pw688YlF1UR6nv4 TSYWO+a3Z6IXLS9IdlaNz6Pfvvb6Q4YK7dNWEiQnxYmdXq3/O1ytTvADxPUm7Bq51aQLXw2gQ8COa LPVyxWjEEuctVHZJT5foNWnbfzKRAh6Mjk4E6ir0knJFegh3z20oB6/yp3jUVNY8zS3MfE4VaOSn+ uGHJLQdg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g35my-0003ma-8b; Thu, 20 Sep 2018 20:43:04 +0000 Received: from smtprelay.synopsys.com ([198.182.47.9]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g35mr-0003k2-Bc for linux-snps-arc@lists.infradead.org; Thu, 20 Sep 2018 20:42:59 +0000 Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by smtprelay.synopsys.com (Postfix) with ESMTP id 4879124E0F69; Thu, 20 Sep 2018 13:42:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1537476174; bh=evNN0Mn1hS1oG5IXKykwc0zTrywMysrfkYsrp8APJ5M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jBN4WpHO7K0ShK9uewleC8TGOEyUruQJCTsRDS4WctotABJ/XYiSlGN9ljemztTVa bH46HRR2XEL1ex33wk5sxbBjQQfAqIB1YFGpiQDOvSwDqNxMk/pQ1BvdjhGPBqSzEj vhyje7fDDwlmlvTtQybkFy1o1EKR6R15GcmNVJnjiTfxB/WgSfw4EN77bVyKs4hi8T rgi5DWKBSgpQ6nU973rivL1Pl9VvJXOwRinOmCDQmOx+OG3gL1BE93QifHHoqCSlVc LTgfPihHYCxaFg1uqdVUYSR1BJZFv3tx+S9M9RRXmIrCX+D+t5l05iv7UllFy8QMj8 KNsYKopH4guBQ== Received: from ru20arcgnu1.internal.synopsys.com (ru20arcgnu1.internal.synopsys.com [10.121.9.48]) by mailhost.synopsys.com (Postfix) with ESMTP id 1A0633B0B; Thu, 20 Sep 2018 13:42:52 -0700 (PDT) From: Alexey Brodkin To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 6/9] icu: Add ARC support Date: Thu, 20 Sep 2018 23:42:29 +0300 Message-Id: <20180920204232.10583-7-abrodkin@synopsys.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180920204232.10583-1-abrodkin@synopsys.com> References: <20180920204232.10583-1-abrodkin@synopsys.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180920_134257_423710_4F459C47 X-CRM114-Status: GOOD ( 14.93 ) X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [198.182.47.9 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-snps-arc@lists.infradead.org, Alexey Brodkin , Khem Raj MIME-Version: 1.0 Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Signed-off-by: Alexey Brodkin --- Changes v1 -> v2: * Added upstream status .../icu/icu/0002-Add-ARC-support.patch | 27 ++++++++++++++++++++++ meta/recipes-support/icu/icu_62.1.bb | 1 + 2 files changed, 28 insertions(+) create mode 100644 meta/recipes-support/icu/icu/0002-Add-ARC-support.patch diff --git a/meta/recipes-support/icu/icu/0002-Add-ARC-support.patch b/meta/recipes-support/icu/icu/0002-Add-ARC-support.patch new file mode 100644 index 0000000000..20e3d8356c --- /dev/null +++ b/meta/recipes-support/icu/icu/0002-Add-ARC-support.patch @@ -0,0 +1,27 @@ +From fcfd57105b4bdb30d906df152ef01748fa95daff Mon Sep 17 00:00:00 2001 +From: Alexey Brodkin +Date: Thu, 13 Sep 2018 17:13:20 +0300 +Subject: [PATCH] icu: Add ARC support + +Signed-off-by: Alexey Brodkin + +Upstream-Status: Submitted [ https://github.com/unicode-org/icu/pull/149 ] +--- + i18n/double-conversion-utils.h | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/i18n/double-conversion-utils.h b/i18n/double-conversion-utils.h +index 57fc49b231a3..0bd3e8340673 100644 +--- a/i18n/double-conversion-utils.h ++++ b/i18n/double-conversion-utils.h +@@ -86,7 +86,7 @@ inline void abort_noreturn() { abort(); } + defined(__SH4__) || defined(__alpha__) || \ + defined(_MIPS_ARCH_MIPS32R2) || \ + defined(__AARCH64EL__) || defined(__aarch64__) || \ +- defined(__riscv) ++ defined(__riscv) || defined(__arc__) + #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 + #elif defined(__mc68000__) + #undef DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS +2.17.1 + diff --git a/meta/recipes-support/icu/icu_62.1.bb b/meta/recipes-support/icu/icu_62.1.bb index ec9db7de84..4e3750b997 100644 --- a/meta/recipes-support/icu/icu_62.1.bb +++ b/meta/recipes-support/icu/icu_62.1.bb @@ -16,6 +16,7 @@ BASE_SRC_URI = "http://download.icu-project.org/files/icu4c/${PV}/icu4c-${ICU_PV SRC_URI = "${BASE_SRC_URI} \ file://icu-pkgdata-large-cmd.patch \ file://fix-install-manx.patch \ + file://0002-Add-ARC-support.patch \ " SRC_URI_append_class-target = "\