Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3794245ybl; Mon, 13 Jan 2020 02:46:24 -0800 (PST) X-Google-Smtp-Source: APXvYqwISxiUl7PP58EohNRPzH4JLtXn1kg7Kp4PdD7facz8CHD/N5MIeqtAwC8sJOUuPIcRPu2M X-Received: by 2002:aca:814:: with SMTP id 20mr12424823oii.159.1578912384562; Mon, 13 Jan 2020 02:46:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578912384; cv=none; d=google.com; s=arc-20160816; b=W/R/KXkkI00cr6A1VTy5Wj1fSkFA2Tnvi1hepCfStRgIvtXvog79/UlRIkK2FxAuR7 wafkosU+7CxNKG6cTjnQuVxpSwj60W7zIRneG58V6FEPtMWkyQzvmH0zhKM0uDOhs4D7 a7R0uHdKKZEzhtV4nsknVWQlxWJ6Ehb68cy8+Dmt2Ypf9iHz0VgVk9hRdmsPP2aKB7nY SlmK/W353inh4UcrjFFuDqnIbR+EGwdbyM7TPmlE2WMgTXJU5fsjdWSgFddrLwcKJLyt sC90W5z4m9CZbEj2Z1vMZODm3k1zxKbJIPMmW4N5K2g+nD/4l6+i+4qEopZJ8lhe4a61 o81A== 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:mime-version :message-id:date:subject:cc:to:from; bh=BO7aYlpeGwEDauucmxCY8TPVG206hjR/cf4ynO9ZaWg=; b=ENP/CvHrOJJO6AoSk1L172rpPFVVgRh+twMHAz2PXF+J06v/YzzRsEuJdrepHFHecx RbiEbYHbUdCihS9GdylCRjk0PtDr+C9+xQ0kEA+XYWjryWp7sc/4GHrEreCdzLfIceHt zkYapwd9PfOKTr8PpBfjhCRCSL37Bo2b8hvO+eKvTZRhazscpWbxweXTGuoe99LQ2xel YqelXmCDSIFJrXV52x40Sl1/tVu+xVVfy8qNDnBYYmo2KjJBZjBCEPbfK6KcKt5oheya ymNwS2JW/kFrQ+TUuHgCYhBx5oqpR5vDcblqudzvyRo7+TpnKxY2L8tj3SUaqpaj+Xan sf0w== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w131si4841505oie.47.2020.01.13.02.46.13; Mon, 13 Jan 2020 02:46:24 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728813AbgAMKoN convert rfc822-to-8bit (ORCPT + 99 others); Mon, 13 Jan 2020 05:44:13 -0500 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:56581 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726109AbgAMKoJ (ORCPT ); Mon, 13 Jan 2020 05:44:09 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-325-mfJjSqxGOLqaWlj1nET5Kg-1; Mon, 13 Jan 2020 05:44:03 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 393FB801A24; Mon, 13 Jan 2020 10:44:01 +0000 (UTC) Received: from krava.redhat.com (unknown [10.43.17.48]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2F9BF5C21B; Mon, 13 Jan 2020 10:43:59 +0000 (UTC) From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: lkml , Ingo Molnar , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Michael Petlan , Jelle van der Waa Subject: [PATCH 1/2] perf/ui/gtk: Add missing zalloc object Date: Mon, 13 Jan 2020 11:43:57 +0100 Message-Id: <20200113104358.123511-1-jolsa@kernel.org> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-MC-Unique: mfJjSqxGOLqaWlj1nET5Kg-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When we moved zalloc.o to the library we missed gtk library which needs it compiled in, otherwise the missing __zfree symbol will cause the library to fail to load. Adding the zalloc object to the gtk library build. Fixes: 7f7c536f23e6 ("tools lib: Adopt zalloc()/zfree() from tools/perf") Link: https://lkml.kernel.org/n/tip-nuu3lyzzmi2t9zdvlg0i0bh0@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/ui/gtk/Build | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/perf/ui/gtk/Build b/tools/perf/ui/gtk/Build index ec22e899a224..9b5d5cbb7af7 100644 --- a/tools/perf/ui/gtk/Build +++ b/tools/perf/ui/gtk/Build @@ -7,3 +7,8 @@ gtk-y += util.o gtk-y += helpline.o gtk-y += progress.o gtk-y += annotate.o +gtk-y += zalloc.o + +$(OUTPUT)ui/gtk/zalloc.o: ../lib/zalloc.c FORCE + $(call rule_mkdir) + $(call if_changed_dep,cc_o_c) -- 2.24.1