Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp18180507rwd; Tue, 27 Jun 2023 12:55:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4z3dPJIO7f5AcdL25PA3iTqcMx3nJ/c86njiZGA9g094EcPZWO7HJPTzJ0Vk7NzwHBQu4P X-Received: by 2002:a05:6a20:4402:b0:12b:475:93d0 with SMTP id ce2-20020a056a20440200b0012b047593d0mr2922391pzb.35.1687895727210; Tue, 27 Jun 2023 12:55:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687895727; cv=none; d=google.com; s=arc-20160816; b=0rVuQT3nsM/yUwHYklvuX0y7UtHzQ3D1PLS3So2B8suhUDG5aIzhEngWx+5Fktr8SV LrXyZzuhcYDolUJ+G2XG2VLquwjVWI4gCYgdw0QOGNNkH+ludj7bqeDhuhlIT4zhrHHt xHomSTTJ/K4Dz/Cw7CG3u9BcS71P3MsHgb8syGnRa+1isPZoGEaYdClN+ZFgApq/K5rr Hqmt2OCeYeLx9haJ36qYGkuRRGWkaPdYFNEzzL55v+/2Yypnreeimol7rzsPqPgcEG5y 8QekznT5kbXaqXLTNHL0EA3tXqjljnTd3w3LnYEDPMN8t67WuKeUhLKGzRvbJL24FG+D PxrA== 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=XWTyrHWo3DH4WeJQJV3ZkbmX57NNeA9KlEEZWcqodA4=; fh=8ghrccBu5H1UkboSXB1eN4+2NsqS1uNYzSIATyDGdMI=; b=eW2QSxHScUc3r4/WZ6oQ/wmNUdAnaomRQouzs8y31VEZpafdUfXrl8qGaKimJ+l+wH euzfXfrSe/mf0mpynJlqtJqXPOocSQ4+ISZ3oVLJizGCLwDWc/NeNrL/GZ2ih7Xg7Nez yZ7/MX4FiDncf4poSEHOlLgJoJThvCQcm0cyyemYb6qREHHLGdIqjINGf8rlXC6HAF1H dd36nPoar+V2dRA4/yFnBOpsAqzAFRUEswnRWwU9q3nkhrLGkiUuxCgoQJqBjIFHsocY rpX58vTQ9V9QOwEyC9MwUFY/GmSvnYDGDTKRcdOqGaUNN3Uhh1OWaAeB6wahNmZVD7Rr 7H7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=kmfeeAkP; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j72-20020a638b4b000000b0052ca7192647si8038367pge.548.2023.06.27.12.55.15; Tue, 27 Jun 2023 12:55:27 -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=@gmail.com header.s=20221208 header.b=kmfeeAkP; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229812AbjF0T3v (ORCPT + 99 others); Tue, 27 Jun 2023 15:29:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229487AbjF0T3u (ORCPT ); Tue, 27 Jun 2023 15:29:50 -0400 Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B566B19A9; Tue, 27 Jun 2023 12:29:49 -0700 (PDT) Received: by mail-yb1-xb2d.google.com with SMTP id 3f1490d57ef6-bfee679b7efso4813715276.0; Tue, 27 Jun 2023 12:29:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687894189; x=1690486189; 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=XWTyrHWo3DH4WeJQJV3ZkbmX57NNeA9KlEEZWcqodA4=; b=kmfeeAkPPfIIrgdhOd0Wz4grrEpQXcJmqHZ9HzQ7fuysvUZaCgExi22n1Bd0FYEXa2 TjrE9q5kPQe+asD1MQsO/KQw9jNjLqwHALeKqPUWj3pQmhn7/nSkIGlqf3z/X61xjh/R myalWcsWU5YNZyIHwdJgQSDQVhJoGUC/LQINYA3cW8I1OueqF48HhicinqWQyRKHq2Yc 9Wj0GmeNw10ae8KihoCV4p3gfxAoiPGK94CwRt0+F9xfmGWLsi9wv/evVGUy8lhHyUv0 1yQA4cZ+v37F/eLCdaqLgyGyLvqzjd6JdzNw9iBMXhQcf8D62KtWLIQNh1mswSGQ/KSZ Znkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687894189; x=1690486189; 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=XWTyrHWo3DH4WeJQJV3ZkbmX57NNeA9KlEEZWcqodA4=; b=IC3vXvbKX7UOZ0b4IuopssrknTuRAvhw/25VEJcPm6nWr0kTFX6l27tIfxKEzJ1RVL GAhX03Aj119tWbxhxzHeoz5KS/hMUBye/HKEtAxhNxm8NRViyDj6Hl86op0pP04bdTcP YnjE9d12xWnvBFbBHqnejSGtKUmLKCN2pbXfpp9QxHHMve2ojaVCXSr+pGrnUYnIrUAC OYq1TGkQL8CCiqxpASoC1jw8V5MtYC482fHkzW8cZpqzABwksK0EVnmcy8gPteEWWFc4 J5JR4IysbKVRXujPZ+y0kVURfkikI84SotcoyvTighszajdsw9bmto7h2LOWzJx2JlI6 MhJA== X-Gm-Message-State: AC+VfDwHvCZMV++cTT6oGAZJmiYQ6WrLw5uD8TEDl7ELIgJOLQ9doNQh SjaH4b429mXbTU6ukeDZoEjfLyf/FnU0qlBBnFc= X-Received: by 2002:a25:6fc6:0:b0:c24:dea:a5e1 with SMTP id k189-20020a256fc6000000b00c240deaa5e1mr6059171ybc.3.1687894188822; Tue, 27 Jun 2023 12:29:48 -0700 (PDT) MIME-Version: 1.0 References: <20230624002708.1907962-1-maskray@google.com> In-Reply-To: From: Namhyung Kim Date: Tue, 27 Jun 2023 12:29:37 -0700 Message-ID: Subject: Re: [PATCH] perf: Replace deprecated -target with --target= for Clang To: Yonghong Song Cc: Fangrui 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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Hi Fangui and Yonghong, On Sun, Jun 25, 2023 at 11:25=E2=80=AFAM Yonghong Song wrote= : > > > > On 6/23/23 5:27 PM, Fangrui Song wrote: > > -target has been deprecated since Clang 3.4 in 2013. Use the preferred > > --target=3Dbpf form instead. This matches how we use --target=3D in > > scripts/Makefile.clang. > > > > Link: https://github.com/llvm/llvm-project/commit/274b6f0c87a6a1798de0a= 68135afc7f95def6277 > > Signed-off-by: Fangrui Song > > Acked-by: Yonghong Song After 10 years of deprecation, time to change. :) Applied to perf-tools-next, thanks!