Re: [PATCH -rc v1] gcov: Disable gcov build with GCC 10

From: Peter Oberparleiter
Date: Fri Sep 11 2020 - 12:26:20 EST


On 10.09.2020 23:49, David Laight wrote:
> I was wondering what happens if files compiled with different
> versions of gcc get linked together?

This is not supported by GCC. At runtime libgcov will reject all data
from object files compiled with a different GCC version.

--
Peter Oberparleiter
Linux on Z Development - IBM Germany