public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] perf tools: Fix bison-related build failure on CentOS 6
@ 2015-04-29 15:54 Namhyung Kim
  2015-04-29 16:02 ` Jiri Olsa
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Namhyung Kim @ 2015-04-29 15:54 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: Ingo Molnar, Peter Zijlstra, Jiri Olsa, LKML, David Ahern

The YYLTYPE_IS_TRIVIAL is defined in the Build file, but unlike
pmu-bison.c, gcc complained about it for parse-events-bison.c:

    CC       util/parse-events-bison.o
  In file included from util/parse-events.y:16:
  util/parse-events-bison.h:101:1: error: "YYLTYPE_IS_TRIVIAL" redefined
  <command-line>: error: this is the location of the previous definition
  make[3]: *** [util/parse-events-bison.o] Error 1

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
---
 tools/perf/util/Build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/util/Build b/tools/perf/util/Build
index b6c3f39f081a..28af8e2825b3 100644
--- a/tools/perf/util/Build
+++ b/tools/perf/util/Build
@@ -118,7 +118,7 @@ $(OUTPUT)util/pmu-bison.c: util/pmu.y
 
 CFLAGS_parse-events-flex.o  += -w
 CFLAGS_pmu-flex.o           += -w
-CFLAGS_parse-events-bison.o += -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -w
+CFLAGS_parse-events-bison.o += -DYYENABLE_NLS=0 -w
 CFLAGS_pmu-bison.o          += -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -w
 
 $(OUTPUT)util/parse-events.o: $(OUTPUT)util/parse-events-flex.c $(OUTPUT)util/parse-events-bison.c
-- 
2.3.5


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH] perf tools: Fix bison-related build failure on CentOS 6
  2015-04-29 15:54 [PATCH] perf tools: Fix bison-related build failure on CentOS 6 Namhyung Kim
@ 2015-04-29 16:02 ` Jiri Olsa
  2015-04-29 16:11   ` Namhyung Kim
  2015-04-29 16:27 ` Arnaldo Carvalho de Melo
  2015-05-06  3:12 ` [tip:perf/core] " tip-bot for Namhyung Kim
  2 siblings, 1 reply; 10+ messages in thread
From: Jiri Olsa @ 2015-04-29 16:02 UTC (permalink / raw)
  To: Namhyung Kim
  Cc: Arnaldo Carvalho de Melo, Ingo Molnar, Peter Zijlstra, LKML,
	David Ahern

On Thu, Apr 30, 2015 at 12:54:31AM +0900, Namhyung Kim wrote:
> The YYLTYPE_IS_TRIVIAL is defined in the Build file, but unlike
> pmu-bison.c, gcc complained about it for parse-events-bison.c:

any clue why is that? cant see why Fedora is not complaining
over the same sources and RHEL6 fails..

jirka

> 
>     CC       util/parse-events-bison.o
>   In file included from util/parse-events.y:16:
>   util/parse-events-bison.h:101:1: error: "YYLTYPE_IS_TRIVIAL" redefined
>   <command-line>: error: this is the location of the previous definition
>   make[3]: *** [util/parse-events-bison.o] Error 1
> 
> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
> ---
>  tools/perf/util/Build | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/perf/util/Build b/tools/perf/util/Build
> index b6c3f39f081a..28af8e2825b3 100644
> --- a/tools/perf/util/Build
> +++ b/tools/perf/util/Build
> @@ -118,7 +118,7 @@ $(OUTPUT)util/pmu-bison.c: util/pmu.y
>  
>  CFLAGS_parse-events-flex.o  += -w
>  CFLAGS_pmu-flex.o           += -w
> -CFLAGS_parse-events-bison.o += -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -w
> +CFLAGS_parse-events-bison.o += -DYYENABLE_NLS=0 -w
>  CFLAGS_pmu-bison.o          += -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -w
>  
>  $(OUTPUT)util/parse-events.o: $(OUTPUT)util/parse-events-flex.c $(OUTPUT)util/parse-events-bison.c
> -- 
> 2.3.5
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] perf tools: Fix bison-related build failure on CentOS 6
  2015-04-29 16:02 ` Jiri Olsa
