From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC562C433F5 for ; Mon, 6 Sep 2021 21:25:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7C34A61077 for ; Mon, 6 Sep 2021 21:25:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236087AbhIFV0F (ORCPT ); Mon, 6 Sep 2021 17:26:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231690AbhIFV0E (ORCPT ); Mon, 6 Sep 2021 17:26:04 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62637C061575 for ; Mon, 6 Sep 2021 14:24:59 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id p15so13247809ljn.3 for ; Mon, 06 Sep 2021 14:24:59 -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=MgJ6Gm3QMjvVWPmaemEZ3H6897ZEp9KmWybSm9Hy4dbWe2eZ4QH+9H4IDnVnpLmezn RTnniT0U5G+fRB++ujYZJXkFAlGvr/Y7KXE+X4eE62vieCMrCQqy11yLwKKnlkG+AcBV j0QezA6c7p1YmI7ssC4/5WlKfyWzd3cj1RBWXwvIcH9U0dPTvnNg6VLLVCGyf3DBcFqu KlXGsAHKZXyfIGVCLOxK0lwJSHaHhA1HEzZE/QFf/YRo26spsZC8bAMX9eN+tubH2gLh uxxYjdgyOcvgYptta8CftYJyPQhHvWnBb5V4dfxfREQt/sbUsNvUDiqFi0/kG7UPcHtt NxPQ== X-Gm-Message-State: AOAM530zLCitRUUv1jHG+T91uKxNWB7YYIeCZSU/bUMx8owil5BHof8d yOfIJiQTqAnMVZ3VZR9BSHBU4MYvaHBum+f3 X-Google-Smtp-Source: ABdhPJy+QRjB3tFBUd/MBQQtMuTvb6qjXCG+8t1RsxiAegAm7g/46TX0CGpXrshTyx7Vbxk2la5nPw== X-Received: by 2002:a05:651c:1af:: with SMTP id c15mr11986359ljn.194.1630963497467; Mon, 06 Sep 2021 14:24:57 -0700 (PDT) Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com. [209.85.208.182]) by smtp.gmail.com with ESMTPSA id b15sm1203436ljj.16.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-f182.google.com with SMTP id p15so13247681ljn.3 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-toolchains@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