Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp15179638rwd; Sun, 25 Jun 2023 11:53:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ43X522x53Ykm6tXJcJxUNxsiQWefSvv1TlHSBH6/0paCgGOcdMCe/+PD+SbvEH9df9gzSs X-Received: by 2002:aa7:d292:0:b0:51b:dfce:1a49 with SMTP id w18-20020aa7d292000000b0051bdfce1a49mr9327806edq.37.1687719192963; Sun, 25 Jun 2023 11:53:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687719192; cv=pass; d=google.com; s=arc-20160816; b=I4Cx37sTNc2WevcyPwyesFBt+ouRfdUaEFz2RsGhp1WxGCSTMPF+tshtpgP9JEpAy6 Y4K8OYoQ0Syjk4T0gM06NHXiFbV4GdkvBwUqRSHHwa2qvA9YI5kqiKEQpRkYAgmtNk5o biKfBeChZFevpW0UxQU8B701qeS4fGcGk/ThYsyxN6Sc8kjpJdrMxzqbvhNbz0NmYYSx NKz8Njaz6BOYLtcxvwvm0Y+oLZDIehUsKFTo8KVz8/t3nO/QiE0BMs1TXERz4Br/SzHV 4aqYFABkaPsHGnzHxNDrjWjB/SPb5pCEHVOtCi65/WKWHThPlf0kKeSQml6K/SgQimsa vw5Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:content-language:references:cc:to:subject :user-agent:date:message-id:dkim-signature; bh=k7Vgn/KZWjbtbNLRwgLxZHiP2yLkPpmUeEMottU1buw=; fh=pS9A7RsG/LErvoU47uEGZpo9W/6LeAqkQqIl1FXsVaM=; b=hsfzESJhoHGMpc3+tTtoDnsFoSC44TdWWfV5HjJC0DEbP2YcLhuYbga9c6pjwicmt4 OzlWKl/ewVkuPHxvhs8GMS4N/ppXW4ZWaOvbfXQczs5HXV0jBXyg5M9AEbwNhe6F7SJr aPTf4my3J+dc12JvWm9UBmLTFTioOO0P+veRfKRSGSPLmjCZlcSFgOumPXz1W9XgbvpR rAMgYvuanSYkzGF/YWa5kS7gRv24G0GyI8NiuH4UlA+cFyDdWVGAqaWqO1ZDbwacgjbE 3HHy1svehVL3hzm2JsQqxagdg55ETRe6qvfk/CGQlHBE+LCHf5qqJ+qC2czW28axbe15 jkbg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@meta.com header.s=s2048-2021-q4 header.b=FNIZXyVW; arc=pass (i=1 spf=pass spfdomain=meta.com dkim=pass dkdomain=meta.com dmarc=pass fromdomain=meta.com); 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=meta.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g21-20020aa7c595000000b00516575b1ca4si1880548edq.38.2023.06.25.11.52.48; Sun, 25 Jun 2023 11:53:12 -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=@meta.com header.s=s2048-2021-q4 header.b=FNIZXyVW; arc=pass (i=1 spf=pass spfdomain=meta.com dkim=pass dkdomain=meta.com dmarc=pass fromdomain=meta.com); 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=meta.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229587AbjFYSZE (ORCPT + 99 others); Sun, 25 Jun 2023 14:25:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjFYSZD (ORCPT ); Sun, 25 Jun 2023 14:25:03 -0400 Received: from mx0b-00082601.pphosted.com (mx0b-00082601.pphosted.com [67.231.153.30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1809C1BC; Sun, 25 Jun 2023 11:25:01 -0700 (PDT) Received: from pps.filterd (m0148460.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35PBxoSE002041; Sun, 25 Jun 2023 11:24:47 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=meta.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=s2048-2021-q4; bh=k7Vgn/KZWjbtbNLRwgLxZHiP2yLkPpmUeEMottU1buw=; b=FNIZXyVWVLuljfXDOj6ED2rpqTQkWxGKGsPdIIlHknxPlfqz+VPoaQZvR03YbBbmtVC+ WuGmIQHBzVA5dBZPnjI2YYDMFUWPjvO6MrJYsoR1ilYv8Ror0AawbEeQ9Qo6dq38c5/e 5N35otytcg8ZCD5LHj2GTcKsW3WecWUbxSxPNfb2TBerWpBFImSE7hZpSNVetLhPt8b2 eacA2p9M99+xNSNXm6JqeKoA4bnwJYF2HZe33p1rCjEwuuvrI2gopwdq4dq6Vb/dQHpF 7KFcywc87srV0a8fNx3u7dl/9FKGB5j7BkSIsEux2xcm2Rg/WdrCRezF3HEqsVeiNMGz 3g== Received: from nam02-bn1-obe.outbound.protection.outlook.com (mail-bn1nam02lp2047.outbound.protection.outlook.com [104.47.51.47]) by mx0a-00082601.pphosted.com (PPS) with ESMTPS id 3rdx15g1w5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 25 Jun 2023 11:24:47 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LJng2njvhHv/2nr3zIRvGdFb8CMUM+177diaQqALiscMAq2ZeLO+y2Ij3gWyP4WgCAg99WRHWJERimEbhQ98X2UiD2zRI1C+UnkIw1iZNJZf+P93SOdG+/BR1axRiBsYAd3O764Yy3Z09Dqdn7zmnDHVWxTFcVeVSd7lRqJJghBnQ7UkgA6LCdx1zHMoItxvR0L6gxHvV9EOWOsHgbmwSmCADPflgX06VxGBLBCKnfuYkbgTS0m7oVBIWHia8DpEgZVptg1UKPFwJnxaqcw3vvCc24t0VKejeYXn4SDNHWCBFzPJ+4Yjtr3GtfaT1lUk6CcBh/tmFw2K0bmewTeaXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=k7Vgn/KZWjbtbNLRwgLxZHiP2yLkPpmUeEMottU1buw=; b=NOexKYCDDewuImU2/ZHPapts9jbheapgre47feldh88Ff1Yt+ib3n0yYT/lB/D1N0uEg4XHckU1xVtj52NiyQT3YM9ucsnNTjceHKGmFMP+V9NYXMwZI11jmm82inKXUzhy6YPt35u8hStskNiOvOumbssOLVayJzi9j6QGirsCEPpCQBPgqkDXIX6lw74DlbFRSfbo9CGn+PC0mC2pw1+uNjE5hxWqm6FCcjrYpemxDMmpUAqLRihj+IaBf2ytrMne4EF+6eMJzKijyccVWhVLTQ5pVYLb7yo3rRheMyFx+Qu8WD6hunvb0yzKSJIl3wyHWgzsT+nscN9966fwXAA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=meta.com; dmarc=pass action=none header.from=meta.com; dkim=pass header.d=meta.com; arc=none Received: from SN6PR1501MB2064.namprd15.prod.outlook.com (2603:10b6:805:d::27) by SJ0PR15MB4727.namprd15.prod.outlook.com (2603:10b6:a03:37c::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.26; Sun, 25 Jun 2023 18:24:44 +0000 Received: from SN6PR1501MB2064.namprd15.prod.outlook.com ([fe80::428f:acec:2c1f:c812]) by SN6PR1501MB2064.namprd15.prod.outlook.com ([fe80::428f:acec:2c1f:c812%7]) with mapi id 15.20.6521.024; Sun, 25 Jun 2023 18:24:44 +0000 Message-ID: Date: Sun, 25 Jun 2023 11:24:40 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH] perf: Replace deprecated -target with --target= for Clang To: Fangrui Song , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , linux-perf-users@vger.kernel.org Cc: linux-kernel@vger.kernel.org, bpf@vger.kernel.org, llvm@lists.linux.dev References: <20230624002708.1907962-1-maskray@google.com> Content-Language: en-US From: Yonghong Song In-Reply-To: <20230624002708.1907962-1-maskray@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed X-ClientProxiedBy: BY5PR04CA0015.namprd04.prod.outlook.com (2603:10b6:a03:1d0::25) To SN6PR1501MB2064.namprd15.prod.outlook.com (2603:10b6:805:d::27) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN6PR1501MB2064:EE_|SJ0PR15MB4727:EE_ X-MS-Office365-Filtering-Correlation-Id: 2f288df6-c88c-4401-ae02-08db75a9729f X-FB-Source: Internal X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: l+hsbTzveJs0ADvTYV+X9flvocBtdWYwsvG0y4RyFUAbApUeiNcByc7uGbTE/6JwgDSiXDaDY5iofhT+aR+f3+FiKO/EE3pej4SdRXmn4cj863feXjD1+03/u99141Xr2ZO74PhSUpPiecg0Bc/i/e9/D8flMa0TsG21Y4J22e30SHlNiqLo8bx31aciQjh/dsQAYNHiGz81WPzvSiwAyKKo4fUzRph62mpCOWCmT5FXcM9KKoRT6/YEV1SI7/gvBqgXN4Nr5wfjRwqXxQtEOyky5ckDkw35AYfbGx1E3AM+O+UQe1RN40pxOaAB4kDGc0zgjg3YhZGFItF//ANMoLB4bW3fWLacCIlItag8padMkgvwb3rQRzM4BR5ZD9oDOaXsQ6al3GVFIUB5UuVpkp2CsNWi8H/DYFaPlZ+yPEwHHml7hFxoijpGCIO0kHYd87ICrH2Fd+q9RlFkRNLeMY1Xs3SH3NJAxTkxrDMEUasf+h9rpu4wbohk0io+8HjZqRe6kiNvs+sL8J7VXRTQWbTuy2uPEqQCftnEYr5kBtiUqf0vlp6HaBfifOVlhstHoqUDnltiC4Xccwho66CaKFTkWeXwLSnTyVGFRRRhEJn3HPZNvXCxcgNEkqJmj0mAl1fLHuDbRKUkoRIJwALgpg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SN6PR1501MB2064.namprd15.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(396003)(366004)(39860400002)(346002)(136003)(376002)(451199021)(31686004)(5660300002)(4326008)(66556008)(66476007)(66946007)(478600001)(36756003)(316002)(8676002)(8936002)(4744005)(2906002)(966005)(110136005)(31696002)(86362001)(41300700001)(6486002)(53546011)(186003)(6512007)(6506007)(38100700002)(6666004)(2616005)(45980500001)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TXhoZEJhNVNXai9ZVnN2SENydlpuWHJlallhWVlXQlkxRVZDY2xvMUUyV1V4?= =?utf-8?B?Wnd2QnZmRVhmUmgySDM0REJqbldpNzVGM2lzN2xqdkIzaC9QZE9WK3liVCtR?= =?utf-8?B?Nkh4cFNrYWV5a2RaU3pSdTY5UER0UnB4MDlzU0J5bTZyVjRHWVVnOFNLK2FP?= =?utf-8?B?RVBKaEhwWW5qQ0FIdmNlNG9yZXJuY0RiWEZYcjhxQmlwaDBxOGRET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WjNIbmtLbXptZzIxTDZMN09Wa2MweXNWd212MEhPM3B1?= =?utf-8?B?Y1lIdFcxSVg1eERGUmQrVzV4OXpCNmw5L0x6eURtM3Nld1ZOVmszcE9FVW9P?= =?utf-8?B?MmNodUYzNTloc04yRmk3STFpM2UwVzZzQkRGSFo5SFBnZGtiVnVJaDJ4b00r?= =?utf-8?B?dUE9PQ==?= X-OriginatorOrg: meta.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2f288df6-c88c-4401-ae02-08db75a9729f X-MS-Exchange-CrossTenant-AuthSource: SN6PR1501MB2064.namprd15.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jun 2023 18:24:43.7753 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: uwQfF3ejP4CqwUDFF07yEsIA+awJuBvSy8L4hCmexkg917g/noytwvqQv52ZhDLn X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR15MB4727 X-Proofpoint-GUID: bD4JhBvsyGxes2HedKoi-YtMMmYm7_47 X-Proofpoint-ORIG-GUID: bD4JhBvsyGxes2HedKoi-YtMMmYm7_47 Content-Transfer-Encoding: 7bit X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-25_11,2023-06-22_02,2023-05-22_02 X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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 On 6/23/23 5:27 PM, Fangrui Song wrote: > -target has been deprecated since Clang 3.4 in 2013. Use the preferred > --target=bpf form instead. This matches how we use --target= in > scripts/Makefile.clang. > > Link: https://github.com/llvm/llvm-project/commit/274b6f0c87a6a1798de0a68135afc7f95def6277 > Signed-off-by: Fangrui Song Acked-by: Yonghong Song