Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp2593566pxb; Mon, 6 Sep 2021 00:23:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4pN1B+Id2gjk3m5pbv/Q8aBxtbsTDNJoXUufReBQPeJJeOmYI7l9nHJEtTagFrsaQRVsM X-Received: by 2002:a17:906:4cc1:: with SMTP id q1mr11903951ejt.415.1630913023736; Mon, 06 Sep 2021 00:23:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630913023; cv=none; d=google.com; s=arc-20160816; b=V0xVPOLCBe76gGdhdQVqmKzFX8vN/UsdzRgneTD9/5CJokK2W3X3PA7wsN56+xDljP AE2O+JS2ECvXyX0vRE8azrFFPTbQrpiQ3yQo71oKmn+1TjGstE9eTf8pP/iwGsl11wea IoVS46/KF7IP0xVP9U/OBe11iTsH7NoJQ2k0qplSJAL/aIoNv2dmIzPWstBUf1kNAg3G 8PA3V+yspF20CRUrbe7V6KGQLvuqkBOEwMOsR/qzz/CRPSOB4sAo95yZHVEubjLmdub4 Ukd5uUNO04aZp1DLmIMAbTvCyLv37afrZbSCFP+M8SL8GjZdZGBcKit9IblzSVPPftq9 2gxA== 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=I0Wqq4Jy8iaEMvTgV2vlnpJmZdhB/J5L3qG8Ebh53Cs=; b=mMki/wgCCoCiv5/NG6IBSXklYRHyGADsmq9DIfqWI4eGBM4NJTIh4S0c0K7NF4C6ka uuD0tbjI0Zl6acqUUzdDf2Iomyl+lVqv/fwa9WTo4hl4bPuN2/yLSe+zeLMdfUq7mTDd CSMQiDH5vhl1EL3zrFxJGnf7IyuyMScBVoG/bohEnHU367LN/7/X0WKKD8jR38splVci k9IU3X1MF3Tn5wRR13HUXOM4e6K7gjImaRg/UoRLeshkQKXSDkk8SRgGc0wKxaQ+SVyI Tzn7qG9+unwj+jen64Y4vFxraNXRb/WvMk8Ihhr2las6L8peYqtfB5mX7JQP+16D9ouC XH9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=RlBZBUXi; 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 l22si7476995eds.481.2021.09.06.00.23.19; Mon, 06 Sep 2021 00:23:43 -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=RlBZBUXi; 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 S239400AbhIFGz2 (ORCPT + 99 others); Mon, 6 Sep 2021 02:55:28 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:22939 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239399AbhIFGz2 (ORCPT ); Mon, 6 Sep 2021 02:55:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1630911263; 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=I0Wqq4Jy8iaEMvTgV2vlnpJmZdhB/J5L3qG8Ebh53Cs=; b=RlBZBUXiHt8lAQY2HYvXaI0ohzuOpTmqzu6ETw72wxvvFxcG/k9JrLix6wyGk41Q4yioJp aJitVMmLjlL0ZxlWnCIBdJN2/eN7V3kqCIJFW2ffB/884ajfM6zZYjT6ovVJSMw+q4Qop0 F4/nf82+QLmrVkW7LRx5I7Pw2Fb1j0g= 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-346-URXiBfWjOkuQsCM7reUm2w-1; Mon, 06 Sep 2021 02:54:20 -0400 X-MC-Unique: URXiBfWjOkuQsCM7reUm2w-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8718918397A6; Mon, 6 Sep 2021 06:54:18 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.194.140]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A11C31045E85; Mon, 6 Sep 2021 06:54:15 +0000 (UTC) From: Florian Weimer To: Alexey Dobriyan Cc: Linus Torvalds , Segher Boessenkool , 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 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> Date: Mon, 06 Sep 2021 08:54:13 +0200 In-Reply-To: (Linus Torvalds's message of "Sat, 4 Sep 2021 10:22:25 -0700") Message-ID: <87a6kq2nze.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.84 on 10.5.11.22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Linus Torvalds: > On Sat, Sep 4, 2021 at 8:19 AM Florian Weimer wrote: >> >> In any case, it would be nice to know what the real motivation is. > > I don't know about the original motivation, but the reason I like that > patch after-the-fact is that I've actually been in situations where I > test out self-built compilers without installing them. Does this really simplify matters? Why wouldn't the gcc compiler driver find cc1, but not be able to pass the right path options, so that the include/ subdirectory can be located as well? > Then it's convenient to have a completely standalone kernel tree. The final patch in the series is here: isystem: delete global -isystem compile option It's still not self-contained. And it seems that there has been quite a bit of fallout from the removal of . > Nobody cares about things like They are completely > irrelevant for the kernel, exactly because we've always just done our > own, or used __builtin_xyz() for things. Apparently, some people care enough about to prevent its use. I still have not seen an explanation. Maybe it's because we haven't Cc:ed the patch author so far (oops). Alexey, why are and so special that you called them out in your patch? If it's about unintended use of libatomic, then maybe we should work on a proper compiler option that also works for __atomic builtins and the _Atomic keyword. Thanks, Florian