Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1493978rwb; Fri, 23 Sep 2022 13:34:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7n8hap08gr3j0FhAnMlyZdgKqUIOSDNn4fmiwhyFB4TxxhluQfLjvk5ES2+W99a4GevA2Z X-Received: by 2002:a05:6402:5249:b0:451:67ff:f02 with SMTP id t9-20020a056402524900b0045167ff0f02mr10498756edd.227.1663965283262; Fri, 23 Sep 2022 13:34:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663965283; cv=none; d=google.com; s=arc-20160816; b=XPg8WZe3ITgMhPGJ+dS0DNY6T1hDrNN9bHLELQ6IBgPbP2jf2dxaroylYIwlCvPq5m CHG1139LelhxAjDa9VvkZP5Vp9has8vMZQJYS8R0fAdPSjSTCwEZCZgXgEkQzjSHKKWn ENY0ZyXB6X5bgyp7EOCB60IHkukYi77ODSOIQdvzZEzMYkK65sLGppELpIAUkCIzVBHH CsFl/02MhE19Mu3qqqOrIPwEUfQiWYBZulZ2KAKCF1eoHXwTI2hbPJ2FvSdkTYhLEQi9 T/1dGUEseJ+jvyodiCIiHzNVAw6mCjQK5Zbj/5KiUzRP6Zx+pmlEVlUK6M5YN19elw95 8t8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=NbCGtSdbG3oqkI66EnHd+jvnGku05D5DfnQbs9zZVLQ=; b=itJUBD0ublQb2+mZW+SSLxUIybiGVo2HAEuY6+fpoUq2akvQj922XcFf3/wnFk2yM8 eeDJ2B/c8bDVfdqo6Z6dg58mavd4NwFokzggkqHB9pTgEnJfEcxqxhgQTmZBcCDAL7Is oZDq02jLD8anpHLeHdFyTk59H5ZsjmWoOMm+u8/+xxKvzOWVS2EJjBoUHQ1KM9C39Il7 af3dzbCNBXwuHp9qcjdo0ErdzP00GOtueShSUFddxWMBRIlWQSLflgwjb1PWCDB81M1O orZDgTdFdspIeSQq0gkbXF+VRSjtWD9DGSFdhkha1h/WRFbC290gWteTD3LaiUFtRjI3 lVdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=x3AlN+6O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cs11-20020a170906dc8b00b007824d9d2c4dsi5447113ejc.496.2022.09.23.13.34.12; Fri, 23 Sep 2022 13:34:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=x3AlN+6O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232314AbiIWTpC (ORCPT + 99 others); Fri, 23 Sep 2022 15:45:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230089AbiIWTpB (ORCPT ); Fri, 23 Sep 2022 15:45:01 -0400 Received: from conssluserg-02.nifty.com (conssluserg-02.nifty.com [210.131.2.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61EC583F0B for ; Fri, 23 Sep 2022 12:44:58 -0700 (PDT) Received: from mail-oi1-f179.google.com (mail-oi1-f179.google.com [209.85.167.179]) (authenticated) by conssluserg-02.nifty.com with ESMTP id 28NJigKM029622 for ; Sat, 24 Sep 2022 04:44:42 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com 28NJigKM029622 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1663962283; bh=NbCGtSdbG3oqkI66EnHd+jvnGku05D5DfnQbs9zZVLQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=x3AlN+6O4X9CLT/N/7ZyrW06jeAzLkdBWhD7QRycVtcysFmSD0ITESQgBNVO6rD0h JYui6PIm3GqoAhIOaxxrcYdHfjc6SQQuYjx2GEq5T9r/ivNcnCilFYSxHPliFgpxSw w7z+Cd8FNL2AJFGyzDC27uIZ3H3JN1Bm+GPPu5hJbBVvt85X2MPxEzyOv320oIbpQL 7txS0Sof7x64RslwTy8YpPGGVIRMnxXtIdlUIuOJG2/9nv4uP0k62QY/7mA+115kGd knpH0CD/9NlMOExcZvpW8+rzCHItIuRv5nt24y/pqDHgxFZv7JmsBPHgAGBx9yx9IW r0uX9yaeC9cZw== X-Nifty-SrcIP: [209.85.167.179] Received: by mail-oi1-f179.google.com with SMTP id g130so1027168oia.13 for ; Fri, 23 Sep 2022 12:44:42 -0700 (PDT) X-Gm-Message-State: ACrzQf161tHNMI9zuMhrSj2iGM7fbv6roLCIQ+wTb8wo6Ajq/q3OIVAq Ayp/RaUnhO8LLYoWQwBEPP5CSk295Q0u0La8vkk= X-Received: by 2002:a05:6808:1b85:b0:34d:8ce1:d5b0 with SMTP id cj5-20020a0568081b8500b0034d8ce1d5b0mr9560936oib.194.1663962281705; Fri, 23 Sep 2022 12:44:41 -0700 (PDT) MIME-Version: 1.0 References: <20220919170828.3718437-1-ndesaulniers@google.com> In-Reply-To: <20220919170828.3718437-1-ndesaulniers@google.com> From: Masahiro Yamada Date: Sat, 24 Sep 2022 04:44:05 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4] Makefile.compiler: replace cc-ifversion with compiler-specific macros To: Nick Desaulniers Cc: Michal Marek , Linux Kernel Mailing List , clang-built-linux , Bill Wendling , Nathan Chancellor Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 20, 2022 at 2:08 AM Nick Desaulniers wrote: > > cc-ifversion is GCC specific. Replace it with compiler specific > variants. Update the users of cc-ifversion to use these new macros. > > Link: https://github.com/ClangBuiltLinux/linux/issues/350 > Link: https://lore.kernel.org/llvm/CAGG=3QWSAUakO42kubrCap8fp-gm1ERJJAYXTnP1iHk_wrH=BQ@mail.gmail.com/ > Suggested-by: Bill Wendling > Reviewed-by: Nathan Chancellor > Signed-off-by: Nick Desaulniers > --- > Changes v3 -> v4: > * Split into its own patch again from series, as per Masahiro. > * Rebase on top of b0839b281c427e844143dba3893e25c83cdd6c17 and update > clang -Wformat logic in scripts/Makefile.extrawarn, as per Masahiro. Applied to linux-kbuild. Thanks. -- Best Regards Masahiro Yamada