Re: [PATCH 0/2] Noinstr fixes for K[CA]SAN with GCOV
From: Peter Zijlstra
Date: Thu Dec 18 2025 - 07:20:41 EST
On Thu, Dec 18, 2025 at 05:58:44AM -0600, Segher Boessenkool wrote:
> You might have more success getting the stuff backported to some
> distro(s) you care about? Or get people to use newer compilers more
> quickly of course, "five years" before people have it is pretty
> ridiculous, two years is at the tail end of things already.
There is a difference between having and requiring it :/ Our current
minimum compiler version is gcc-8 or clang-15 (IIRC).
On the bright side, I think we can be more aggressively with compiler
versions for debug builds vs regular builds. Not being able to build a
KASAN/UBSAN/whateverSAN kernel isn't too big of a problem (IMO).