@ 2015-04-29 16:11   ` Namhyung Kim
  2015-04-29 16:47     ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 10+ messages in thread
From: Namhyung Kim @ 2015-04-29 16:11 UTC (permalink / raw)
  To: Jiri Olsa
  Cc: Arnaldo Carvalho de Melo, Ingo Molnar, Peter Zijlstra, LKML,
	David Ahern

On Thu, Apr 30, 2015 at 1:02 AM, Jiri Olsa <jolsa@redhat.com> wrote:
> On Thu, Apr 30, 2015 at 12:54:31AM +0900, Namhyung Kim wrote:
>> The YYLTYPE_IS_TRIVIAL is defined in the Build file, but unlike
>> pmu-bison.c, gcc complained about it for parse-events-bison.c:
>
> any clue why is that? cant see why Fedora is not complaining
> over the same sources and RHEL6 fails..

I have no idea.  I just found it during build test using containers,
and had no chance to look into the bison code..

Thanks,
Namhyung


>>
>>     CC       util/parse-events-bison.o
>>   In file included from util/parse-events.y:16:
>>   util/parse-events-bison.h:101:1: error: "YYLTYPE_IS_TRIVIAL" redefined
>>   <command-line>: error: this is the location of the previous definition
>>   make[3]: *** [util/parse-events-bison.o] Error 1
>>
>> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
>> ---
>>  tools/perf/util/Build | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/tools/perf/util/Build b/tools/perf/util/Build
>> index b6c3f39f081a..28af8e2825b3 100644
>> --- a/tools/perf/util/Build
>> +++ b/tools/perf/util/Build
>> @@ -118,7 +118,7 @@ $(OUTPUT)util/pmu-bison.c: util/pmu.y
>>
>>  CFLAGS_parse-events-flex.o  += -w
>>  CFLAGS_pmu-flex.o           += -w
>> -CFLAGS_parse-events-bison.o += -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -w
>> +CFLAGS_parse-events-bison.o += -DYYENABLE_NLS=0 -w
>>  CFLAGS_pmu-bison.o          += -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -w
>>
>>  $(OUTPUT)util/parse-events.o: $(OUTPUT)util/parse-events-flex.c $(OUTPUT)util/parse-events-bison.c
>> --
>> 2.3.5
>>



-- 
Thanks,
Namhyung

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] perf tools: Fix bison-related build failure on CentOS 6
  2015-04-29 15:54 [PATCH] perf tools: Fix bison-related build failure on CentOS 6 Namhyung Kim
  2015-04-29 16:02 ` Jiri Olsa
@ 2015-04-29 16:27 ` Arnaldo Carvalho de Melo
  2015-04-29 17:57   ` Jiri Olsa
  2015-05-06  3:12 ` [tip:perf/core] " tip-bot for Namhyung Kim
  2 siblings, 1 reply; 10+ messages in thread
From: Arnaldo Carvalho de Melo @ 2015-04-29 16:27 UTC (permalink / raw)
  To: Namhyung Kim
  Cc: Ingo Molnar, Peter Zijlstra, Jiri Olsa, Linux Kernel Mailing List

> The YYLTYPE_IS_TRIVIAL is defined in the Build file, but unlike
> pmu-bison.c, gcc complained about it for parse-events-bison.c:
> 
>     CC       util/parse-events-bison.o
>   In file included from util/parse-events.y:16:
>   util/parse-events-bison.h:101:1: error: "YYLTYPE_IS_TRIVIAL" redefined
>   <command-line>: error: this is the location of the previous definition
>   make[3]: *** [util/parse-events-bison.o] Error 1
> 
> Signed-off-by: Namhyung Kim <namhyung@kernel.org>

Ok, so this helps, it builds now on RHEL6.6, which was something I and
Jiri were chasing, but why has it complained for one and not the other?
Ideas?

- Arnaldo

> ---
>  tools/perf/util/Build | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/perf/util/Build b/tools/perf/util/Build
> index b6c3f39f081a..28af8e2825b3 100644
> --- a/tools/perf/util/Build
> +++ b/tools/perf/util/Build
> @@ -118,7 +118,7 @@ $(OUTPUT)util/pmu-bison.c: util/pmu.y
> 
>  CFLAGS_parse-events-flex.o  += -w
>  CFLAGS_pmu-flex.o           += -w
> -CFLAGS_parse-events-bison.o += -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -w
> +CFLAGS_parse-events-bison.o += -DYYENABLE_NLS=0 -w
>  CFLAGS_pmu-bison.o          += -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -w
> 
>  $(OUTPUT)util/parse-events.o: $(OUTPUT)util/parse-events-flex.c
> $(OUTPUT)util/parse-events-bison.c
> --
> 2.3.5

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] perf tools: Fix bison-related build failure on CentOS 6
  2015-04-29 16:11   ` Namhyung Kim
