From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm2-f12.google.com (mail-wm2-f12.google.com [74.125.225.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8040E49E12A for ; Fri, 11 Sep 2026 17:33:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.225.140 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789148024; cv=none; b=WGHp+qyO1K0yWJXM1eCaKrlyRKLA0PWtzaC9e+Q5KwlWWc1rK5Zqp5N30KZS55ZyGky2XjMtSU48R1ifFT8QZ/9x/0Qbk7bqmpqoM9GXwWkcIxNNkFya5p4uPWGSsbw35QDg9HhSQmr2UTnCbXD07O563t4KIqDcPq2Jzv3NRmA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789148024; c=relaxed/simple; bh=76bsxwDnANEo0kLB2mrhhQlwm4C2VGFZMyLQwWFFfs0=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=aej6tijNv9ApF+GryAM9QOKcJ0ErlkO/CAArxe5bbAVfGKst5uPYynxUVg+Ht87TESq55Br8GorTYBcxARIte1xUSpd8/bvu8jv+53U/UclNVsy8wzV6TQqh6fZrlGfI2SDSxdKOS8FugFvExVTqji89kBSU/526kw9LZWBMndU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=l7X+6rKd; arc=none smtp.client-ip=74.125.225.140 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="l7X+6rKd" Received: by mail-wm2-f12.google.com with SMTP id 5b1f17b1804b1-49cd38e0f79so782045e9.3 for ; Fri, 11 Sep 2026 10:33:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1789148015; x=1789752815; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=oHkfE3imp4BQyC9rRB22q5PBnbDLbNtc6L6K0uF99Ik=; b=l7X+6rKdv+a+2H9VVk/5tjdV/dmauzOsd9F3pLAjg5HKAH/FbYRyfRju89HHYQmlIh arCHlImki9lN/iEttOdBDIpQE8dtpaRgOVCCIK1cLrxshaTAa7jOqOlJEufOQp/MlGyG In0ltJN4FX5H1F2ZrleEquQHblmeAJdU6xem8UnmqQ0bw0QYX7FyJUUiHyP3WgtXyic2 /vrwR89RC3zM6P6WHF8EACv8yCNoehuRQUKnlo/Ng89fDphZ/psxu0e9yHI5Bx/h7kq7 TA3IaIXaWvcxdNrlRriEDLfuMfm0JtB7Tp+EwvmrIfdvCHlboxOTSfqLmfwyPZoBcDcE ElWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789148015; x=1789752815; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=oHkfE3imp4BQyC9rRB22q5PBnbDLbNtc6L6K0uF99Ik=; b=iUfkGMPJ/LuaPX0x4eMaTqbL3mbaq+DnvHl6dCEeBWJzsIZhTRv568ucLVWLtH1POB 4hJmmMOl89fK1aeAbx0qp5lVQmiIKKsyN3C8bUqzwEc3OfGLrb3vLVZW40iXHA1EwTyi sZuLdyb4cjLLOr9scbjwAvmb1aowwfMplbkpYcavEIzeYNNZ1DaeEyWfzBIVyR5hrm/4 i6yZWe5c3+rKCPjrfAfm5CqIuxnZVZhpp+rwcnbhSj9adc6Cf0Blfo+suMGwlA2yJ6td 5L/rmqgIbc8OJOePmTOq3OOKxai+lmmUEg4WqZQwjbZkf4vwluLa/Fxrf87FrbypvWaR +K7w== X-Forwarded-Encrypted: i=1; AKwUvBwa7ho5e2YyC677UQYP8dJfOOGT4sH/tb5s42bamrZDTLcsva7lxBzbZCfH8Ih/bT1/ce3Sx+C5H1g=@vger.kernel.org X-Gm-Message-State: AFuF++lZvzppzsMbe0jy0C1ONL8MqGuUa3qD69MRWTIPhYRg6qVXginp f2q1lIhfa6IqgHU4H/WHJ/1OA6xuoHTw11uTV0kuD1wqavX6GZgolUjn X-Gm-Gg: AYBFou2WAs1o31+d6Oh+pIFM5Ww3Y2tIpzzk5RWTKhvNuiCHQrCq+9hkzdsgVRe48Kc 1DSLuNwVTBE0aFxM2NTZ9ecl6mx1yYiPBieevbdBZAhxvrI0nGWYLiqUFlwbPDuoRJd2GJZA7q1 ypBZ4JJ0DwM3FkbsmX+S8DWU6GLKY8FXQsUp+GIQWqkUXXipo7EqYj9Ouj+ZSUaJE/av5KJaBpF KC1NBEz7r7ufo2VsNvF3lwwhVJ8UJuZYRfppAbFC5nVrxrmECmp1bT40FLEpj3EDwEnxs0T/YIL 8pVwL/NNjsBbzpMnaIGMfBV0EEUMx5ifuwWuqqbAssBxkBOASnvWCdDauYbdFN61r5TyQHuDl9i sGWpcaorF9r0u70z9dMAhVo51tqsJ5PUpPLxZjukvVxzEacFSWqZW+SyMiX0Q7gCRVub39i8utv H9Gw6WvVN37sm3BOX+KLfyBIaq5+xgi/nfsGicQCasBaGEix5tMLNFcod6RrFrDgM6B2bkGvCDW so31bstUFbwlq4Fr0/vWsv25lXk8q+059ny X-Received: by 2002:a05:600c:4e0c:b0:49c:ed94:cdd8 with SMTP id 5b1f17b1804b1-49e6198734emr158528945e9.6.1789148015226; Fri, 11 Sep 2026 10:33:35 -0700 (PDT) Received: from pumpkin (82-69-66-36.dsl.in-addr.zen.co.uk. [82.69.66.36]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49e6576122bsm80821885e9.2.2026.09.11.10.33.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Sep 2026 10:33:34 -0700 (PDT) Date: Fri, 11 Sep 2026 18:33:33 +0100 From: David Laight To: Nicolas Schier Cc: Nathan Chancellor , "Lorenzo Stoakes (ARM)" , Linus Torvalds , Nick Desaulniers , Bill Wendling , Justin Stitt , Masahiro Yamada , Alexey Gladkov , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Arnd Bergmann , Catalin Marinas , Will Deacon , Mark Rutland , Ard Biesheuvel , Ilias Apalodimas , Josh Poimboeuf , Peter Zijlstra , Miguel Ojeda , Boqun Feng , Gary Guo , =?UTF-8?B?QmrDtnJu?= Roy Baron , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , Danilo Krummrich , Daniel Almeida , Tamir Duberstein , Alexandre Courbot , Onur =?UTF-8?B?w5Z6a2Fu?= , Jonathan Corbet , Randy Dunlap , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, linux-riscv@lists.infradead.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-efi@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-doc@vger.kernel.org, Jens Axboe Subject: Re: [PATCH 12/23] kbuild: avoid re-running compiler and linker probes Message-ID: <20260911183333.1df0f2e2@pumpkin> In-Reply-To: <20260910-translucent-sweet-sidewinder-7acacb@l-nschier-aarch64> References: <20260908-build-speedup-v1-0-5dc1ac01672d@kernel.org> <20260908-build-speedup-v1-12-5dc1ac01672d@kernel.org> <178901395292.3971858.13236774094648272066.b4-review@b4> <20260910-translucent-sweet-sidewinder-7acacb@l-nschier-aarch64> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; arm-unknown-linux-gnueabihf) Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 10 Sep 2026 17:42:35 +0200 Nicolas Schier wrote: ... > Yes, skimming through the patch, I thought about that, too. Moving more > cc option checks to Kconfig will make building out-of-tree kmods with a > different compiler more dangerous. Maybe we will have to make the > warning in Makefile's prepare (external kmods) target a bit louder. One problem is that distributions have a nasty habit of shipping kernels that are compiled with a different compiler version to they actually ship as a compiler. In some cases the versions are clearly the same - but the version strings differ. David