Re: [PATCH] gcov: add support for GCC 14
From: Peter Oberparleiter
Date: Wed Jun 12 2024 - 05:15:28 EST
On 10.06.2024 19:45, Andrew Morton wrote:
> On Mon, 10 Jun 2024 09:41:19 -0400 Chuck Lever <chuck.lever@xxxxxxxxxx> wrote:
>> On Mon, Jun 10, 2024 at 11:27:43AM +0200, Peter Oberparleiter wrote:
>>> Using gcov on kernels compiled with GCC 14 results in truncated 16-byte
>>> long .gcda files with no usable data. To fix this, update GCOV_COUNTERS
>>> to match the value defined by GCC 14.
>>>
>>> Tested with GCC versions 14.1.0 and 13.2.0.
>>>
>>
>> ...
>>
>> Tested-by: Chuck Lever <chuck.lever@xxxxxxxxxx>
>
> I assume this problem will affect people who use gcc-14 to compile
> older kernels, so I have added cc:stable to this patch.
Yes, adding this fix also to stable kernels makes sense.
--
Peter Oberparleiter
Linux on IBM Z Development - IBM Germany R&D