Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp18212899rwd; Tue, 27 Jun 2023 13:26:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7EMjNl/nak42l0D179Y+Xf0vPDLRIZKqbNYd4sehistafsZ1vEQXv8TvPaC02QXQagSBNV X-Received: by 2002:a9d:7744:0:b0:6a5:f786:d763 with SMTP id t4-20020a9d7744000000b006a5f786d763mr27075593otl.5.1687897613782; Tue, 27 Jun 2023 13:26:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687897613; cv=none; d=google.com; s=arc-20160816; b=G6bH8xcG+Zq1leVnX5aL7x5EfCuePTgenb5VumhfsZPa4+RWaiDLDTdTw/2UhEfepU oour0v6MGkzYhV+231YmfGG5qGT5xiD3qKoq+BZCNHNRE5WnrAzH+0p9cJFU72dijOav kDYV/5CFvk6TdSvu+c6kXxQFyoac5y3YIKlsFcrnOm+/cESLnTuywm1KxkFpW0X/ObgQ La9AtT8Q3c+HsNiyxUalzQIVOTP1wh2rryI+z/qWkM9e/BEYJt5DFQzsA37wQiVWqQhY pNfXG8t2nLCoE5JeND2AD0N8awQqI1UV7P5Cj07lCLVTcIFFydE/PmeIvHOLp4XbV7Th SdRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=ZLuI5nD00PYdmR0TV738RD1rmcrLwafP6/VBiaRjU1Q=; fh=H8sea6/rjkdpMrILtpI5LMHx/0fH/gZZCMLxq3zm3zY=; b=LxAWNucb9t64Xbm5naoffbDz03Fu2H8wKknaTCiD8M8ebJO8eUoF+vaZy3DdB7UTb/ KJqS6AYFqDVUj+2LMcUHcacg7Ye2RBwIeM6CReilmv/4IAqPeECUsd3XOtGncGVWfp4L StpMbJrgJ2MroDzx6QfpLT9eRw9M+PT8IoTihGMYK0AE6w6r/9xGY2EbrJkecPJL14PK njHkcuo0EdvLhB9i9T/uz/xhTn87yuIz8aLw3hTu9mD+IiHfK9nPJT2MVihwaAB35c3x UkGXSkcjDZq1bOj+ePTo30kxLSJGBmiFH0VzcO5oulGTiUKmePJZhEl/N4yN20u900bI KEQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=cSzqkm1d; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h187-20020a636cc4000000b0055794eef914si7273663pgc.818.2023.06.27.13.26.42; Tue, 27 Jun 2023 13:26:53 -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=@google.com header.s=20221208 header.b=cSzqkm1d; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230399AbjF0TxY (ORCPT + 99 others); Tue, 27 Jun 2023 15:53:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230401AbjF0TxU (ORCPT ); Tue, 27 Jun 2023 15:53:20 -0400 Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 817A82733 for ; Tue, 27 Jun 2023 12:53:16 -0700 (PDT) Received: by mail-qt1-x832.google.com with SMTP id d75a77b69052e-401f4408955so63261cf.1 for ; Tue, 27 Jun 2023 12:53:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1687895595; x=1690487595; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ZLuI5nD00PYdmR0TV738RD1rmcrLwafP6/VBiaRjU1Q=; b=cSzqkm1d1b4AFhkJhViS8sDaJIf+PxUmJXSE1RGhTP6iCCCv38N0BIynlZA09gF4vP CpD6cB948INT3shzg+B7IOADAv1mqcb/d284GyeFR7u9Nxq4fDQ/N55DBiaX1FAvlzfk Diqjm5prhKaUtRZovQzs1wF6v5Q6+/PTGp2bJ1qMeOcIgAPHCQA7qRmQdIafxnNqmWqw MmjY3XWZjlu7Udq8ZL4PTQmd0SnSMlK0whx7TLERo3Mx3XYKbbGU17QRSaLVpQvt3Swx Vpc3OrS2B1C1fo8P7o8jU3KS9Lj2Cj+HHmHBerMNwmv6JLhJCO1FQ9ZNhdOIV5ceoHUs sJ8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687895595; x=1690487595; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZLuI5nD00PYdmR0TV738RD1rmcrLwafP6/VBiaRjU1Q=; b=OrntAA7hy5QobBzf9OChg/T/qt7rzdFBhpmYuDgCTkHinueLbeAgtQxlgIt+w4rS6z rm+ATv1FrrL99DHJvS0DWMlgd5pjD9M0SLMJxXGMKVNNxcniTCB6vnx/xuU7tgTbwph9 gncYF0nrGpxqkIzKaoxkkso6DS7gRBC82ckp89RaOagEBkvYr20oTEVbUhD7UWSpXGQs 8IlwnepMKXS8CJu75IKRRsOpWUBQHOUcqboVDPzepqcBURk0/eVmfqTwVdunPNi+iLph 1z4O+AYxDP15Fi3lpQX5owNHKuWDQSI8B7WMgZoLD0shKWY+Nqu0QQ920gwnquendiYm a4WA== X-Gm-Message-State: AC+VfDxVDbJwXbIaktYCdS4k3GwG33n0XBcVOA7w7LlyyIO42TqCbA7Q ZHYL/48eimF546y4gna6WkJm8QvTjABH2Ex0bOp6Qw== X-Received: by 2002:a05:622a:285:b0:3f8:175a:4970 with SMTP id z5-20020a05622a028500b003f8175a4970mr37184qtw.18.1687895595463; Tue, 27 Jun 2023 12:53:15 -0700 (PDT) MIME-Version: 1.0 References: <20230624002708.1907962-1-maskray@google.com> In-Reply-To: From: Fangrui Song Date: Tue, 27 Jun 2023 12:53:04 -0700 Message-ID: Subject: Re: [PATCH] perf: Replace deprecated -target with --target= for Clang To: Namhyung Kim Cc: Yonghong Song , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, llvm@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham 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, Jun 27, 2023 at 12:29=E2=80=AFPM Namhyung Kim = wrote: > > Hi Fangui and Yonghong, > > On Sun, Jun 25, 2023 at 11:25=E2=80=AFAM Yonghong Song wro= te: > > > > > > > > On 6/23/23 5:27 PM, Fangrui Song wrote: > > > -target has been deprecated since Clang 3.4 in 2013. Use the preferre= d > > > --target=3Dbpf form instead. This matches how we use --target=3D in > > > scripts/Makefile.clang. > > > > > > Link: https://github.com/llvm/llvm-project/commit/274b6f0c87a6a1798de= 0a68135afc7f95def6277 > > > Signed-off-by: Fangrui Song > > > > Acked-by: Yonghong Song > > After 10 years of deprecation, time to change. :) > > Applied to perf-tools-next, thanks! Thank you! --=20 =E5=AE=8B=E6=96=B9=E7=9D=BF