diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2020-09-04 18:58:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-17 13:47:49 +0200 |
commit | d4bdcf4f1154fbb4813f6147b0863bc9b2ab8881 (patch) | |
tree | b7d7bfced4560dbfa95fc83111760fbaa433583c /kernel/cred.c | |
parent | 104bc6027b27ddde516167df7add650789b06968 (diff) | |
download | linux-stable-d4bdcf4f1154fbb4813f6147b0863bc9b2ab8881.tar.gz linux-stable-d4bdcf4f1154fbb4813f6147b0863bc9b2ab8881.tar.bz2 linux-stable-d4bdcf4f1154fbb4813f6147b0863bc9b2ab8881.zip |
gcov: Disable gcov build with GCC 10
[ Upstream commit cfc905f158eaa099d6258031614d11869e7ef71c ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel/cred.c')
0 files changed, 0 insertions, 0 deletions