@ 2015-04-29 16:47     ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 10+ messages in thread
From: Arnaldo Carvalho de Melo @ 2015-04-29 16:47 UTC (permalink / raw)
  To: Namhyung Kim
  Cc: Jiri Olsa, Arnaldo Carvalho de Melo, Ingo Molnar, Peter Zijlstra,
	LKML, David Ahern

On Wed, Apr 29, 2015 at 1:11 PM, Namhyung Kim <namhyung@kernel.org> wrote:
> On Thu, Apr 30, 2015 at 1:02 AM, Jiri Olsa <jolsa@redhat.com> wrote:
>> On Thu, Apr 30, 2015 at 12:54:31AM +0900, Namhyung Kim wrote:
>>> The YYLTYPE_IS_TRIVIAL is defined in the Build file, but unlike
>>> pmu-bison.c, gcc complained about it for parse-events-bison.c:
>>
>> any clue why is that? cant see why Fedora is not complaining
>> over the same sources and RHEL6 fails..
>
> I have no idea.  I just found it during build test using containers,
> and had no chance to look into the bison code..

Well, applied tested it on both rhel7, fedora21 and rhel6.6, seems to work,
have it in my perf/core branch at git.kernel.org, that branch now builds on
rhel6.6, after fixing issues with several patches that were making it shadow
some functions (util.h's error(), etc).

If we can get a better message for that, figuring out what that
_IS_TRIVIAL thingy does....

- Arnaldo

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] perf tools: Fix bison-related build failure on CentOS 6
  2015-04-29 16:27 ` Arnaldo Carvalho de Melo
@ 2015-04-29 17:57   ` Jiri Olsa
  2015-04-29 18:14     ` Jiri Olsa
  0 siblings, 1 reply; 10+ messages in thread
From: Jiri Olsa @ 2015-04-29 17:57 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: Namhyung Kim, Ingo Molnar, Peter Zijlstra,
	Linux Kernel Mailing List

On Wed, Apr 29, 2015 at 01:27:40PM -0300, Arnaldo Carvalho de Melo wrote:
> > The YYLTYPE_IS_TRIVIAL is defined in the Build file, but unlike
> > pmu-bison.c, gcc complained about it for parse-events-bison.c:
> > 
> >     CC       util/parse-events-bison.o
> >   In file included from util/parse-events.y:16:
> >   util/parse-events-bison.h:101:1: error: "YYLTYPE_IS_TRIVIAL" redefined
> >   <command-line>: error: this is the location of the previous definition
> >   make[3]: *** [util/parse-events-bison.o] Error 1
> > 
> > Signed-off-by: Namhyung Kim <namhyung@kernel.org>
> 
> Ok, so this helps, it builds now on RHEL6.6, which was something I and
> Jiri were chasing, but why has it complained for one and not the other?
> Ideas?

looks like the RHEL6 gcc/cpp treats this as an error which
is not maskable by '-w' option

anyway I checked the git log history and I'm not sure
why we event have this define, it was added by Ingo
and carried by ever since:

  65f3e56e0c81 perf tools: Remove auto-generated bison/flex files

probably because of the fail I see if I remove it from pmu-bison.o build:

  util/pmu-bison.c:613:6: error: "YYLTYPE_IS_TRIVIAL" is not defined


jirka

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] perf tools: Fix bison-related build failure on CentOS 6
  2015-04-29 17:57   ` Jiri Olsa
