Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1579917

Re: [PATCH] tools:perf:scripting-engines: Fix compile error with some perl5 versions

From Arnaldo Carvalho de Melo <acme@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] tools:perf:scripting-engines: Fix compile error with some perl5 versions
Date 2017-02-13 17:20 +0100
Message-ID <tarw7-63D-21@gated-at.bofh.it> (permalink)
References <t9SoG-py-3@gated-at.bofh.it> <tak1A-18Q-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Em Mon, Feb 13, 2017 at 09:19:18AM +0100, Jiri Olsa escreveu:
> On Sun, Feb 12, 2017 at 10:46:55AM +0800, Wang YanQing wrote:
> > 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@redhat.com>

Thanks, applied.

- Arnaldo

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] tools:perf:scripting-engines: Fix compile error with some  perl5 versions Wang YanQing <udknight@gmail.com> - 2017-02-12 03:50 +0100
  Re: [PATCH] tools:perf:scripting-engines: Fix compile error with  some perl5 versions Jiri Olsa <jolsa@redhat.com> - 2017-02-13 09:20 +0100
    Re: [PATCH] tools:perf:scripting-engines: Fix compile error with  some perl5 versions Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-02-13 17:20 +0100
  [tip:perf/core] perf scripting perl: Fix compile error with some  perl5 versions tip-bot for Wang YanQing <tipbot@zytor.com> - 2017-02-14 07:50 +0100

csiph-web