Re: [PATCH 5.8 108/177] gcov: Disable gcov build with GCC 10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 15, 2020 at 10:24:25AM -0700, Linus Torvalds wrote:
On Tue, Sep 15, 2020 at 7:28 AM Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:

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.

Oh, Peter Oberparleiter actually figured out what was wrong, and we
have commit 40249c696207 ("gcov: add support for GCC 10.1") upstream
that enables it again with the fix for the changed semantics in
gcc-10.

AUTOSEL spotted it
(https://lore.kernel.org/stable/20200914130358.1804194-27-sashal@xxxxxxxxxx/),
and I didn't want to rush it in given it doesn't have a fixes/stable
tag.

I'll queue it up for this cycle as you've pointed it out.

--
Thanks,
Sasha



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux