diff options
author | Wang YanQing <udknight@gmail.com> | 2017-02-12 10:46:55 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-02-13 17:22:32 -0300 |
commit | d7dd112ea5cacf91ae72c0714c3b911eb6016fea (patch) | |
tree | ec789af7564a1c6ef54a90b7a28d603c526eff3c /tools/lib | |
parent | be57b3fd218ad4a19725ac4bd53e67b2ede42a9d (diff) | |
download | linux-stable-d7dd112ea5cacf91ae72c0714c3b911eb6016fea.tar.gz linux-stable-d7dd112ea5cacf91ae72c0714c3b911eb6016fea.tar.bz2 linux-stable-d7dd112ea5cacf91ae72c0714c3b911eb6016fea.zip |
perf scripting perl: Fix compile error with some perl5 versions
Fix below compile error:
CC util/scripting-engines/trace-event-perl.o
In file included from /usr/lib/perl5/5.22.2/i686-linux/CORE/perl.h:5673:0,
from util/scripting-engines/trace-event-perl.c:31:
/usr/lib/perl5/5.22.2/i686-linux/CORE/inline.h: In function 'S__is_utf8_char_slow':
/usr/lib/perl5/5.22.2/i686-linux/CORE/inline.h:270:5: error: nested extern declaration of 'Perl___notused' [-Werror=nested-externs]
dTHX; /* The function called below requires thread context */
^
cc1: all warnings being treated as errors
After digging perl5 repository, I find out that we will meet this
compile error with perl from v5.21.1 to v5.25.4
Signed-off-by: Wang YanQing <udknight@gmail.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20170212024655.GA15997@udknight
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/lib')
0 files changed, 0 insertions, 0 deletions