From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 661D8314B84; Thu, 18 Dec 2025 12:18:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.92.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766060303; cv=none; b=mpqP6FojdEPPuxy+FKUhUmduustCztouUPD7cTOSX+53JMlI4lFYT7jg5zheK9KRiux4O9QpvjFBwKVK95EHBLn8X5hsShk/G77vrJhcoYgc6dbYTgqvIJM0HEV2r/GedyfmCo8y3XYH89AL0uli40RZb0qLlaq/xAm3vFzAA2A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766060303; c=relaxed/simple; bh=cmZPhJNk7z6Um8+MIyY3P4MbiYHmzchZQxWHR/38oB4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=m0GKCgsg/cmqfHpXjIV+GjcgZNy2ze0kniLZR9n0gyqJifoo4js6rZNrXKbnxDIiKgFPGXEJK0jDFCLF8hlJ1Ja2dRIqfaXlVtdNh/R14NCUoSJB9MLCCdB3p3yU05llfOj6TsLNizZtpiDfHhyUyQRjqTcZEBALdl+/zmbdL4Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=BSCU1ti/; arc=none smtp.client-ip=90.155.92.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="BSCU1ti/" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=bsKgXTZ+tb+AhWIqsTzP9CTPtabmhlq02esL6zmQnio=; b=BSCU1ti/jXZIMhKbqq7dQPKR+D /eLosnkNSZK5hgxq39LULYDENC2szlt5XyLM+wsQB5wtMnIqjbdu55LWkirddt/t5UckOizRTJS7A dxbpqMsG8qH1GJCcEG+A7dBIjcbD1CaLqiuA8Hh2hpj9XPNUt89GpGx9Mn2owB4qS8dFITw5aINgN n9DzrL3Xk/hwAtB7uZQZaIGszvnnwCOKdab7giylIyxZIfKEZRpUvkbMSq/iwQD8FDH/qUTq6QKjv rpubH6YfrgaHj1Xnf+mox/ZawZMXk6AmnG0mTxUfpm/kHvhJldyX8Zao5DelxD7XPxF9ZEjp/HsQt LRgC4zaw==; Received: from 77-249-17-252.cable.dynamic.v4.ziggo.nl ([77.249.17.252] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.98.2 #2 (Red Hat Linux)) id 1vWC60-00000008jZG-1sGj; Thu, 18 Dec 2025 11:23:00 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id EA0CA300578; Thu, 18 Dec 2025 13:18:13 +0100 (CET) Date: Thu, 18 Dec 2025 13:18:13 +0100 From: Peter Zijlstra To: Segher Boessenkool Cc: Marco Elver , Ard Biesheuvel , Kees Cook , Brendan Jackman , Andrey Ryabinin , Alexander Potapenko , Andrey Konovalov , Dmitry Vyukov , Vincenzo Frascino , kasan-dev@googlegroups.com, linux-kernel@vger.kernel.org, linux-toolchains@vger.kernel.org Subject: Re: [PATCH 0/2] Noinstr fixes for K[CA]SAN with GCOV Message-ID: <20251218121813.GA2378051@noisy.programming.kicks-ass.net> References: <20251218095112.GX3707837@noisy.programming.kicks-ass.net> Precedence: bulk X-Mailing-List: linux-toolchains@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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).