Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756850Ab2EDBlY (ORCPT ); Thu, 3 May 2012 21:41:24 -0400 Received: from mail-pz0-f46.google.com ([209.85.210.46]:60018 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754053Ab2EDBlX (ORCPT ); Thu, 3 May 2012 21:41:23 -0400 Date: Thu, 3 May 2012 18:41:20 -0700 From: Greg KH To: Namhyung Kim Cc: Peter Zijlstra , Paul Mackerras , Ingo Molnar , Arnaldo Carvalho de Melo , Jiri Olsa , Arnaud Lacombe , linux-kernel@vger.kernel.org Subject: Re: perf build failure on Linus's tree Message-ID: <20120504014120.GA9005@kroah.com> References: <20120503215748.GA18995@kroah.com> <87sjfgafqj.fsf@sejong.aot.lge.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87sjfgafqj.fsf@sejong.aot.lge.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1837 Lines: 55 On Fri, May 04, 2012 at 10:37:24AM +0900, Namhyung Kim wrote: > Hi, > > On Thu, 3 May 2012 14:57:48 -0700, Greg KH wrote: > > Linus's tree right now (3.4.rc5.67.gac001.dirty) gives me the following > > build error when I try to build perf: > > CC util/parse-events-flex.o > > : In function ‘yy_get_next_buffer’: > > :1510:3: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] > > util/parse-events.l: In function ‘parse_events_lex’: > > util/parse-events.l:122:1: error: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result [-Werror=unused-result] > > cc1: all warnings being treated as errors > > > > Do you really want to ensure that flex's build warnings fail the build? > > > > thanks, > > > > greg k-h > > Can't reproduce it on my Fedora 17 box: > > namhyung@sejong:perf$ make > PERF_VERSION = 3.4.rc5.67.gac001 > GEN common-cmds.h > * new build flags or prefix > CC perf.o > CC builtin-annotate.o > CC builtin-bench.o > CC bench/sched-messaging.o > CC bench/sched-pipe.o > [SNIP] > CC util/trace-event-parse.o > CC util/parse-events-flex.o > CC util/parse-events-bison.o > CC util/pmu-flex.o > CC util/pmu-bison.o > [SNIP] > CC util/scripting-engines/trace-event-python.o > CC scripts/python/Perf-Trace-Util/Context.o > AR libperf.a > LINK perf > GEN perf-archive > GEN python/perf.so > > > What are versions of tools you are using? gcc 4.6.2 from openSUSE 12.1. Any other tools you want to know the version of? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/