@ 2015-04-29 18:14     ` Jiri Olsa
  2015-04-29 18:47       ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 10+ messages in thread
From: Jiri Olsa @ 2015-04-29 18:14 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: Namhyung Kim, Ingo Molnar, Peter Zijlstra,
	Linux Kernel Mailing List

On Wed, Apr 29, 2015 at 07:57:05PM +0200, Jiri Olsa wrote:
> On Wed, Apr 29, 2015 at 01:27:40PM -0300, Arnaldo Carvalho de Melo wrote:
> > > The YYLTYPE_IS_TRIVIAL is defined in the Build file, but unlike
> > > pmu-bison.c, gcc complained about it for parse-events-bison.c:
> > > 
> > >     CC       util/parse-events-bison.o
> > >   In file included from util/parse-events.y:16:
> > >   util/parse-events-bison.h:101:1: error: "YYLTYPE_IS_TRIVIAL" redefined
> > >   <command-line>: error: this is the location of the previous definition
> > >   make[3]: *** [util/parse-events-bison.o] Error 1
> > > 
> > > Signed-off-by: Namhyung Kim <namhyung@kernel.org>
> > 
> > Ok, so this helps, it builds now on RHEL6.6, which was something I and
> > Jiri were chasing, but why has it complained for one and not the other?
> > Ideas?
> 
> looks like the RHEL6 gcc/cpp treats this as an error which
> is not maskable by '-w' option
> 
> anyway I checked the git log history and I'm not sure
> why we event have this define, it was added by Ingo
> and carried by ever since:
> 
>   65f3e56e0c81 perf tools: Remove auto-generated bison/flex files
> 
> probably because of the fail I see if I remove it from pmu-bison.o build:
> 
>   util/pmu-bison.c:613:6: error: "YYLTYPE_IS_TRIVIAL" is not defined

ok, seem's the patch is right and the reason is the
parse error handling that was added just recently

it adds YYLTYPE type (which is not present in pmu-bison.h),
so YYLTYPE_IS_TRIVIAL gets redefined, which is ok in F20
that handle the error via '-w' option, but it's not ok for RHEL6
where the '-w' does not work for this kind of error

jirka

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] perf tools: Fix bison-related build failure on CentOS 6
  2015-04-29 18:14     ` Jiri Olsa
@ 2015-04-29 18:47       ` Arnaldo Carvalho de Melo
  2015-04-29 19:14         ` Jiri Olsa
  0 siblings, 1 reply; 10+ messages in thread
From: Arnaldo Carvalho de Melo @ 2015-04-29 18:47 UTC (permalink / raw)
  To: Jiri Olsa
  Cc: Namhyung Kim, Ingo Molnar, Peter Zijlstra,
	Linux Kernel Mailing List

