From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com ([66.111.4.27]:55377 "EHLO out3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754008AbeDPI0h (ORCPT ); Mon, 16 Apr 2018 04:26:37 -0400 Date: Mon, 16 Apr 2018 10:14:24 +0200 From: Greg KH To: Pavlos Parissis Cc: namhyung@kernel.org, stable@vger.kernel.org, dsahern@gmail.com, a.p.zijlstra@chello.nl, wangnan0@huawei.com Subject: Re: Build failure for kernel 4.9.94 for perf Message-ID: <20180416081424.GA31664@kroah.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: stable-owner@vger.kernel.org List-ID: On Sun, Apr 15, 2018 at 02:31:07PM +0200, Pavlos Parissis wrote: > Hi, > > Building 4.9.94 in the same way we have been building previous 4.9 releases yields the following error: > > DEBUG: tests/code-reading.c: In function 'read_object_code': > DEBUG: tests/code-reading.c:228:19: error: 'KMOD_DECOMP_LEN' undeclared (first use in this function) > DEBUG: char decomp_name[KMOD_DECOMP_LEN]; > DEBUG: ^ > DEBUG: tests/code-reading.c:228:19: note: each undeclared identifier is reported only once for each > function it appears in > DEBUG: tests/code-reading.c:291:3: warning: implicit declaration of function > 'dso__decompress_kmodule_path' [-Wimplicit-function-declaration] > DEBUG: if (dso__decompress_kmodule_path(al.map->dso, objdump_name, > DEBUG: ^ > DEBUG: tests/code-reading.c:291:3: warning: nested extern declaration of > 'dso__decompress_kmodule_path' [-Wnested-externs] > DEBUG: tests/code-reading.c:228:7: warning: unused variable 'decomp_name' [-Wunused-variable] > DEBUG: char decomp_name[KMOD_DECOMP_LEN]; > DEBUG: ^ > DEBUG: CC tests/topology.o > DEBUG: CC tests/cpumap.o > DEBUG: CC tests/stat.o > DEBUG: CC tests/event_update.o > DEBUG: mv: cannot stat 'tests/.code-reading.o.tmp': No such file or directory > DEBUG: make[3]: *** [tests/code-reading.o] Error 1 > DEBUG: make[3]: *** Waiting for unfinished jobs.... > DEBUG: make[2]: *** [util] Error 2 > DEBUG: make[1]: *** [libperf-in.o] Error 2 > DEBUG: make[1]: *** Waiting for unfinished jobs.... > DEBUG: LD bench/perf-in.o > DEBUG: make[2]: *** [tests] Error 2 > DEBUG: make[1]: *** [perf-in.o] Error 2 > > As far as I can see, KMOD_DECOMP_LEN was introduced by 7525a238be8f ("perf tests: Decompress kernel > module before objdump"), but I have zero deep knowledge in this area so I may be very wrong here. Yeah, looks like I need to just revert this patch, thanks, I'll do that for the next release. greg k-h