diff options
| author | Martin Liska <mliska@suse.cz> | 2022-10-13 09:40:59 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-26 13:15:48 +0200 |
| commit | 02eb44028e8c05dc86b6d9d597a54db705e0b9d0 (patch) | |
| tree | 286a6deba4dfb0ff7947d41a4173816ce50132d0 /Makefile | |
| parent | a83ed01f2f5baa68d403bc7fdfe3d8463a25796d (diff) | |
| download | linux-02eb44028e8c05dc86b6d9d597a54db705e0b9d0.tar.gz linux-02eb44028e8c05dc86b6d9d597a54db705e0b9d0.tar.bz2 linux-02eb44028e8c05dc86b6d9d597a54db705e0b9d0.zip | |
gcov: support GCC 12.1 and newer compilers
commit 977ef30a7d888eeb52fb6908f99080f33e5309a8 upstream.
Starting with GCC 12.1, the created .gcda format can't be read by gcov
tool. There are 2 significant changes to the .gcda file format that
need to be supported:
a) [gcov: Use system IO buffering]
(23eb66d1d46a34cb28c4acbdf8a1deb80a7c5a05) changed that all sizes in
the format are in bytes and not in words (4B)
b) [gcov: make profile merging smarter]
(72e0c742bd01f8e7e6dcca64042b9ad7e75979de) add a new checksum to the
file header.
Tested with GCC 7.5, 10.4, 12.2 and the current master.
Link: https://lkml.kernel.org/r/624bda92-f307-30e9-9aaa-8cc678b2dfb2@suse.cz
Signed-off-by: Martin Liska <mliska@suse.cz>
Tested-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions
