From: "tip-bot for Kirill A. Shutemov" <kirill@shutemov.name> To: linux-tip-commits@vger.kernel.org Cc: acme@redhat.com, linux-kernel@vger.kernel.org, paulus@samba.org, mingo@redhat.com, hpa@zytor.com, mingo@kernel.org, a.p.zijlstra@chello.nl, namhyung@kernel.org, tglx@linutronix.de, kirill@shutemov.name Subject: [tip:perf/core] perf tools: Fix build error with bison 2.6 Date: Wed, 25 Jul 2012 12:30:56 -0700 [thread overview] Message-ID: <tip-043d1a5c14e95212dbf48251051804ede1ed1862@git.kernel.org> (raw) In-Reply-To: <20120723210407.GA25186@shutemov.name> Commit-ID: 043d1a5c14e95212dbf48251051804ede1ed1862 Gitweb: http://git.kernel.org/tip/043d1a5c14e95212dbf48251051804ede1ed1862 Author: Kirill A. Shutemov <kirill@shutemov.name> AuthorDate: Tue, 24 Jul 2012 00:04:07 +0300 Committer: Arnaldo Carvalho de Melo <acme@redhat.com> CommitDate: Wed, 25 Jul 2012 11:49:19 -0300 perf tools: Fix build error with bison 2.6 Bison 2.6 started to generate parse_events_parse() declaration in header. In this case we have redundant redeclaration: util/parse-events.c:29:5: error: redundant redeclaration of ‘parse_events_parse’ [-Werror=redundant-decls] In file included from util/parse-events.c:14:0: util/parse-events-bison.h:99:5: note: previous declaration of ‘parse_events_parse’ was here cc1: all warnings being treated as errors Let's disable -Wredundant-decls for util/parse-events.c since it includes header we can't control. Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> Cc: Ingo Molnar <mingo@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/20120723210407.GA25186@shutemov.name Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> --- tools/perf/Makefile | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/tools/perf/Makefile b/tools/perf/Makefile index e8f0579..77f124f 100644 --- a/tools/perf/Makefile +++ b/tools/perf/Makefile @@ -804,6 +804,9 @@ $(OUTPUT)ui/browsers/map.o: ui/browsers/map.c $(OUTPUT)PERF-CFLAGS $(OUTPUT)util/rbtree.o: ../../lib/rbtree.c $(OUTPUT)PERF-CFLAGS $(QUIET_CC)$(CC) -o $@ -c $(ALL_CFLAGS) -DETC_PERFCONFIG='"$(ETC_PERFCONFIG_SQ)"' $< +$(OUTPUT)util/parse-events.o: util/parse-events.c $(OUTPUT)PERF-CFLAGS + $(QUIET_CC)$(CC) -o $@ -c $(ALL_CFLAGS) -Wno-redundant-decls $< + $(OUTPUT)util/scripting-engines/trace-event-perl.o: util/scripting-engines/trace-event-perl.c $(OUTPUT)PERF-CFLAGS $(QUIET_CC)$(CC) -o $@ -c $(ALL_CFLAGS) $(PERL_EMBED_CCOPTS) -Wno-redundant-decls -Wno-strict-prototypes -Wno-unused-parameter -Wno-shadow $<
prev parent reply other threads:[~2012-07-25 19:31 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-07-23 15:00 [PATCH 1/2] perf: fix build error Kirill A. Shutemov 2012-07-23 15:00 ` [PATCH 2/2] perf: use XSI-complaint version of strerror_r() instead of GNU-specific Kirill A. Shutemov 2012-07-23 18:00 ` Ulrich Drepper 2012-07-23 20:31 ` Kirill A. Shutemov 2012-07-23 20:48 ` Ulrich Drepper 2012-07-23 21:06 ` Kirill A. Shutemov 2012-07-23 22:03 ` Ulrich Drepper 2012-07-24 0:56 ` Namhyung Kim 2012-07-25 19:30 ` [tip:perf/core] perf tools: " tip-bot for Kirill A. Shutemov 2012-07-23 18:02 ` [PATCH 1/2] perf: fix build error Arnaldo Carvalho de Melo 2012-07-23 18:16 ` Kirill A. Shutemov 2012-07-23 18:18 ` Arnaldo Carvalho de Melo 2012-07-23 19:51 ` Kirill A. Shutemov 2012-07-23 21:04 ` Kirill A. Shutemov 2012-07-24 0:38 ` Namhyung Kim 2012-07-25 19:30 ` tip-bot for Kirill A. Shutemov [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=tip-043d1a5c14e95212dbf48251051804ede1ed1862@git.kernel.org \ --to=kirill@shutemov.name \ --cc=a.p.zijlstra@chello.nl \ --cc=acme@redhat.com \ --cc=hpa@zytor.com \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-tip-commits@vger.kernel.org \ --cc=mingo@kernel.org \ --cc=mingo@redhat.com \ --cc=namhyung@kernel.org \ --cc=paulus@samba.org \ --cc=tglx@linutronix.de \ --subject='Re: [tip:perf/core] perf tools: Fix build error with bison 2.6' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.