Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp3049790pxb; Mon, 6 Sep 2021 11:05:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxArTo3+q51ZeDyIZ3+1GHVm3DZHswI8araLl6DqDUiVZiKWPVxwxoRz5OsGDmcq2V5XWLl X-Received: by 2002:a17:907:77d0:: with SMTP id kz16mr14841936ejc.334.1630951550894; Mon, 06 Sep 2021 11:05:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630951550; cv=none; d=google.com; s=arc-20160816; b=kOQoiUxNIIKAliaLd68fssj7CUKotDDjVQWnuHhfpD1/gkrE8+L3QuTIV3NUwrLRpt JmU9j3fADP/wf4SfSZ7eqhV9R8QrjMzXcDLW/PRbIXLAM1mBJf9jNpP/WlxtOp5uzj7l jOv+EF9lwtnqCR3uf9QabJ4mjkCft7zTcOad9A8d/HxIJOkl3Xe3xJ7+EN96c2s6Gddg Yb6wZ1j4su4wQJ8AMJd0sem9tcs4lJdEo697DrI2tiqFt6fSX4BctNE5duCDErXrI80L e8lTRrSDbjvNX9fogZ2EcMsr9XtM1Tr/EOz4NgcK8G+wB2wzKPraCgPBZyTyJRTJoKlH rWCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=swti8YUtLpPeDsjZcPJL/3kz1gHCApr3R3ItLjEqsIw=; b=DbM5/9zXFhou5zhcDOLL0eZReORoZPEEMW8bX/Ag3Bbf7OpU2Vh4hZFpX48bDrrOuQ BP0mglgw7dwIU2AiJ225aZeaYQwrHOxwD5RtNCauLtLjYiQZ5joxVrG6v9Ug1K6M8M8s C9/N3ylQg9b53PHstgRvfeNTtpbN0pJcc7WZZiU/bJVtTV3Ud8p/Zfe43d8mvWBpRL4E +oLUthvptrDX9/ZfPLRzIQj+Riuc+BxghJrkLwyNyrFJfekZVb8C91XDOKjYtvPG3Wz2 7yzBY5vxos1ZDE5snQ918rtxZYsGRU3q+XAKe1TvpJzqE/IwCKLcjOsnBwluIgnm0szw LuYw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ch28si8300351edb.385.2021.09.06.11.05.27; Mon, 06 Sep 2021 11:05:50 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243493AbhIFRcU (ORCPT + 99 others); Mon, 6 Sep 2021 13:32:20 -0400 Received: from gate.crashing.org ([63.228.1.57]:39877 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229774AbhIFRcT (ORCPT ); Mon, 6 Sep 2021 13:32:19 -0400 Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id 186HR2QU010674; Mon, 6 Sep 2021 12:27:02 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id 186HR1qh010671; Mon, 6 Sep 2021 12:27:01 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Mon, 6 Sep 2021 12:27:01 -0500 From: Segher Boessenkool To: Linus Torvalds Cc: 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 Subject: Re: [GIT PULL v2] Kbuild updates for v5.15-rc1 Message-ID: <20210906172701.GX1583@gate.crashing.org> References: <3b461878-a4a0-2f84-e177-9daf8fe285e7@kernel.org> <878s0c4vng.fsf@oldenburg.str.redhat.com> <20210904131911.GP1583@gate.crashing.org> <871r644bd2.fsf@oldenburg.str.redhat.com> <20210904191531.GS1583@gate.crashing.org> <20210906154642.GV1583@gate.crashing.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 06, 2021 at 09:30:01AM -0700, Linus Torvalds wrote: > On Mon, Sep 6, 2021 at 8:50 AM Segher Boessenkool > wrote: > > Yes they are. It is the single standard way to get the functionality > > you want. > > Sorry, but 'standard' is the part that the kernel simply doesn't do. > > Just face it. The kernel isn't written with all those standards that > are designed for entirely different things in mind. The kernel is written in C, and C is meant in part for implementing things like kernels. When I say "standard C" I mean "without the GNU C extensions". All C compilers implement standard C. Only GCC implements all the GNU C extensions, and implements most of them correctly. > > I don't know why you think you can separate that. Take -- > > there is no other (portable, standard) way to implement receiving > > variadic arguments. > > You clearly haven't actually read the thread. ? Are you refering to something more than what is at ? I did read that. If I draw other conclusions, well, that happens. > That was my whole argument. For the _historical_ situation. But this whole thread is about removing uses of , and eventually removing the -nostdinc -isystem $(shell $(CC) -print-file-name=include) thing (except in some places where it is next to impossible to reimplement the compiler's implementation (instead of just very hard and useless work, making all this more fragile in the process)). That is not the past, that is the future. A bleak future, if technical decisions are based on FUD like "compiler headers are dangerous". Segher