]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
gcov: add support for GCC 14
authorPeter Oberparleiter <oberpar@linux.ibm.com>
Mon, 10 Jun 2024 09:27:43 +0000 (11:27 +0200)
committerRoxana Nicolescu <roxana.nicolescu@canonical.com>
Fri, 2 Aug 2024 14:27:22 +0000 (16:27 +0200)
commit4eca2e7bf005a7110e8f441a4d3af06bfaade600
tree02bd99899a349eeaff0d1cc587ef5452f23e7f37
parent667b78948e1c69f6a3229bdc3873bbbd74962784
gcov: add support for GCC 14

BugLink: https://bugs.launchpad.net/bugs/2075154
commit c1558bc57b8e5b4da5d821537cd30e2e660861d8 upstream.

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.

Link: https://lkml.kernel.org/r/20240610092743.1609845-1-oberpar@linux.ibm.com
Signed-off-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Reported-by: Allison Henderson <allison.henderson@oracle.com>
Reported-by: Chuck Lever III <chuck.lever@oracle.com>
Tested-by: Chuck Lever <chuck.lever@oracle.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Manuel Diewald <manuel.diewald@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
kernel/gcov/gcc_4_7.c