stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [stable request 3.2 3.4 3.10] perf tools: Fix build with perl 5.18
@ 2015-05-21 19:34 Vinson Lee
  2015-06-15  3:44 ` Zefan Li
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Vinson Lee @ 2015-05-21 19:34 UTC (permalink / raw)
  To: stable
  Cc: Kirill A. Shutemov, Ingo Molnar, Paul Mackerras, Peter Zijlstra,
	Arnaldo Carvalho de Melo

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>

Cheers,
Vinson

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

* Re: [stable request 3.2 3.4 3.10] perf tools: Fix build with perl 5.18
  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
  2015-10-08 21:55 ` Ben Hutchings
  2 siblings, 0 replies; 4+ messages in thread
From: Zefan Li @ 2015-06-15  3:44 UTC (permalink / raw)
  To: Vinson Lee
  Cc: stable, Kirill A. Shutemov, Ingo Molnar, Paul Mackerras,
	Peter Zijlstra, Arnaldo Carvalho de Melo

On 2015/5/22 3:34, 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.
> 

Queued up for 3.4. Thanks!

> 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:


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

* Re: [stable request 3.2 3.4 3.10] perf tools: Fix build with perl 5.18
  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
  2015-10-08 21:55 ` Ben Hutchings
  2 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2015-06-29 23:59 UTC (permalink / raw)
  To: Vinson Lee
  Cc: stable, Kirill A. Shutemov, Ingo Molnar, Paul Mackerras,
	Peter Zijlstra, Arnaldo Carvalho de Melo

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 :(

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

* Re: [stable request 3.2 3.4 3.10] perf tools: Fix build with perl 5.18
  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
@ 2015-10-08 21:55 ` Ben Hutchings
  2 siblings, 0 replies; 4+ messages in thread
From: Ben Hutchings @ 2015-10-08 21:55 UTC (permalink / raw)
  To: Vinson Lee, stable
  Cc: Kirill A. Shutemov, Ingo Molnar, Paul Mackerras, Peter Zijlstra,
	Arnaldo Carvalho de Melo

[-- Attachment #1: Type: text/plain, Size: 368 bytes --]

On Thu, 2015-05-21 at 12:34 -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.
[...]

Queued up for 3.2, thanks.

Ben.


-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 811 bytes --]

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

end of thread, other threads:[~2015-10-08 21:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2015-10-08 21:55 ` Ben Hutchings

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).