1
0
Fork 0
alistair23-linux/kernel/gcov
Leon Romanovsky cfc905f158 gcov: Disable gcov build with GCC 10
GCOV built with GCC 10 doesn't initialize n_function variable.  This
produces different kernel panics as was seen by Colin in Ubuntu and me
in FC 32.

As a workaround, let's disable GCOV build for broken GCC 10 version.

Link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1891288
Link: https://lore.kernel.org/lkml/20200827133932.3338519-1-leon@kernel.org
Link: https://lore.kernel.org/lkml/CAHk-=whbijeSdSvx-Xcr0DPMj0BiwhJ+uiNnDSVZcr_h_kg7UA@mail.gmail.com/
Cc: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-09-04 09:19:49 -07:00
..
Kconfig gcov: Disable gcov build with GCC 10 2020-09-04 09:19:49 -07:00
Makefile gcov: Remove old GCC 3.4 support 2020-04-16 12:28:35 +01:00
base.c gcov: clang support 2019-05-14 19:52:51 -07:00
clang.c gcov: clang support 2019-05-14 19:52:51 -07:00
fs.c kernel/gcov/fs.c: gcov_seq_next() should increase position index 2020-04-10 15:36:22 -07:00
gcc_4_7.c gcov: gcc_4_7: replace zero-length array with flexible-array member 2020-04-07 10:43:44 -07:00
gcc_base.c gcov: clang: move common GCC code into gcc_base.c 2019-05-14 19:52:51 -07:00
gcov.h gcov: clang support 2019-05-14 19:52:51 -07:00