Em Wed, Apr 29, 2015 at 08:14:14PM +0200, Jiri Olsa escreveu:
> On Wed, Apr 29, 2015 at 07:57:05PM +0200, Jiri Olsa wrote:
> > On Wed, Apr 29, 2015 at 01:27:40PM -0300, Arnaldo Carvalho de Melo wrote:
> > > > The YYLTYPE_IS_TRIVIAL is defined in the Build file, but unlike
> > > > pmu-bison.c, gcc complained about it for parse-events-bison.c:
> > > > 
> > > >     CC       util/parse-events-bison.o
> > > >   In file included from util/parse-events.y:16:
> > > >   util/parse-events-bison.h:101:1: error: "YYLTYPE_IS_TRIVIAL" redefined
> > > >   <command-line>: error: this is the location of the previous definition
> > > >   make[3]: *** [util/parse-events-bison.o] Error 1
> > > > 
> > > > Signed-off-by: Namhyung Kim <namhyung@kernel.org>
> > > 
> > > Ok, so this helps, it builds now on RHEL6.6, which was something I and
> > > Jiri were chasing, but why has it complained for one and not the other?
> > > Ideas?
> > 
> > looks like the RHEL6 gcc/cpp treats this as an error which
> > is not maskable by '-w' option
> > 
> > anyway I checked the git log history and I'm not sure
> > why we event have this define, it was added by Ingo
> > and carried by ever since:
> > 
> >   65f3e56e0c81 perf tools: Remove auto-generated bison/flex files
> > 
> > probably because of the fail I see if I remove it from pmu-bison.o build:
> > 
> >   util/pmu-bison.c:613:6: error: "YYLTYPE_IS_TRIVIAL" is not defined
> 
> ok, seem's the patch is right and the reason is the
> parse error handling that was added just recently
> 
> it adds YYLTYPE type (which is not present in pmu-bison.h),
> so YYLTYPE_IS_TRIVIAL gets redefined, which is ok in F20
> that handle the error via '-w' option, but it's not ok for RHEL6
> where the '-w' does not work for this kind of error

Ok, adding this comment to the changelog, together with your Acked-by,
ok?

- Arnaldo

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] perf tools: Fix bison-related build failure on CentOS 6
  2015-04-29 18:47       ` Arnaldo Carvalho de Melo
@ 2015-04-29 19:14         ` Jiri Olsa
  0 siblings, 0 replies; 10+ messages in thread
From: Jiri Olsa @ 2015-04-29 19:14 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: Namhyung Kim, Ingo Molnar, Peter Zijlstra,
	Linux Kernel Mailing List

On Wed, Apr 29, 2015 at 03:47:54PM -0300, Arnaldo Carvalho de Melo wrote:
> Em Wed, Apr 29, 2015 at 08:14:14PM +0200, Jiri Olsa escreveu:
> > On Wed, Apr 29, 2015 at 07:57:05PM +0200, Jiri Olsa wrote:
> > > On Wed, Apr 29, 2015 at 01:27:40PM -0300, Arnaldo Carvalho de Melo wrote:
> > > > > The YYLTYPE_IS_TRIVIAL is defined in the Build file, but unlike
> > > > > pmu-bison.c, gcc complained about it for parse-events-bison.c:
> > > > > 
> > > > >     CC       util/parse-events-bison.o
> > > > >   In file included from util/parse-events.y:16:
> > > > >   util/parse-events-bison.h:101:1: error: "YYLTYPE_IS_TRIVIAL" redefined
> > > > >   <command-line>: error: this is the location of the previous definition
> > > > >   make[3]: *** [util/parse-events-bison.o] Error 1
> > > > > 
> > > > > Signed-off-by: Namhyung Kim <namhyung@kernel.org>
> > > > 
> > > > Ok, so this helps, it builds now on RHEL6.6, which was something I and
> > > > Jiri were chasing, but why has it complained for one and not the other?
> > > > Ideas?
> > > 
> > > looks like the RHEL6 gcc/cpp treats this as an error which
> > > is not maskable by '-w' option
> > > 
> > > anyway I checked the git log history and I'm not sure
> > > why we event have this define, it was added by Ingo
> > > and carried by ever since:
> > > 
> > >   65f3e56e0c81 perf tools: Remove auto-generated bison/flex files
> > > 
> > > probably because of the fail I see if I remove it from pmu-bison.o build:
> > > 
> > >   util/pmu-bison.c:613:6: error: "YYLTYPE_IS_TRIVIAL" is not defined
> > 
> > ok, seem's the patch is right and the reason is the
> > parse error handling that was added just recently
> > 
> > it adds YYLTYPE type (which is not present in pmu-bison.h),
> > so YYLTYPE_IS_TRIVIAL gets redefined, which is ok in F20
> > that handle the error via '-w' option, but it's not ok for RHEL6
> > where the '-w' does not work for this kind of error
> 
> Ok, adding this comment to the changelog, together with your Acked-by,
> ok?

