From: Greg KH <greg@kroah.com>
To: Vinson Lee <vlee@twopensource.com>
Cc: stable@vger.kernel.org,
"Kirill A. Shutemov" <kirill@shutemov.name>,
Ingo Molnar <mingo@redhat.com>, Paul Mackerras <paulus@samba.org>,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
Arnaldo Carvalho de Melo <acme@redhat.com>
Subject: Re: [stable request 3.2 3.4 3.10] perf tools: Fix build with perl 5.18
Date: Mon, 29 Jun 2015 16:59:29 -0700 [thread overview]
Message-ID: <20150629235929.GD29763@kroah.com> (raw)
In-Reply-To: <CAHTgTXU7TbaBMk=pcWyLUQ-Bkv1OAcETsTCZK-Ymkrstw_+p+A@mail.gmail.com>
On Thu, May 21, 2015 at 12:34:40PM -0700, Vinson Lee wrote:
> Hi.
>
> Please backport upstream 3.12 commit
> 575bf1d04e908469d26da424b52fc1b12a1db9d8 "perf tools: Fix build with
> perl 5.18" to stable kernels 3.2, 3.4, and 3.10.
>
> commit 575bf1d04e908469d26da424b52fc1b12a1db9d8
> Author: Kirill A. Shutemov <kirill@shutemov.name>
> Date: Mon Jun 24 11:43:14 2013 +0300
>
> perf tools: Fix build with perl 5.18
>
> perl.h from new Perl release doesn't like -Wundef and -Wswitch-default:
>
> /usr/lib/perl5/core_perl/CORE/perl.h:548:5: error:
> "SILENT_NO_TAINT_SUPPORT" is not defined [-Werror=undef]
> #if SILENT_NO_TAINT_SUPPORT && !defined(NO_TAINT_SUPPORT)
> ^
> /usr/lib/perl5/core_perl/CORE/perl.h:556:5: error:
> "NO_TAINT_SUPPORT" is not defined [-Werror=undef]
> #if NO_TAINT_SUPPORT
> ^
> In file included from /usr/lib/perl5/core_perl/CORE/perl.h:3471:0,
> from util/scripting-engines/trace-event-perl.c:30:
> /usr/lib/perl5/core_perl/CORE/sv.h:1455:5: error:
> "NO_TAINT_SUPPORT" is not defined [-Werror=undef]
> #if NO_TAINT_SUPPORT
> ^
> In file included from /usr/lib/perl5/core_perl/CORE/perl.h:3472:0,
> from util/scripting-engines/trace-event-perl.c:30:
> /usr/lib/perl5/core_perl/CORE/regexp.h:436:5: error:
> "NO_TAINT_SUPPORT" is not defined [-Werror=undef]
> #if NO_TAINT_SUPPORT
> ^
> In file included from /usr/lib/perl5/core_perl/CORE/hv.h:592:0,
> from /usr/lib/perl5/core_perl/CORE/perl.h:3480,
> from util/scripting-engines/trace-event-perl.c:30:
> /usr/lib/perl5/core_perl/CORE/hv_func.h: In function
> ‘S_perl_hash_siphash_2_4’:
> /usr/lib/perl5/core_perl/CORE/hv_func.h:222:3: error: switch
> missing default case [-Werror=switch-default]
> switch( left )
> ^
> /usr/lib/perl5/core_perl/CORE/hv_func.h: In function
> ‘S_perl_hash_superfast’:
> /usr/lib/perl5/core_perl/CORE/hv_func.h:274:5: error: switch
> missing default case [-Werror=switch-default]
> switch (rem) { \
> ^
> /usr/lib/perl5/core_perl/CORE/hv_func.h: In function ‘S_perl_hash_murmur3’:
> /usr/lib/perl5/core_perl/CORE/hv_func.h:398:5: error: switch
> missing default case [-Werror=switch-default]
> switch(bytes_in_carry) { /* how many bytes in carry */
> ^
>
> Let's disable the warnings for code which uses perl.h.
>
> Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
> Cc: Ingo Molnar <mingo@redhat.com>
> Cc: Paul Mackerras <paulus@samba.org>
> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
> Link: http://lkml.kernel.org/r/1372063394-20126-1-git-send-email-kirill@shutemov.name
> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Doesn't apply to 3.10-stable :(
next prev parent reply other threads:[~2015-06-29 23:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-21 19:34 [stable request 3.2 3.4 3.10] perf tools: Fix build with perl 5.18 Vinson Lee
2015-06-15 3:44 ` Zefan Li
2015-06-29 23:59 ` Greg KH [this message]
2015-10-08 21:55 ` Ben Hutchings
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=20150629235929.GD29763@kroah.com \
--to=greg@kroah.com \
--cc=a.p.zijlstra@chello.nl \
--cc=acme@redhat.com \
--cc=kirill@shutemov.name \
--cc=mingo@redhat.com \
--cc=paulus@samba.org \
--cc=stable@vger.kernel.org \
--cc=vlee@twopensource.com \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.