Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp3174769pxb; Mon, 6 Sep 2021 14:27:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTKSgxhL/VJstijou/HRBDrQ76s+0L8xOiRG0A8bJy+B2yyOO1XjK6nocb7v6aywVvNYbD X-Received: by 2002:a6b:fb07:: with SMTP id h7mr11400948iog.201.1630963667632; Mon, 06 Sep 2021 14:27:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630963667; cv=none; d=google.com; s=arc-20160816; b=HV2Jhuh3R0vpXTj+e/3DAGI43tZcFXEEVlatajSZ5bG2YWhHnnc/7Amt3a3bKNABvI G3zTH5UT7PdwapCT2UFktcEsbm/plaaJrM+YlW5NuDtZR9OlYdJ3IRRZrhh/XA8S4X6A ggzaMubQrGcC8bu2106wHMZ+Ng2dcjuuxcHdov6vBJv4K0ah7xvr7Qm7YdBWZPOHLhk7 9gR1Ek7g1Mg7GEtl2txESt04JLU40PvASAWGTFQCUQkNKpk1gzyotFsFZZYwCS7rKL1P +vtRQTfEEuSfYTQxNAxIBRzqXXI4p9ZksMSh5EiVcQdoOIvGG2dKuAcUuwwX87+wyiMa 5jeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=bOYkPNs6kBoQRrkZjo5EV/GM+dOfmzNF/MWgTdiF+c0=; b=lPpn0PEu0ZZKyGQt4bN+mVechNTafk9TveydRUqe8NfQvqX5ggZVbAqb96OamHyGWv 1tNNP+z81T5bKaL26YqGWofZsac8jhf1lS5aYwZvkaEtGHHXE/bvxPOH0TEdi4lHC0/d P/tJWwFeDsjWDRFydBC2nnwt7OgtUKqMfRxVssHWV8TRQXNP4yLMszHoWs+bmodjxK6b 50AcPRGTggJ3L9XTJch1TrXYwQrLfaDEMrEa2bZymliXjlIVO5At4CF0af7VyNhp5jvH nv71ydUMHmQK/iRiUxj2NJ9ffwVUvmUDa/iNFmQsD5Y2tBiYhG+C9n+66HTtkQLZ5HGy TgFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=MkdrdbxR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w17si6812934jad.70.2021.09.06.14.27.35; Mon, 06 Sep 2021 14:27:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=MkdrdbxR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231379AbhIFV0E (ORCPT + 99 others); Mon, 6 Sep 2021 17:26:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229766AbhIFV0D (ORCPT ); Mon, 6 Sep 2021 17:26:03 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 800C6C061575 for ; Mon, 6 Sep 2021 14:24:58 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id s3so13204893ljp.11 for ; Mon, 06 Sep 2021 14:24:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bOYkPNs6kBoQRrkZjo5EV/GM+dOfmzNF/MWgTdiF+c0=; b=MkdrdbxR65lqXV6wJ76/tFuL8QFam88AtYhA62tPAFEBbcHMyPy2haH+G7bq4zt8uf REzVQUd74s4JolJRn/LNNZongzDJAYYklBtf0kLdPjPBrHUnv5eSWvqP1WD0VeTKi9ce 6WQQIA8wPCjNjMPZ7rtqv0bOQhEIJWtKwcdxk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bOYkPNs6kBoQRrkZjo5EV/GM+dOfmzNF/MWgTdiF+c0=; b=EGpFhx8gtTuBr1n8ZlhkbU7Ilv0mm115oO6LC6vuaxW+Cd2N3G4SeBgS/bOM+YFua8 1oCbXp6G3MWMNdNJ15Ngxd4Ae6vAzM5idci+k8bV8tlQ6amUBVFrp4WKyfaFFDA0xLtu CmkTd5SwFx4AqB/NI2nT7kpEXhJ/5Q5Loh1TpndqX7k7oTUMMcW8L3Spymg9GBmQZvgU Q6dvguVZJcMxyp5YucUh2Guu/JgHEU4XUHQdNhWWv24jbDxa71yZwnPFt7cTSSfDbOHr qdkwAnia7onRuntrtwWoBZfIQ+Ra65u56Q+B2QezvZkZ7146NdYJomkGZFTOWpYRy/9e uI9g== X-Gm-Message-State: AOAM533q+EO+zVzgUYpX4S9uThRybeCSUh0GUWkp8wbGHaKEjU6a+/zR bYXMpYcHI3iw5MftdDwQQD1TaCiZd98G8tti X-Received: by 2002:a2e:97cb:: with SMTP id m11mr12376099ljj.240.1630963496602; Mon, 06 Sep 2021 14:24:56 -0700 (PDT) Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com. [209.85.208.174]) by smtp.gmail.com with ESMTPSA id z15sm1214523ljm.78.2021.09.06.14.24.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Sep 2021 14:24:56 -0700 (PDT) Received: by mail-lj1-f174.google.com with SMTP id s12so13280234ljg.0 for ; Mon, 06 Sep 2021 14:24:55 -0700 (PDT) X-Received: by 2002:a2e:b53a:: with SMTP id z26mr11643568ljm.95.1630963495713; Mon, 06 Sep 2021 14:24:55 -0700 (PDT) MIME-Version: 1.0 References: <871r644bd2.fsf@oldenburg.str.redhat.com> <20210904191531.GS1583@gate.crashing.org> <20210906154642.GV1583@gate.crashing.org> <20210906172701.GX1583@gate.crashing.org> <87lf49wodu.fsf@oldenburg.str.redhat.com> <20210906194808.GY1583@gate.crashing.org> <20210906201432.GZ920497@tucnak> In-Reply-To: From: Linus Torvalds Date: Mon, 6 Sep 2021 14:24:39 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL v2] Kbuild updates for v5.15-rc1 To: Jakub Jelinek Cc: Segher Boessenkool , Florian Weimer , Nathan Chancellor , Masahiro Yamada , Nick Desaulniers , Linux Kbuild mailing list , Linux Kernel Mailing List , clang-built-linux , llvm@lists.linux.dev, linux-toolchains@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 6, 2021 at 2:08 PM Linus Torvalds wrote: > > And you think that we're making it harder for compiler people, but > that's not at all the case. > > You really don't want to deal with us saying "you can't do that" when > you do something that is That got cut short when I went off to adding the examples of errors that happen for those intrinsics headers. But it was supposed to be "when you do something that is not valid in the kernel". There are some *very* core header files that the kernel cannot include from outside. That "stdlib.h" thing already came up in the errors I quoted. But I think you'll find that you guys want to include things like too, and you'll probably add others (? things like that) simply because they always work fine in user space, and you'd not even notice. Header file include chains get messy very quickly, and very easily. I'm pretty sure you guys don't really want to deal with the pain that is crazy kernel people that have their very bare environment. So you may *think* you want the kernel to use your header files "because compiler portability". Instead, you should be very thankful that we don't, and that you don't have to deal with our mess any more than you already do. Linus