ook

jirka

> 
> - Arnaldo

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [tip:perf/core] perf tools: Fix bison-related build failure on CentOS 6
  2015-04-29 15:54 [PATCH] perf tools: Fix bison-related build failure on CentOS 6 Namhyung Kim
  2015-04-29 16:02 ` Jiri Olsa
  2015-04-29 16:27 ` Arnaldo Carvalho de Melo
@ 2015-05-06  3:12 ` tip-bot for Namhyung Kim
  2 siblings, 0 replies; 10+ messages in thread
From: tip-bot for Namhyung Kim @ 2015-05-06  3:12 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: mingo, linux-kernel, a.p.zijlstra, jolsa, tglx, acme, namhyung,
	dsahern, hpa

Commit-ID:  539f3aa2ebb42a409bc9028e38af091a86087165
Gitweb:     http://git.kernel.org/tip/539f3aa2ebb42a409bc9028e38af091a86087165
Author:     Namhyung Kim <namhyung@kernel.org>
AuthorDate: Wed, 29 Apr 2015 12:55:00 -0300
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Mon, 4 May 2015 12:43:52 -0300

perf tools: Fix bison-related build failure on CentOS 6

The YYLTYPE_IS_TRIVIAL is defined in the Build file, but unlike
pmu-bison.c, gcc complained about it for parse-events-bison.c:

    CC       util/parse-events-bison.o
  In file included from util/parse-events.y:16:
  util/parse-events-bison.h:101:1: error: "YYLTYPE_IS_TRIVIAL" redefined
  <command-line>: error: this is the location of the previous definition
  make[3]: *** [util/parse-events-bison.o] Error 1

Comments from Jiri Olsa:

"Reason is the parse error handling that was added just recently: it
adds YYLTYPE type (which is not present in pmu-bison.h), so
YYLTYPE_IS_TRIVIAL gets redefined, which is ok in F20 that handle the
error via '-w' option, but it's not ok for RHEL6 where the '-w' does not
work for this kind of error."

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1430322871-18107-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/util/Build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/util/Build b/tools/perf/util/Build
index b6c3f39..28af8e2 100644
--- a/tools/perf/util/Build
+++ b/tools/perf/util/Build
@@ -118,7 +118,7 @@ $(OUTPUT)util/pmu-bison.c: util/pmu.y
 
 CFLAGS_parse-events-flex.o  += -w
 CFLAGS_pmu-flex.o           += -w
-CFLAGS_parse-events-bison.o += -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -w
+CFLAGS_parse-events-bison.o += -DYYENABLE_NLS=0 -w
 CFLAGS_pmu-bison.o          += -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -w
 
 $(OUTPUT)util/parse-events.o: $(OUTPUT)util/parse-events-flex.c $(OUTPUT)util/parse-events-bison.c

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-05-06  3:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-29 15:54 [PATCH] perf tools: Fix bison-related build failure on CentOS 6 Namhyung Kim
2015-04-29 16:02 ` Jiri Olsa
2015-04-29 16:11   ` Namhyung Kim
2015-04-29 16:47     ` Arnaldo Carvalho de Melo
2015-04-29 16:27 ` Arnaldo Carvalho de Melo
2015-04-29 17:57   ` Jiri Olsa
2015-04-29 18:14     ` Jiri Olsa
2015-04-29 18:47       ` Arnaldo Carvalho de Melo
2015-04-29 19:14         ` Jiri Olsa
2015-05-06  3:12 ` [tip:perf/core] " tip-bot for Namhyung Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox