Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp3068574pxb; Mon, 6 Sep 2021 11:29:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPgsyFOmvUSJjw3+sX3veOYyOm5JNJI6pYFllkf20wFkQkiK87xF5vRH8n0fn4tnGsW6pQ X-Received: by 2002:a6b:8b54:: with SMTP id n81mr10703190iod.5.1630952952029; Mon, 06 Sep 2021 11:29:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630952952; cv=none; d=google.com; s=arc-20160816; b=fxugiAlONx5+geCTyh9WCX9TODbEj8S78QrcikbbXpBQ9QiWCLsyKneWP4l4GI8f79 ZwjWt11F6ay2MSbvGzUJNqeSsioSq02V/3mahzIlp9eHU6JPJYCGuf6L4qqbSs+0kf6D UST/tKnMELI2Y8JMN+P0f99O3ruv7psOi/ScT3eqkUgE1OzlXv09O01l7PQMyU5CQlKS 1lm63suN8gDORcptFGk0zu/BmuI5h6+9V7QGYSuagAr8v+kRcgfvvHHbavu3XdIqWtrO GUGzvTkHatPA7Q8SR1n6V4LfsSzovKXTVYGLF/8hTZwuhSzXfFPaMHyP9W6Cw19Jd5OV F+Fw== 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=zdZg7k52Zmj/hALie/T8LIPyy9j0vAZZQI7YDqk+68Q=; b=jp2uvDilRu2rpWEwktyvOtueThp9C55n+MOUXebU5f7VEBNePncPpncwdF1YrhiEC2 oXDjCaNmPmhuIrn37T4iP6tkxnh+leFHBxFMVonJc8vpshIsagghubi7Q3D/LBNcaBX2 Gm7bNDpcGNd95/uVob+0Si+xNscUB6PYif+SGMtj7SwrzJhOT9JrQsPhFGVa91n+J2FX MHLLS0+ucv8Lvzk57WSyory64nQti601d+0xTYc/E7Ty1vmg+qhMEN83+moLa7LnWtIX AkNMTYKNejgq8gFm+TNDrcr+RNnZ9Vbtw0XxiQUKxut3wV4x1rXFm+VF22ZMJY+LuS/k JWVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=DUMQUUKz; 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 y12si7806925ilh.146.2021.09.06.11.29.00; Mon, 06 Sep 2021 11:29:12 -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=DUMQUUKz; 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 S244610AbhIFS3H (ORCPT + 99 others); Mon, 6 Sep 2021 14:29:07 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:48551 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245114AbhIFS2k (ORCPT ); Mon, 6 Sep 2021 14:28:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1630952855; 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=zdZg7k52Zmj/hALie/T8LIPyy9j0vAZZQI7YDqk+68Q=; b=DUMQUUKzeaVH9O5+48cIHvNp6/Q125V1+K74nBavESr/3ODn7gUSjshd4khMTxtIBLoIQF xBbR0+KOE9CFKTxo6/hGuLJTh0qPsbcVjGomCR0MPl/95Mj9edw/rdW6kuIGHz22SWvT19 UKn7HlPDjFocPOUq40b2kpNglb3JX4M= 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-334-8aTRbxFEMw2lx2hBnSYCSQ-1; Mon, 06 Sep 2021 14:27:32 -0400 X-MC-Unique: 8aTRbxFEMw2lx2hBnSYCSQ-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 59C0C1883520; Mon, 6 Sep 2021 18:27:30 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.195.4]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A66C25C22B; Mon, 6 Sep 2021 18:27:27 +0000 (UTC) From: Florian Weimer To: Linus Torvalds Cc: 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> <20210904191531.GS1583@gate.crashing.org> <20210906154642.GV1583@gate.crashing.org> <20210906172701.GX1583@gate.crashing.org> Date: Mon, 06 Sep 2021 20:27:25 +0200 In-Reply-To: (Linus Torvalds's message of "Mon, 6 Sep 2021 11:11:35 -0700") Message-ID: <87lf49wodu.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.16 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Linus Torvalds: > We use the compiler intrinsics without the C library header files for > everything else, so doing so for seems to actually be a > clarification and improvement. This is an exaggeration. On several architectures, the kernel cannot use the vector built-ins directly. Some of the implementing headers are very special and intertwined with the compiler. is currently not such a case, but it's just not technically not feasible to avoid dependencies on all compiler headers. I think this considerably weakens the case against because the compiler version is so obviously harmless. What the kernel is doing here is imposing an unnecesary constraint on compiler development. Basically, you are telling compiler writers that implementing features with the help of header files is a bad idea because it makes it more difficult to use them from the kernel. (See the proposed exceptions for vector code.) Thanks, Florian