Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp20753385ybl; Sun, 5 Jan 2020 10:24:37 -0800 (PST) X-Google-Smtp-Source: APXvYqyC5BSZr2pLsgbDshOhgAb/t+Ow1NqwF2wx/rYhctG+tb8LLV4REk01g+yD5Lo5neBTdx5j X-Received: by 2002:a9d:7305:: with SMTP id e5mr106256573otk.64.1578248677478; Sun, 05 Jan 2020 10:24:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578248677; cv=none; d=google.com; s=arc-20160816; b=Dn4Ov3W6CBPixMfpE/juvQYgidArNrflMADJ3Bj2y47TXRVyhhGH4nn49BVHB25Ii6 M5rYHf0n3ff2rJMnig3mn6W9WdQZWfdcPGGGpekBqiAF+x6HKPey3OBfPA1J7UC7D5Hv KDd7BEN/S1dXFa/8WfhyDoXtDD2HNBcCuigQeJNAn+0BIF0Bi4pC+uJ1u9eiZauoVLJO GXS6O5hVlx8Nk5GU2+zCaU2N98Gth9QiZzumaVC7pXCaSePiZy7WiqR2AUOmQTEgWybp 4X/5CYi/pQyhjv0kQ+fy6aRInB3BIl43umzGlI2V6ysoapj5xSAl5cKPj7z4FJcrFihs 8RAw== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=pFgexieOo8s5ZTdI+wBZljsyzdRRarp5io6nKwwYjvc=; b=Xph+aHZS5hd0g5Tq41kk3/+6TvBCVulXAAjsU5g2jpkkRa4pUhPt0rZwosRuPs4Wdl d8rHoUGtda337CveCWkaOAz62t1UT9+pRAAGZrsOWE0TuKxH8eWWY+gmcPPQZFIuRYz2 KyrtXVk8SHuSOHdIL+kSOk8xPXVguukG02bsBEAleOfhQlii0WLzI95ddTSH0yOW5tKL RadGpe+1fI3yO0J7h3HoyRMs36TDwRVitukfrdSasSEwOdx1ozbiYHMXAOpLfM69Hhez kMzUg7PeUu0JmDpRX1cINL0iXftnxJ3zTsi2VW80/FoyDmw++NaUpUwnzofvFZ/YeDsZ xQIQ== 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 y9si24822627oiy.81.2020.01.05.10.24.00; Sun, 05 Jan 2020 10:24:37 -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 S1726446AbgAESVh convert rfc822-to-8bit (ORCPT + 99 others); Sun, 5 Jan 2020 13:21:37 -0500 Received: from mail-yw1-f67.google.com ([209.85.161.67]:35127 "EHLO mail-yw1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726368AbgAESVh (ORCPT ); Sun, 5 Jan 2020 13:21:37 -0500 Received: by mail-yw1-f67.google.com with SMTP id i190so21004086ywc.2; Sun, 05 Jan 2020 10:21:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=jNzJ3vYZFDDHXr/kiJxYUtm1zXNuNEkJhwKO6m42Q6s=; b=YPlPhytVCs9Ft/5LaBV3aNAetAJSiiyZCbWPVuvdr+SueGolrf4XbcivcT13PpcrLO DEgYEwkAmZ7oZkvGwShfhdz5Kohk02Yj4DAquIvu6/dt+tVrUPUtIWcAnWxkDkBIXOZk z1RDG4NKpVl0KjEmgoB6RgiyxpBsk51AxPbeOCa0YeH8rjRYiv7s9i/XlTJopcH4xp9s Y007i0YF6cEjfmZsTFLkr3Y9q65c5vP7y6m14Nw82bFznYrnTRapjg4tNVhj+cv0mHoX mj02ycMpe1VcgWAYtv4/8e9HRRN3iVspKXVRs2FXXOOuAVNljf5DTcs7Vh9WitY6m3G3 1NOg== X-Gm-Message-State: APjAAAWt8wPguPRP0Ck6TGvRO5LXkBkE3v+CfQbNmRR+VMTzLSleA+ua j5ZzlNiBaQfylOsmgsOhxBiiIqK6iAlLzjCgJoU= X-Received: by 2002:a81:bb41:: with SMTP id a1mr71418542ywl.253.1578248495867; Sun, 05 Jan 2020 10:21:35 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Akemi Yagi Date: Sun, 5 Jan 2020 10:21:25 -0800 Message-ID: Subject: Re: 4.9.208 regression in perf building To: Gordan Bobic Cc: stable@vger.kernel.org, Linux Kernel Mailing List , ElRepo , Arnaldo Carvalho de Melo , Jiri Olsa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Adding Arnaldo and Jiri to the CC list. On Sun, Jan 5, 2020 at 9:01 AM Gordan Bobic wrote: > > It looks like 4.9.208 introduces a build regression for perf: > > make -f /builddir/build/BUILD/kernel-4.9.208/linux-4.9.208-1.el7.x86_64/tools/build/Makefile.build > dir=. obj=perf > -c -o builtin-report.o builtin-report.c > builtin-report.c: In function ‘report__setup_sample_type’: > builtin-report.c:296:6: error: ‘dwarf_callchain_users’ undeclared > (first use in this function) > if (dwarf_callchain_users) { > ^ > builtin-report.c:296:6: note: each undeclared identifier is reported > only once for each function it appears in > mv: cannot stat ‘./.builtin-report.o.tmp’: No such file or directory > make[3]: *** [builtin-report.o] Error 1 > make[2]: *** [perf-in.o] Error 2 > make[1]: *** [sub-make] Error 2 > make: *** [all] Error 2 > > 4,9.207 works fine. The regression was caused by the following patch: https://lore.kernel.org/lkml/20191021133834.25998-7-acme@kernel.org/ To fix this, 'dwarf_callchain_users' needs to be declared. Akemi