From patchwork Wed Oct 31 18:54:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Brodkin X-Patchwork-Id: 991641 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="Ru2oBCbH"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.b="WrkrJZyv"; 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 42lcvw2G9Tz9s8J for ; Thu, 1 Nov 2018 05:54:48 +1100 (AEDT) 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: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:In-Reply-To: References:List-Owner; bh=Tsh2t1S4T/BoIeT0D5CMkiS2m55BQ9s09mynWfI/XdE=; b=Ru2 oBCbHCeGtUL0N3jyYLr8tlooCE56dHydeTrlC+fgL3Te5PItq/+yBdWbqlm1CSxiOemJ8/wR4uT4L u1T0IeHAodUpFT112XdpCL+LTbobClb8Z07RuGw5UJP5ev4xGid/c64ss311EYCzv059nq68SlRgt SDlOqTsJD/NGYCQzMg+2SNCShsi2MRDydYlf08kCbwujpFPEGLDjyeazp+hxT1x9InZxVlmnTBAi6 oWj1ZmfpCuxUGjH0Dk9Tq0bGecRRXvUqMPcML/ZfqMABrFkEvZ2QLapVqZ4Fin1L0gz8eKZZ/WkRS Yn4Os+Xrd/cz69A9RLkz6VMOkZM9FwA==; 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 1gHvde-00040Z-Mh; Wed, 31 Oct 2018 18:54:46 +0000 Received: from smtprelay.synopsys.com ([198.182.60.111]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gHvdc-0003y0-Fz for linux-snps-arc@lists.infradead.org; Wed, 31 Oct 2018 18:54:45 +0000 Received: from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239]) by smtprelay.synopsys.com (Postfix) with ESMTP id 8890010C0C47; Wed, 31 Oct 2018 11:54:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1541012069; bh=HTkVgJkb9O8BI7pB1RDR0DOlSnpvRTGkNWmBzt62AFc=; h=From:To:Cc:Subject:Date:From; b=WrkrJZyv0Ohx+pfOId049FRfzTWpXvNWrhFx2vaI/YR213WbyPT+fCIMRVEHdyxkY kl5IcSTlp+aVQX9mggiY+djBeIxdEk4g8VKKAjdJlPF4iA/lAce21oMr/Ni+EJQ4L8 lpvQS2XT5b3D++ggSKjwzw3L78Y5qJyhZJGNNGbrkjjt8oNSL+rlmMftko5OZbSCWX C7dhmBGfJSF0gMjBlbfFhv5aSApD7QX1TcmhBzGsWaqIWX6GsJgTA6CPl56rWAigRX 3O8JlIY2ML/VsdVzKxFemZfhTzbqa/fhrAVFIdF1YAt2QHD3D9VnlX2VQpRvQo1nfy MMsS+NtvMkddA== Received: from ru20arcgnu1.internal.synopsys.com (ru20arcgnu1.internal.synopsys.com [10.121.9.48]) by mailhost.synopsys.com (Postfix) with ESMTP id 1432A635C; Wed, 31 Oct 2018 11:54:27 -0700 (PDT) From: Alexey Brodkin To: openembedded-core@lists.openembedded.org Subject: [PATCH] perf: Disable libunwind for ARC & RISCV64 Date: Wed, 31 Oct 2018 21:54:23 +0300 Message-Id: <20181031185423.21100-1-abrodkin@synopsys.com> X-Mailer: git-send-email 2.16.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181031_115444_552266_E0C8ECEE X-CRM114-Status: UNSURE ( 9.15 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [198.182.60.111 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -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 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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 , Ross Burton , Khem Raj MIME-Version: 1.0 Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org libunwind is not yet ported for ARC & RISCV64 and on attempt to build it for those arches we just get an error message. If we explicitly disable libunwind it is gracefully handled by perf build system and it just gets configured to not use it so perf is still usable even on those arches. Signed-off-by: Alexey Brodkin Cc: Khem Raj --- meta/recipes-kernel/perf/perf.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index af099043e1..bae4948751 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb @@ -26,6 +26,10 @@ PACKAGECONFIG[jvmti] = ",NO_JVMTI=1" PACKAGECONFIG[audit] = ",NO_LIBAUDIT=1,audit" PACKAGECONFIG[manpages] = ",,xmlto-native asciidoc-native" +# libunwind is not yet ported for some architectures +PACKAGECONFIG_remove_arc = "libunwind" +PACKAGECONFIG_remove_riscv64 = "libunwind" + DEPENDS = " \ virtual/${MLPREFIX}libc \ ${MLPREFIX}elfutils \