Re: gcc trunk fails to build kernel on PowerPC64 due to oprofile warnings
Robert Richter <[email protected]>
| Newsgroups | gmane.linux.oprofile,gmane.linux.ports.ppc64.devel |
|---|---|
| Message-ID | <[email protected]> |
On 26.01.17 10:46:43, William Cohen wrote: > From 7e46dbd7dc5bc941926a4a63c28ccebf46493e8d Mon Sep 17 00:00:00 2001 > From: William Cohen <[email protected]> > Date: Thu, 26 Jan 2017 10:33:59 -0500 > Subject: [PATCH] Avoid hypthetical string truncation in oprofile stats buffer > MIME-Version: 1.0 > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: 8bit > > Increased the size of an internal oprofile driver buffer ensuring that > the string was never truncated for any possible int value to avoid the > following gcc-7 compiler error on ppc when building the kernel: Please test gcc7 for other archs first. I don't think this is the only change needed to avoid this warning in oprofile code. Thanks, -Robert ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot