Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2325300ybl; Mon, 20 Jan 2020 00:29:19 -0800 (PST) X-Google-Smtp-Source: APXvYqxLhQGD5DMv12n9vXdsZmqIPy3cM2li1jPOQEfKxz25HL8saxNMGha2cUBWnmYYmu2PBdqx X-Received: by 2002:a9d:4e92:: with SMTP id v18mr14381564otk.47.1579508959052; Mon, 20 Jan 2020 00:29:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579508959; cv=none; d=google.com; s=arc-20160816; b=VREzp7QTOXk12lxZVambIDS9USSQDLhyn4UPTpsxue4k+iQX/NDyy4mfoEsokabccM vIDXM5tGP+P3UxeZMr9RBTlm7DNoKaq+XBbFBcZWdww/wQI8BpObT34DzGkfwbxP23tZ jO1BF0/s+MzS3zmWm9IANojvE2bJTpcTEKYfC39rJ9cPjEtbpNkLPFw0yHd7u58jYW/T xfegRKdMZjDUkTHvHFqzvwIy+JdK2+Ab5iQPPpiv5L7bDZ+qsEPZHORKw1nODxDJy3QN dxCJRw8+SPPqcM88eg+05dXo5xURvsVAHQbTbiOaLrK/vN5IAL5nfPtDSfhMuyOFiwIc z7+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:date; bh=vdZg2KmWou9gewWUNlJqE4orkUDYyYKVeEMym4DOE94=; b=JQ+OjQpZOP53wwVQAvjYb/c9PQVzlv6CfjNXv4t2YSvbcYdI29ljVRZnGinvHWP7am fxqWjuQksjiNR6TWgRMuTHcKC3GvwwHK0sWIfo59xvz4Wnu+9VBLvFnvV8DtlGLfQ+xx J2QFGkHerYAWnFS7MTxm63E/dubTAy0tKZFI5Ghrul9EFjA9Ofn7kLgRSk1O+5heYUZi Cr3Qca4a+1KwlKW5Y9kaXWsbN7hWMQK2JiUJKhji00CbzXx/B5aSZy9V/u+U8G4B3Tp5 Xek0/tioYoBIRA972Q5rGOhAvL5g1fmRCwVnWQAPf8NfqmOT8KXpj5+3DclJIzqzclbh eKFA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r6si18847804otq.95.2020.01.20.00.29.07; Mon, 20 Jan 2020 00:29:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728811AbgATI1n convert rfc822-to-8bit (ORCPT + 99 others); Mon, 20 Jan 2020 03:27:43 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:60801 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727117AbgATI12 (ORCPT ); Mon, 20 Jan 2020 03:27:28 -0500 Received: from [5.158.153.53] (helo=tip-bot2.lab.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1itSOv-0002sE-7K; Mon, 20 Jan 2020 09:27:13 +0100 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id D5C3A1C1A3F; Mon, 20 Jan 2020 09:27:12 +0100 (CET) Date: Mon, 20 Jan 2020 08:27:12 -0000 From: "tip-bot2 for Jiri Olsa" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: perf/core] perf/ui/gtk: Fix gtk2 build Cc: Ravi Bangoria , Jiri Olsa , Alexander Shishkin , Jelle van der Waa , Michael Petlan , Namhyung Kim , Peter Zijlstra , Arnaldo Carvalho de Melo , x86 , LKML In-Reply-To: <20200113104358.123511-2-jolsa@kernel.org> References: <20200113104358.123511-2-jolsa@kernel.org> MIME-Version: 1.0 Message-ID: <157950883263.396.5587002932428292056.tip-bot2@tip-bot2> X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8BIT X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the perf/core branch of tip: Commit-ID: 93e843f95f095aeb533ab67ac4718f848d38dfa0 Gitweb: https://git.kernel.org/tip/93e843f95f095aeb533ab67ac4718f848d38dfa0 Author: Jiri Olsa AuthorDate: Mon, 13 Jan 2020 11:43:58 +01:00 Committer: Arnaldo Carvalho de Melo CommitterDate: Tue, 14 Jan 2020 12:40:33 -03:00 perf/ui/gtk: Fix gtk2 build Ravi Bangoria reported an issue when doing the gtk2 feature detection on Fedora 31, where some types got deprecated: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: error: ‘GTypeDebugFlags’ is deprecated [-Werror=deprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); Fix this for perf by allowing the compile to pass with deprecated symbols via the -Wno-deprecated-declarations compiler directive. Reported-by: Ravi Bangoria Signed-off-by: Jiri Olsa Tested-by: Ravi Bangoria Cc: Alexander Shishkin Cc: Jelle van der Waa Cc: Michael Petlan Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lore.kernel.org/lkml/20200113104358.123511-2-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/build/feature/Makefile | 2 +- tools/perf/ui/gtk/Build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/build/feature/Makefile b/tools/build/feature/Makefile index f30a890..7ac0d80 100644 --- a/tools/build/feature/Makefile +++ b/tools/build/feature/Makefile @@ -197,7 +197,7 @@ $(OUTPUT)test-libcrypto.bin: $(BUILD) -lcrypto $(OUTPUT)test-gtk2.bin: - $(BUILD) $(shell $(PKG_CONFIG) --libs --cflags gtk+-2.0 2>/dev/null) + $(BUILD) $(shell $(PKG_CONFIG) --libs --cflags gtk+-2.0 2>/dev/null) -Wno-deprecated-declarations $(OUTPUT)test-gtk2-infobar.bin: $(BUILD) $(shell $(PKG_CONFIG) --libs --cflags gtk+-2.0 2>/dev/null) diff --git a/tools/perf/ui/gtk/Build b/tools/perf/ui/gtk/Build index 9b5d5cb..eef708c 100644 --- a/tools/perf/ui/gtk/Build +++ b/tools/perf/ui/gtk/Build @@ -1,4 +1,4 @@ -CFLAGS_gtk += -fPIC $(GTK_CFLAGS) +CFLAGS_gtk += -fPIC $(GTK_CFLAGS) -Wno-deprecated-declarations gtk-y += browser.o gtk-y += hists.o