Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp3869515pxb; Tue, 7 Sep 2021 09:15:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1dup1Vo64mdB4k5A6F+34z5IlhTPR44zrlJhPM63s26XmF8ZZ6AT/j44B7pUhAyLhFshI X-Received: by 2002:a02:cac2:: with SMTP id f2mr15699303jap.78.1631031351460; Tue, 07 Sep 2021 09:15:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631031351; cv=none; d=google.com; s=arc-20160816; b=tbMZmAjxtF9Z5q4FvoPWMZhQGXigTGrscw5t5NQJhZNxRWFC6BrzfsoP+ZigmKd0sg zSZ1skI9sUj+0H/pA8h5q8nVIMY9l10dRQpuiE7Matbi3LEsj8QmUgi3lW1XMAgUif64 wzMjtN8wKoRB8AxF24tTIvoEplEM2OZO5knvcQTizFIGwlNRQQc6CA6OqElJc0za+gD8 FMXpIU1f42yb+pRtR4+50Tw49NYkB1E+pnhvzkHOtLTlWaE8vEDMZgCIuXbi7aiEKGUV NMtz4c08h1rnV4xy6JwW62ovRauzeNtFrheGvH5jhwy88bFT8jdj1dA33M0SLBfq35J2 B3uw== 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=0CReOansv5wNg6ac4tGq4MabawfaxjOTZeS+i3ZR2zk=; b=0oUfml6/sdQ66PtrM0C5zVl0089UB0nRlPhIOSWUalzbYgw5D9G/nba+OvHGGdC8zW BymLs07fBVUWCl+LMRkThIQvZPm+4pRJ4CN2ZhhPlWH3D53bxb/xD933aignJdXLaSP1 TJ6ifPq3aU8BeEu/0Jg0zNwaDXNVkEPPIK4I2hnVjcm+0jQ7Lb1L/GcLN9VpkQwX79FY b5kTTrf8Im0pTi/l6cQo72jezBV7PQxsTpUMpvT7sGYPjTJQcM8ZtSpAie4RQxOo9xfE pSdD0FbLbYWqKMCHt81yREiInGvQCcc5fMnvxDWP3XAHga+4fbL5sRiQr/9VYViKAu1J cAtw== 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 b7si10227126jab.66.2021.09.07.09.15.37; Tue, 07 Sep 2021 09:15:51 -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 S1344860AbhIGO6F (ORCPT + 99 others); Tue, 7 Sep 2021 10:58:05 -0400 Received: from gate.crashing.org ([63.228.1.57]:41622 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344752AbhIGO6E (ORCPT ); Tue, 7 Sep 2021 10:58:04 -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 187Eqm0Y009137; Tue, 7 Sep 2021 09:52:48 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id 187EqlAQ009134; Tue, 7 Sep 2021 09:52:47 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Tue, 7 Sep 2021 09:52:47 -0500 From: Segher Boessenkool To: Jakub Jelinek Cc: Linus Torvalds , 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: <20210907145247.GH1583@gate.crashing.org> References: <20210906154642.GV1583@gate.crashing.org> <20210906172701.GX1583@gate.crashing.org> <87lf49wodu.fsf@oldenburg.str.redhat.com> <20210906194808.GY1583@gate.crashing.org> <20210906201432.GZ920497@tucnak> <20210906215218.GA920497@tucnak> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210906215218.GA920497@tucnak> 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 11:52:18PM +0200, Jakub Jelinek wrote: > On Mon, Sep 06, 2021 at 02:08:58PM -0700, Linus Torvalds wrote: > There is a stddef.h include too and that's it > (I must say I don't see the reason for that include though). Yeah me neither. Maybe the header used NULL before? > Other compiler provided headers (not talking about C++ now) also have no > or very limited includes, including stddef.h, stdarg.h, stdatomic.h, etc. > The only exceptions are tgmath.h which isn't usable without libc > math.h/complex.h, is only for hosted environments. That requires a C library for GCC (we do not implement this stuff ourselves). The compiler and the C library have to work together to get this done, and the relation between GCC and Glibc has been a bit too tight for this, it is true. But a kernel build is not in a hosted environment. > in some cases stdint.h and limits.h which are in some > configurations provided both by the C library and the compiler and include > each other in that case (but e.g. stdint.h has an alternate version that > only uses compiler provided builtin macros) and openacc.h. On what targets is still problematic? And ? Segher