From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 77530C43603 for ; Mon, 16 Dec 2019 16:20:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4B2CF206E0 for ; Mon, 16 Dec 2019 16:20:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576513232; bh=+W3HJxf8mYgXKDeK2Y+jemjrghe0yTj6JOxN73ZJi3E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=uvjxnUAH1hgiewkq7li/NlRHzVUFPIdbzCkKwex5PnphSquxRrY4xej8nnk2K3g82 G8lc2RR14eVZu7znwR6k/RBKZmf8air3KioAI//N3hPhA/TcDH+uYE3oIFsLN4tTqL KJQEYY8ms/RLSD8TZsuE/6ZLKXdXjPvmoKyQKha4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726545AbfLPQUb (ORCPT ); Mon, 16 Dec 2019 11:20:31 -0500 Received: from mail.kernel.org ([198.145.29.99]:39202 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725805AbfLPQUa (ORCPT ); Mon, 16 Dec 2019 11:20:30 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F06F02067C; Mon, 16 Dec 2019 16:20:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576513229; bh=+W3HJxf8mYgXKDeK2Y+jemjrghe0yTj6JOxN73ZJi3E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YNh6WZJvNuoZQvXRqRB6YKK5MKCzFq1ZLNadsR2AX5bddtdSx9VVXsa0BjWk+J9JW 4ZUzJVkSYiflK7f8JQKn3nyM38/lRadAB5mrnp6xP3z5YheK50GoThffOnnly7o7H8 UHezaRQ5zU4vYMeOLzWSuPB44a8mINvGRF8SDzY0= Date: Mon, 16 Dec 2019 17:20:27 +0100 From: Greg Kroah-Hartman To: Naresh Kamboju Cc: Arnaldo Carvalho de Melo , Sasha Levin , Ingo Molnar , Thomas Gleixner , Jiri Olsa , Namhyung Kim , Clark Williams , open list , linux-perf-users@vger.kernel.org, Leo Yan , Alexander Shishkin , Mark Rutland , Peter Zijlstra , Wang Nan , linux- stable , Arnaldo Carvalho de Melo , lkft-triage@lists.linaro.org Subject: Re: [PATCH 56/63] perf tests: Fix out of bounds memory access Message-ID: <20191216162027.GA2227094@kroah.com> References: <20191107190011.23924-1-acme@kernel.org> <20191107190011.23924-57-acme@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 16, 2019 at 09:37:02PM +0530, Naresh Kamboju wrote: > This patch merged into stable-rc tree and perf build failed on OE for > Linaro builds for 5.3, 4.19, 4.14 and 4.9. > Please find build error logs here, > > tests/backward-ring-buffer.c: In function 'test__backward_ring_buffer': > tests/backward-ring-buffer.c:147:2: warning: implicit declaration of > function 'evlist__close'; did you mean 'perf_evlist__close'? > [-Wimplicit-function-declaration] > evlist__close(evlist); > ^~~~~~~~~~~~~ > perf_evlist__close > tests/backward-ring-buffer.c:147:2: warning: nested extern declaration > of 'evlist__close' [-Wnested-externs] > tests/backward-ring-buffer.c:149:8: warning: implicit declaration of > function 'evlist__open'; did you mean 'perf_evlist__open'? > [-Wimplicit-function-declaration] > err = evlist__open(evlist); > ^~~~~~~~~~~~ > perf_evlist__open > tests/backward-ring-buffer.c:149:8: warning: nested extern declaration > of 'evlist__open' [-Wnested-externs] > perf/1.0-r9/recipe-sysroot/usr/lib/python2.7/config/libpython2.7.a(posixmodule.o): > In function `posix_tmpnam': > /usr/src/debug/python/2.7.15-r1/Python-2.7.15/Modules/posixmodule.c:7648: > warning: the use of `tmpnam_r' is dangerous, better use `mkstemp' > perf/1.0-r9/recipe-sysroot/usr/lib/python2.7/config/libpython2.7.a(posixmodule.o): > In function `posix_tempnam': > /usr/src/debug/python/2.7.15-r1/Python-2.7.15/Modules/posixmodule.c:7595: > warning: the use of `tempnam' is dangerous, better use `mkstemp' > perf/1.0-r9/perf-1.0/perf-in.o: In function `test__backward_ring_buffer': > perf/1.0-r9/perf-1.0/tools/perf/tests/backward-ring-buffer.c:147: > undefined reference to `evlist__close' > perf/1.0-r9/perf-1.0/tools/perf/tests/backward-ring-buffer.c:149: > undefined reference to `evlist__open' > > Full log can be found at, > https://ci.linaro.org/view/lkft/job/openembedded-lkft-linux-stable-rc-5.3/DISTRO=lkft,MACHINE=hikey,label=docker-lkft/72/consoleText > https://ci.linaro.org/view/lkft/job/openembedded-lkft-linux-stable-rc-4.19/DISTRO=lkft,MACHINE=intel-corei7-64,label=docker-lkft/378/consoleText > https://ci.linaro.org/view/lkft/job/openembedded-lkft-linux-stable-rc-4.14/DISTRO=lkft,MACHINE=intel-corei7-64,label=docker-lkft/675/consoleText > https://ci.linaro.org/view/lkft/job/openembedded-lkft-linux-stable-rc-4.9/DISTRO=lkft,MACHINE=intel-corei7-64,label=docker-lkft/753/consoleText > Good catch, thanks, I'll go drop it from all of these queues. greg k-h