Bug 151651

Summary: Doesn't build with gcc-6
Product: Platform Specific/Hardware Reporter: Elimar Riesebieter (riesebie)
Component: PPC-32Assignee: platform_ppc-32
Status: RESOLVED PATCH_ALREADY_AVAILABLE    
Severity: normal CC: michael
Priority: P1    
Hardware: PPC-32   
OS: Linux   
Kernel Version: 4.4.16 Subsystem:
Regression: No Bisected commit-id:
Attachments: Buildlog of 4.1.16 on ppc-32

Description Elimar Riesebieter 2016-08-06 18:58:31 UTC
Created attachment 227791 [details]
Buildlog of 4.1.16 on ppc-32

4.4.16 doesn't build with gcc-6_6.1.1. 4.7 does. Please find attached faillog.

BTW the same config builds with gcc-5 just fine,

Thanks
Elimar
Comment 1 Michael Ellerman 2016-08-08 10:06:19 UTC
Which config?

Can you apply commit 1e407ee3b21f ("powerpc/ptrace: Fix out of bounds array access warning"), and confirm that fixes it?
Comment 2 Elimar Riesebieter 2016-08-13 12:05:21 UTC
Builds just fine patched "powerpc/ptrace: Fix out of bounds array access warning"
-- 
   Elimar
Comment 3 Elimar Riesebieter 2016-08-13 12:06:58 UTC
(In reply to Elimar Riesebieter from comment #2)
> Builds just fine patched "powerpc/ptrace: Fix out of bounds array access
> warning"
> -- 
>    Elimar