Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp12620783rwd; Fri, 23 Jun 2023 08:26:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7g/GyqMDWibA0ZKY3nx8zx7sG1lO2boKwgmfvVdDQadpnojb3PJviZFH09hkyKL4cyv3q8 X-Received: by 2002:a17:90a:38a1:b0:25e:886b:c6b with SMTP id x30-20020a17090a38a100b0025e886b0c6bmr18211118pjb.48.1687533962682; Fri, 23 Jun 2023 08:26:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687533962; cv=pass; d=google.com; s=arc-20160816; b=eENLhVmF8EKuZR/wqiNXBniYUncp9tCi1BR4lZGGPOHNXiMT3mKvXDnhsWjYaw+LcZ 0d4VkdPyctx2/iRnS4j9jHioi6cSxMga1IDi/+fyb7MBmJJTdoVUDJjJJwp8/q5/On2g btTxSAaT5U3p3LHTj2wI+A5y91oiLxYd38mzCGxXcXgQgXtohQALIkssXL/K6qtSfSuV 3faKUr76b53EyzxrFhmOLAx7tuX6s2hoUUAjRgjk2tS03gcAVcY1FRfGXJpWxGCa6qT8 sHG+YodvDI1H/4OZeoSexUAANR97hqqRpN7dC/DQrxY7d75zANqVgZYMgsf5/sVWJYGE spmA== 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:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=3YGtophNbgw2B1jc8Clszl3vTRio9ERAfYfPxf3Q1kU=; b=fXtpkSchEs49hSM1ZUeVB01o2j9tyFjeWL46wTPbYcyD1PjkBjy66DbV7ttP/mP42p UApt/vw79mDbqk1a/GzzD9gzqsbQVoONjJKzwIY0i7od6ivOQXehcKvL4boX8K2DZkP9 07vbRiX40M7+nhZBnuIaY9qEBksZoTbFJXS8MDKY5xPT62cWKWhUX23btV7zO3GBg83j nvBA+bHsFHKNM1S0s5u/w6QwEsWxJM0+SPbShogGVTODNQQaOk0j0OI15YX8sBgucJSU ZyeZ0oHBJUylJtgt/OdVf94fFdZrElm4IU8SrF9gFJ+8BxQO2e4n6Fh4OWsT7WgL2vht so2Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@meta.com header.s=s2048-2021-q4 header.b=Ly1XJ2Ag; 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 29-20020a17090a1a5d00b00262ad7718f2si894669pjl.34.2023.06.23.08.25.49; Fri, 23 Jun 2023 08:26:02 -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=Ly1XJ2Ag; 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 S232373AbjFWPGf (ORCPT + 99 others); Fri, 23 Jun 2023 11:06:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232083AbjFWPGd (ORCPT ); Fri, 23 Jun 2023 11:06:33 -0400 Received: from mx0b-00082601.pphosted.com (mx0b-00082601.pphosted.com [67.231.153.30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 900D31BCC; Fri, 23 Jun 2023 08:06:31 -0700 (PDT) Received: from pps.filterd (m0109331.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35NDwFF1026576; Fri, 23 Jun 2023 08:06:11 -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=3YGtophNbgw2B1jc8Clszl3vTRio9ERAfYfPxf3Q1kU=; b=Ly1XJ2AgIhJj/LNKt2SwEXCzv+OU/MHoXpeuY9H/D8tNzxDEZ3i8dLZcQIDeS15g64pz O80Tv2ByxJtRy7xX2n4vXw4Srgkft4VBLuBlI9rHMqPcc830BfT0WFGWV952ihPDoZch +atSw/lFHHO5Sl3spj2sSczKt8ZbyCY8/Gicyp/vq0Kzxjk+0QbZNO3LMgRMmn5B+Rwz EUaOQKRcJ+pIbiU/xcQCdIjdz0l+cVOPZiXZj/AoeoNw9ij4aaGXDDpDNjdl8KmuNF78 mK0NLgUMD1f5y6ydJU0SkCwQuBmsTlprS8qqGgT9uVo5epABDPGNOhn/a+oAI6PhUx7H iQ== Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2105.outbound.protection.outlook.com [104.47.70.105]) by mx0a-00082601.pphosted.com (PPS) with ESMTPS id 3rcxs5feum-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Jun 2023 08:06:11 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RjdrmEq9kTgWlCB2fgtiRLSMWsdYY4ogM19HEP33z9M8N94LN//24M4x4S747M+Z984mBd2tWU867i7qRzTcjq2qyrDdte/YKzpuQRQdy4mFVIbZwJ6Zdg12I+Bqqkk9kTwstGfc9fuG+byrR+T7skvpw/uQ98TwcOagYY4CMdiO2zcVruDyDv918P1CtHFzlM/0rtQvCr5uQSgdB8z7CvIMyXmUSk9A9YRk5UQonuaI7xeA/k+37wLIma404RsABa2bvK2poFKSYmsbt4/gDYJGdk7rh06ipNPSTY3kXFtLxve9rmECBuU/JafGDgqrtfk3KE4tFHe8R7Agv8jICA== 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=3YGtophNbgw2B1jc8Clszl3vTRio9ERAfYfPxf3Q1kU=; b=C+BTRLV74AUheGhL8ZiQ+RNPCHR6JlcdxBokjeNcJ+QUxbbUYvftWhejTIV085LJioWu14j9DLN3CERzS7/NWhX8i0UmWyl3aAQ64A5V+xmyLbZsM0b0BB/PCN9gWLzxYSlpHfHnKWv1O/Zld0r8f8Ime+FKd55BQMpRSN0BJSPxQCfx8g/LnDosFxaTzU+73RY3ZN17Wercf1a8osF6TWXizg3oLh3cDEIK22xioYpC5rty+MauxErqXMaMD2kicQfHdH1ZbvsBCR4p79PmrQVNOYoEoSUE2I0yZkRSRnJCXqESGS0BUOyqYvViLAIDIc+rl29n+iwVrsL55bWcrg== 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 CH3PR15MB6325.namprd15.prod.outlook.com (2603:10b6:610:161::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.26; Fri, 23 Jun 2023 15:06:09 +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; Fri, 23 Jun 2023 15:06:08 +0000 Message-ID: Date: Fri, 23 Jun 2023 08:06:05 -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] bpf: Replace deprecated -target with --target= for Clang Content-Language: en-US To: Fangrui Song , Alexei Starovoitov , Daniel Borkmann , John Fastabend , Quentin Monnet , bpf@vger.kernel.org Cc: linux-kernel@vger.kernel.org, llvm@lists.linux.dev References: <20230623020908.1410959-1-maskray@google.com> From: Yonghong Song In-Reply-To: <20230623020908.1410959-1-maskray@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BY3PR04CA0028.namprd04.prod.outlook.com (2603:10b6:a03:217::33) To SN6PR1501MB2064.namprd15.prod.outlook.com (2603:10b6:805:d::27) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN6PR1501MB2064:EE_|CH3PR15MB6325:EE_ X-MS-Office365-Filtering-Correlation-Id: f6929013-2704-475b-0c6a-08db73fb6001 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: /oJA8JKGkh9Ndn3DdjQJKWu8dB5B8QxuGBu48BG7GpVaLWXePJW9LJdmHXNGx51qpZ9i01i2aQ6imrr6aJP7xxIJkfS9D5JfkpFBFtUlij8Sb/xSdWm50kgpJOIUVhyp+78PSTXtFwiKeXiHj+oLysjmejnTVMQ46Mt+U67swHqcWV4mhqIX+uC9yLe91Eq5nyboHehTehXcTL9t+PaGqxfYzXWjctHCTyycDPFE1Cbr/j4vK7tl5urgE289moU6IXSodkC+7kvwbaYJy+mOEpD5orOkxMnt1cEfyqm4UtC01zsAePvzMLo/tSMjz4ZG9JKPEz8Wf0CgH5Pd2Yubu5qkYcnmcwWexfX0BWqQE/Pwo3GgRD7esEIywT3ukf+MIlEPRDAGlx6imX+CWwvpN3za0W5IxOwS5mqlEpf9iYWpxoWvi/FvMO2Fufgv8+RUlvJiPT5tPp/bcnF7YV2PWO8FgRvP81Sz+JoLYJdhgV75IyEoIkJ5pc8wpZ8xji4h4NepG/GkY5xb7RvExOWCkOf9kmW0IlfGIV7oQ44byc8Z3rT3bge9ZHbsAGtQdPDyP+z3A0jWicu4S/sQXNMu4fhPwh9aBMKjnABuX1pl+WJCrcwsF4/ti8gYO992wtld5ZUxy8c65BnMNFk6svfioQ== 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)(136003)(39860400002)(346002)(376002)(366004)(451199021)(31686004)(66946007)(4326008)(66556008)(66476007)(478600001)(316002)(36756003)(8936002)(8676002)(5660300002)(2906002)(110136005)(86362001)(31696002)(41300700001)(6486002)(38100700002)(53546011)(6512007)(6506007)(186003)(6666004)(83380400001)(2616005)(45980500001)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SjRtYXovby9IOVZKd01odGQ0c2RNT1hKU3I5TnZaMkozT3RmQy9URVJrbEsr?= =?utf-8?B?TktlZGRSNHZGeDZNWHRPSHhCN0JDYytlbThNZFpmcFpTbnZ4WjZ6QVVpVFVC?= =?utf-8?B?V0VseFl4Q0J5YkFCSmhqQ0x3MW9IVnErVU5LZHgrZ2hQcjZHdDNZdjdKczRX?= =?utf-8?B?YUZKTmNNeU5naVRZMm54WlBUTGxtQ1pJWmtHNFBUYXhNWFdPcEx4ajJicUc5?= =?utf-8?B?Kzc5bjl3bElYOU94OUwwY3p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8?B?WUl1Yk5UaTZPc0lKWCtjWDdkYWdpbWJncVNpK0ptU09jVDg5ZmFnc1RQZlBB?= =?utf-8?B?VlgrVjRyQXNNNkpyN3pIblpUcWZNOEEzYWhCdUR5UzZNYmFkS0k1Tm85UTJO?= =?utf-8?B?Nmc9PQ==?= X-OriginatorOrg: meta.com X-MS-Exchange-CrossTenant-Network-Message-Id: f6929013-2704-475b-0c6a-08db73fb6001 X-MS-Exchange-CrossTenant-AuthSource: SN6PR1501MB2064.namprd15.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jun 2023 15:06:08.8813 (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: AW1IpxoiJrnTEpe4HjfGEiqnkplYaCpPr3TuKE00dhGpsmTOAyuhEPcT7ZwF7TKD X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR15MB6325 X-Proofpoint-ORIG-GUID: dnDDFWzaiiY43G8TLNmQcflZeYh3VCGX X-Proofpoint-GUID: dnDDFWzaiiY43G8TLNmQcflZeYh3VCGX 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-23_08,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,URIBL_BLOCKED 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/22/23 7:09 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. > > Signed-off-by: Fangrui Song LGTM with a few nits below. As Daniel mentioned earlier. It would be to separate tools/perf changes to a separate patch to perf subsystem. Please also cc bpf@vger.kernel.org Acked-by: Yonghong Song > --- > Documentation/bpf/bpf_devel_QA.rst | 10 +++++----- > Documentation/bpf/btf.rst | 4 ++-- > Documentation/bpf/llvm_reloc.rst | 6 +++--- > drivers/hid/bpf/entrypoints/Makefile | 2 +- > kernel/bpf/preload/iterators/Makefile | 2 +- > samples/bpf/Makefile | 6 +++--- > samples/bpf/gnu/stubs.h | 3 ++- > samples/bpf/test_lwt_bpf.sh | 2 +- > samples/hid/Makefile | 6 +++--- > tools/bpf/bpftool/Documentation/bpftool-gen.rst | 4 ++-- > tools/bpf/bpftool/Makefile | 2 +- > tools/bpf/runqslower/Makefile | 2 +- > tools/build/feature/Makefile | 2 +- > tools/perf/Documentation/perf-config.txt | 2 +- > tools/perf/Makefile.perf | 4 ++-- > tools/perf/util/llvm-utils.c | 4 ++-- > tools/testing/selftests/bpf/Makefile | 6 +++--- > tools/testing/selftests/bpf/gnu/stubs.h | 3 ++- > tools/testing/selftests/hid/Makefile | 6 +++--- > tools/testing/selftests/net/Makefile | 4 ++-- > tools/testing/selftests/tc-testing/Makefile | 2 +- > 21 files changed, 42 insertions(+), 40 deletions(-) > [...] > diff --git a/samples/bpf/gnu/stubs.h b/samples/bpf/gnu/stubs.h > index 719225b16626..cc37155fbfa5 100644 > --- a/samples/bpf/gnu/stubs.h > +++ b/samples/bpf/gnu/stubs.h > @@ -1 +1,2 @@ > -/* dummy .h to trick /usr/include/features.h to work with 'clang -target bpf' */ > +/* SPDX-License-Identifier: GPL-2.0 */ > +/* dummy .h to trick /usr/include/features.h to work with 'clang --target=bpf' */ Quentin and Daniel already mentioned this one. The SPDX license change can be removed. This is irrelavent to the theme of this patch. [...] > diff --git a/tools/testing/selftests/bpf/gnu/stubs.h b/tools/testing/selftests/bpf/gnu/stubs.h > index 719225b16626..cc37155fbfa5 100644 > --- a/tools/testing/selftests/bpf/gnu/stubs.h > +++ b/tools/testing/selftests/bpf/gnu/stubs.h > @@ -1 +1,2 @@ > -/* dummy .h to trick /usr/include/features.h to work with 'clang -target bpf' */ > +/* SPDX-License-Identifier: GPL-2.0 */ > +/* dummy .h to trick /usr/include/features.h to work with 'clang --target=bpf' */ Here is another place that the SPDX license is not needed. > diff --git a/tools/testing/selftests/hid/Makefile b/tools/testing/selftests/hid/Makefile > index 01c0491d64da..2e986cbf1a46 100644 > --- a/tools/testing/selftests/hid/Makefile > +++ b/tools/testing/selftests/hid/Makefile > @@ -167,7 +167,7 @@ $(RESOLVE_BTFIDS): $(HOST_BPFOBJ) | $(HOST_BUILD_DIR)/resolve_btfids \ > OUTPUT=$(HOST_BUILD_DIR)/resolve_btfids/ BPFOBJ=$(HOST_BPFOBJ) > > # Get Clang's default includes on this system, as opposed to those seen by > -# '-target bpf'. This fixes "missing" files on some architectures/distros, > +# '--target=bpf'. This fixes "missing" files on some architectures/distros, [...]