Current perf tool does not compile anymore on RHEL6
Presumably flex-2.5.35-8.el6.x86_64 doesn't support YY_EXTRA
Problem started with
commit 90e2b22dee908c13df256140a0d6527e3e8ea3f4
Author: Jiri Olsa <[email protected]> Date: Fri Jun 15 14:31:40 2012 +0800
perf/tool: Add support to reuse event grammar to parse out terms
Unfortunately needs several other patches reverted too to revert.
CC /home/ak/lsrc/obj-perf/util/symbol.outil/parse-events.c: In function ‘parse_events__scanner’:util/parse-events.c:695: warning: implicit declaration of function ‘parse_events_lex_init_extra’util/parse-events.c:695: warning: nested extern declaration of ‘parse_events_lex_init_extra’util/parse-events.c:699: error: too many arguments to function ‘parse_events__scan_string’util/parse-events.c:706: error: too many arguments to function ‘parse_events__flush_buffer’util/parse-events.c:707: error: too many arguments to function ‘parse_events__delete_buffer’util/parse-events.c:708: error: too many arguments to function ‘parse_events_lex_destroy’util/parse-events.c: In function ‘parse_events_terms’:util/parse-events.c:722: error: ‘PE_START_TERMS’ undeclared (first use in this function)util/parse-events.c:722: error: (Each undeclared identifier is reported only onceutil/parse-events.c:722: error: for each function it appears in.) util/parse-events.c: In function ‘parse_events’:util/parse-events.c:741: error: ‘PE_START_EVENTS’ undeclared (first use in this function)
Signature · 1 line
[email protected] -- Speaking for myself only
Em Tue, Sep 18, 2012 at 10:29:48AM -0700, Andi Kleen escreveu:
Quoted 4 lines
Presumably flex-2.5.35-8.el6.x86_64 doesn't support
YY_EXTRAProblem started with
Quoted 8 lines
commit
90e2b22dee908c13df256140a0d6527e3e8ea3f4Author: Jiri Olsa <[email protected]> Date: Fri Jun 15 14:31:40 2012 +0800perf/tool: Add support to reuse event grammar to parse out terms
Unfortunately needs several other patches reverted too to revert.
That is really, really strange, since I do work primarily on:
[acme@sandy linux]$ cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.3 (Santiago) [acme@sandy linux]$ rpm -q flex flex-2.5.35-8.el6.x86_64
And haven't noticed such problem...
- Arnaldo
Quoted 5 lines · Andi Kleen
Presumably flex-2.5.35-8.el6.x86_64 doesn't support
YY_EXTRAProblem started with
Quoted 8 lines
commit
90e2b22dee908c13df256140a0d6527e3e8ea3f4Author: Jiri Olsa <[email protected]> Date: Fri Jun 15 14:31:40 2012 +0800perf/tool: Add support to reuse event grammar to parse out terms
Unfortunately needs several other patches reverted too to revert.
sry for late answer I was out last week,
it's strange since we build 6.3 perf on regular basis, I'll check..
jirka
Quoted 13 lines · Jiri Olsa
Quoted 12 lines · Andi Kleen
Presumably flex-2.5.35-8.el6.x86_64 doesn't support
YY_EXTRAProblem started with
commit
90e2b22dee908c13df256140a0d6527e3e8ea3f4Author: Jiri Olsa <[email protected]> Date: Fri Jun 15 14:31:40 2012 +0800perf/tool: Add support to reuse event grammar to parse out terms
Quoted 8 lines
Quoted 1 line
Unfortunately needs several other patches reverted too to revert.
sry for late answer I was out last week,
it's strange since we build 6.3 perf on regular basis, I'll check..
jirka
hm, it builds ok for me with:
# rpm -qa | egrep "(flex|bison)" flex-2.5.35-8.el6.x86_64 bison-2.4.1-5.el6.x86_64
Do you still have the issue?
jirka
Em Mon, Sep 24, 2012 at 02:05:29PM +0200, Jiri Olsa escreveu:
Quoted 19 lines · Jiri Olsa
Quoted 9 lines · Andi Kleen
Quoted 8 lines
Presumably flex-2.5.35-8.el6.x86_64 doesn't support
YY_EXTRAProblem started with
commit
90e2b22dee908c13df256140a0d6527e3e8ea3f4Author: Jiri Olsa <[email protected]> Date: Fri Jun 15 14:31:40 2012 +0800Quoted 8 lines
Quoted 3 lines
perf/tool: Add support to reuse event grammar to parse out terms
Unfortunately needs several other patches reverted too to revert.
sry for late answer I was out last week,
it's strange since we build 6.3 perf on regular basis, I'll check..
Quoted 7 lines
hm, it builds ok for me with:
# rpm -qa | egrep "(flex|bison)" flex-2.5.35-8.el6.x86_64 bison-2.4.1-5.el6.x86_64Do you still have the issue?
Possibly fixed by a patch by Eric Sandeen, see:
https://lkml.org/lkml/2012/9/20/691
- Arnaldo