Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1390330pxb; Sat, 4 Sep 2021 08:28:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2wCHHjv1VaEIkksvvcsvG6qnJ5zgD/89HgHLiuHGflpDk54D/IdrRhUnch7BB8cgOF9bB X-Received: by 2002:a92:c8c3:: with SMTP id c3mr2928717ilq.188.1630769324515; Sat, 04 Sep 2021 08:28:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630769324; cv=none; d=google.com; s=arc-20160816; b=Vm2A5NPGdnU4ekPZe7suAqjqJfnTzyUNFtI9m4ZfhikZ0IiPAlDrwHRRZIv3NCHDXc /SNDicxxpeUt+8dN6x8hW5eFhMVevvmNW3VTio1RojwMluFyBJJ5qNALQkdnElY7D/qu kQIICOzVwLSU2fHmL2HIu1ajbXyAEkaQZPlpPoe2n4Obz+/YuJYrXXlgPwlQmVsx/f13 xnHZ9uLtihMs+ctxhTgI2HrWAX5TSTqEA7paxvKbxR4b4AnqB3M7pnqDgo6A4h8FUobj IpLPFQVI7ZaX/5aKLTyY7JXQxjLVz8IGC8gURiKXFSxoDIEE+1Vyvzt+UEu44SB+V5V/ llmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=zvDeup5okN2+a9recacvzIyRt8oQsyaj87C3UrFckM0=; b=ECavC9KyGc41E755e4xpEUtv7szjytqBW6wJSw8sj15ceBXNjYfeigvnLLx+70KVME rIo0dzXHIjiYLI3F8f43pIAlXKtH4VDeoR7glGsxcZ1riv3zIUQYzL6AmnIff3HOjQid CObw4q2sc+OYWEupbv4UGgiFnuVClkSys8dW8GmaNqnsmklPPHdfkRjr/V+3F51Zv57w gHag3aClA6JA4e2t/XzrGx2rLG5s0aJsMpsOGshVTT/zsNWe7o2JbuMMxq+qZb7DuYuK ZV/RzG4WGvFb2VXJ+RQ4DPMQLbsjm6DtCr1gFEkH4M7wQk8h3AhaA0kei5SoWvtumpJ0 AtKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=aCX9K6lu; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l7si3055148iow.113.2021.09.04.08.28.30; Sat, 04 Sep 2021 08:28:44 -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=@redhat.com header.s=mimecast20190719 header.b=aCX9K6lu; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230514AbhIDPUd (ORCPT + 99 others); Sat, 4 Sep 2021 11:20:33 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:45286 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236797AbhIDPUd (ORCPT ); Sat, 4 Sep 2021 11:20:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1630768771; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zvDeup5okN2+a9recacvzIyRt8oQsyaj87C3UrFckM0=; b=aCX9K6luu9eqsiplCHNWOLXh0hXNL2smLL+Zc+K1RFFUz8lITMbAY7u/4rIAoMKm+1coVc ya52CAirO5/I49DQE4nINeiARMLhYQcA0LTcyI/mhzxRVsOuO38Jd3FZpxteT7KGizrln3 mLMOndYj4ZOvyR7HuzJpnUZuzWeKESQ= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-523-B4_Nd3ZlP523hyVUeBxjYg-1; Sat, 04 Sep 2021 11:19:27 -0400 X-MC-Unique: B4_Nd3ZlP523hyVUeBxjYg-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E763E8145E5; Sat, 4 Sep 2021 15:19:25 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.194.140]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 28C55189C4; Sat, 4 Sep 2021 15:19:22 +0000 (UTC) From: Florian Weimer To: Segher Boessenkool Cc: Nathan Chancellor , Linus Torvalds , 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 References: <3b461878-a4a0-2f84-e177-9daf8fe285e7@kernel.org> <878s0c4vng.fsf@oldenburg.str.redhat.com> <20210904131911.GP1583@gate.crashing.org> Date: Sat, 04 Sep 2021 17:19:21 +0200 In-Reply-To: <20210904131911.GP1583@gate.crashing.org> (Segher Boessenkool's message of "Sat, 4 Sep 2021 08:19:11 -0500") Message-ID: <871r644bd2.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Segher Boessenkool: > Let me quote the original mail (I had to dig it out of the archives as > well, no nice threading, too lazy, sorry): It still doesn't say why. I did see a reference to fleeting reference to and . My conjecture is that the real reason is avoid atomic emulation (softatomic?) and softfloat code. It's not related to at all: this header is replaced so that GCC's include subdirectory can be dropped from the include search path. What I don't know if this is to avoid obscure linker failures related to libatomic/softfloat (obviously not great) or run-time failures (worse). In any case, it would be nice to know what the real motivation is. After all, is exactly like in that it's possible to use its functionality even without the header file. The __atomic builtins are even documented in the GCC manual (unlike ), which is why some programmers prefer them over the standard interface. And then there's the _Atomic keyword itself, whose use can easily result in calls to libatomic functions, too. So blocking makes little sense to me. I don't know enough about softfloat if blocking the inclusion of is worth it. Thanks, Florian