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 8818B4A92C1 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=1789148025; cv=none; b=gvDzoktatdXnTjzW72YB7RvI3YtbRlpdB9TuvSHVhM77zseHZSDEpG0GJgLAExOFXoLwtx6/yHtGKsh9sanzRdq+K2mokgzlx9k+cFPd8FPxIwBLG7pzGej3XpIVPaIvKBycFB94nGgZ8IEmyFj6gxnl3lP+XmW+dC5COiPDF/U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789148025; c=relaxed/simple; bh=76bsxwDnANEo0kLB2mrhhQlwm4C2VGFZMyLQwWFFfs0=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=LdiPSRFcs/jooawl+6DkvQ06TYkK8RDuLaeAxna8jLDwqxqRiZRoMHSpggxsJrKQ9U4fe86KiaQm7QmP7t4dnuz2xtfY5fQg2qAsnRTotXUNsJrdXWwtp1pLLgZTsGDJ4OPJGwzn8UMXUI7Znki+KomC6k5nac6VQfAqSopldVw= 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-49b912d37b6so747675e9.0 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=WdiYLNM8Q9HTtPyJafs9xYIohdra7xij01LVCaBn5t61JBFaolQGE8NmZl3TXxTzUb zOaiYsBG/dE9NKIDDulNeo3nO1VemHAcg6qLV4Juxwfm6zXibttzGEudpfptV9hq/rqm mAhwVmv7RozIszYeHfrEaclP4vCvTgzO9VZLWLtlMyXQz9oED1RQmbaHW7jiBqANMeY2 BZOKaRt+XVBUzAj25Diim6RMPYG3C5FvxctWVTrucVHy/CtGV3DH2SEVt87nj+cLyhVc XV5p4Mve7Sx0ETr2R8jlzMyVJW3j2NrXsTGutqRyqgqAcStvAKYENb6PrXZMZY4bgmpI PwjA== X-Forwarded-Encrypted: i=1; AKwUvBxDfBDMQVWbjCfrDlectMPRZtqJIvbKLCQF/0TqdVHxrz9owzAvNudwNsqLueZ96H/yuGUPbF21Vmk=@vger.kernel.org X-Gm-Message-State: AFuF++knbdWw2rC2Etwps7Vm91TXwHt8BpJZat5AdP7lFz816vKmx0PQ RVKq0ufNsBcJsMe0U0dP0ru8UfaJ7ej3U2SsdZhlRuZC/qWtBPBWiRme X-Gm-Gg: AYBFou2JbMHhw10H/Qi5Y+/kE6ipEV7XLRoK4ZENnKKdeHDTbjjFTrNyX4R01wPU3jI y23uHnFm001tCnIzGovnYNlXvgf1BGbifSC+gDZBPayByt/kQ8bPcuDfFOUnC5dKrt5wygTO4NI qj55XF8mZSJpwRyVgHZdHO1pFZUuQadhqUAT942LZz/y5RjJ6k2bGMszvt4T514lRdmQlep1ntV Zn3u9LXTAPJGDf1u9x+SZX6V7SHjmKoHhUf87nGRdH+YELbcfkQ2/aN/8vMWAokpOCyPslNjOl3 JirkjV29MqG+WchxV75qPeABrYd2Cl/Fwq8NSZTuDkSKMJ7NVEInvw2PEyH+uORc0HfzDRtW7Uw MNiaZTNSHzahTnW3A0uv41gVmyGodECdmja6+a0SRcwxINS9hXW2BSNdGIShkRXJlMupOMXtXXr gOtFoJ5vtqT/urXiTZydudFQYPlUbUVD8VLXzBnBjs+yI7gAb938tA9ocdHrgghj69vT+1rh/4D lUkW50ZfrR9s35RueDifUTV56idWsgcmOKg 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-efi@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