Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1207787rwr; Wed, 3 May 2023 11:33:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ61B46EheTfgiGvcFJIC3KLAMjFVQx/rEz4ecLVwVoVxGTuxLILWE6HplaVzevIDlgaLf6K X-Received: by 2002:a05:6a00:1409:b0:63d:4185:402b with SMTP id l9-20020a056a00140900b0063d4185402bmr31811475pfu.4.1683138808833; Wed, 03 May 2023 11:33:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1683138808; cv=pass; d=google.com; s=arc-20160816; b=hkX8pQUfo1UqrEj5XOvJR88A3j32kvjTTM7VFbI1O2ENW7jWi0tPq2DQy/PEwxMs7u rMDX+L7llO3I6MsLt/FWrPYyTrgS1B0TCGrvVVux6nX+z5qGfGur/ad/imX0QtpWJerU 2HeJAD55+1/08Ces3Na4EJ1vtZYtQWA9waBY+qRZx4Rwsktdgyu2dlTh+JtAoM6PXAf2 7w7ZLW9Yrh4501k125rOriCEeOl+YaAzZXgUHv1OdfEReMYBfN02cNxwVH7q87Ng8PoF bSn6nWiLIb4ouoVNhH7jSjU/ssH5bxobRys14lTvJJOQhBwhm2bWH2458MO993Td12yN EVfg== 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 :user-agent:message-id:date:references:in-reply-to:subject:cc:to :from:dkim-signature:dkim-signature; bh=hupVi/315AEt/9U5lj40ld+T3yxIVAEOch6O2Ih/Srk=; b=yVxncsr2wUTK6DiYgkTKusWI6Xkvj9NildvMY093cvLRjBXUCO6O9e0trHqQ2Wyb/5 cS4s7S0XtchaGr9OGjQSMJf1IHyZdnivT8z+6DQExc5pyxRSx3A78phpDhOiWNiRNt1R TLpJy60rv5UE2cWbZHqTx1xL48mma0F39ipQmKYEktYOiiRrMIVjcDGxTEcImIrbefU7 aZwRMcBAI1/eIHUgsVi8MbKojNx6Bl4m0zjTHJj4vEY8Cq4ghuVa33nPNyNLeHbgHRZ1 VpfRG4tyNOXuYjtZ8zUzhUAj33NMcQ+tRKdeCQG1Vfzgjx7aAnqF/CrshJB+hfOCSd2P Dm2Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=FybX1qrz; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=B9sKcE7C; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.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=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z9-20020aa79f89000000b0063b61a7ab70si33044325pfr.205.2023.05.03.11.33.15; Wed, 03 May 2023 11:33:28 -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=@oracle.com header.s=corp-2023-03-30 header.b=FybX1qrz; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=B9sKcE7C; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.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=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229845AbjECS1n (ORCPT + 99 others); Wed, 3 May 2023 14:27:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229735AbjECS1l (ORCPT ); Wed, 3 May 2023 14:27:41 -0400 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B1644237; Wed, 3 May 2023 11:27:39 -0700 (PDT) Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 343Hp5lp001674; Wed, 3 May 2023 18:27:15 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : in-reply-to : references : date : message-id : content-type : content-transfer-encoding : mime-version; s=corp-2023-03-30; bh=hupVi/315AEt/9U5lj40ld+T3yxIVAEOch6O2Ih/Srk=; b=FybX1qrzfNTz+I4+0ygD5qtmmh1VUmcCoZxR6Srm2CjVzB+aKWDOT0cr8P5gtJhNr4kW MEgqJN/nTFJscG7ZGhjLRVS74k6DvikI4zB+4VEoDhYuynj0zjN+Df+W7zOhrHanzfsK EsNQ1xiaDoJfdhBupysJgNJ83g89kXVFt6UNI8j4H8tbRcyYR9C/eeP0sICpxLmGc1db 7T772NVRuCqo30ZtvRFQNXcn/UZnuQLaNJUvIQB3UkXsi+2vqAqElKsNEjP4DkHuALl1 susHZP4+d8xNOIUcM3plAjJ4x0ztQawZ9rKMvTN2QruIs63C1D8eiQcRdLMiZrZ/pr9i Bg== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3q8usv00eg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 03 May 2023 18:27:14 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 343HSqXD027652; Wed, 3 May 2023 18:27:12 GMT Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2168.outbound.protection.outlook.com [104.47.58.168]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3q8spds2t4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 03 May 2023 18:27:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DPOjWAiONzy7mGEw6Hm586F2mOqJH+bJFF9P6HKHDzXczM/rQrL7BaW22d5pK4fYIsPzLFmEtkByAjpnzYeR5vveDwucjVaCgnhcg7+tnxBtCwGH12HeV+hvhOVIkX7nPorFAh6U7VzPhwzaFlL5QzP9fbp+iNTUK9d3hBDyidK0PQ9y696cCZX11gj7GCZOXKoixXIoEty1o6aGEJwVQFTln1ewcUmFBJfSrfRMyuxa5pz9Mx7U2J1HgJFhqz4m3cc7Mbt30zxDkt1Rh3TGDVL6B4QH41l2+7A3w13EpMhmHQ6J2CZFY7fhkdWku+CrNzR/5pNRR7+dL+XvLpjeuA== 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=hupVi/315AEt/9U5lj40ld+T3yxIVAEOch6O2Ih/Srk=; b=hYVxKdnP+Crtbt2N075mf6NVUuDhql3uUwO5Fmu11zKLX/Jb8za7pPwTRNmpfLdHeGiuBRQFkqwZvxvYkPMWwyqd/sbdWrPNz/LiJZDC+ZOpDJlwm8W8ZmcWys9rCOzzcgiWjblexNi2LXFrt8rUPWoNdKoq4FAoX+KVPtofzkzplcXXNIIg3H7ZXLNKzR6YqHX/5tpQSfaMwMDW1iTT0p6Re0qyjcexTKza1zDWwnYF9bh0M2PAD1yjsDERyb2U2bC7uM2WgK7IjsUtMMIz20vLE//E9bVOVRhOqL8yYM+dtHbOVhk3v+ES1JDDwxDyrFoQNjl1C4Xvo/XPGHm3nw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hupVi/315AEt/9U5lj40ld+T3yxIVAEOch6O2Ih/Srk=; b=B9sKcE7CpvCdsbuuMmSKCnTm884KYCaE89pwcg4pDiXVkuKMfv/j6Q9PTcWHrVGVtWQhi1kwRY5KWQ+zdUfBRo725210sSIR8qmB+7x5CEiQXotqyQ0wHCj1QB+F+bBbbVoabcamsYIV7PQZQcnqScmrVpDiEiO486OHacQPjk8= Received: from BYAPR10MB2888.namprd10.prod.outlook.com (2603:10b6:a03:88::32) by DS7PR10MB4992.namprd10.prod.outlook.com (2603:10b6:5:3a1::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.22; Wed, 3 May 2023 18:27:10 +0000 Received: from BYAPR10MB2888.namprd10.prod.outlook.com ([fe80::d8ec:1377:664:f516]) by BYAPR10MB2888.namprd10.prod.outlook.com ([fe80::d8ec:1377:664:f516%6]) with mapi id 15.20.6340.031; Wed, 3 May 2023 18:27:10 +0000 From: "Jose E. Marchesi" To: Andrii Nakryiko Cc: Daniel Rosenberg , bpf@vger.kernel.org, Alexei Starovoitov , Daniel Borkmann , John Fastabend , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Shuah Khan , Jonathan Corbet , Joanne Koong , Mykola Lysenko , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@android.com Subject: Re: [PATCH 0/3] Dynptr Verifier Adjustments In-Reply-To: (Andrii Nakryiko's message of "Fri, 28 Apr 2023 10:20:15 -0700") References: <20230406004018.1439952-1-drosen@google.com> <874jp0bcoy.fsf@oracle.com> Date: Wed, 03 May 2023 20:27:03 +0200 Message-ID: <87bkj1p8y0.fsf@oracle.com> User-Agent: Gnus/5.13 (Gnus v5.13) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: AM0PR07CA0004.eurprd07.prod.outlook.com (2603:10a6:208:ac::17) To BYAPR10MB2888.namprd10.prod.outlook.com (2603:10b6:a03:88::32) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BYAPR10MB2888:EE_|DS7PR10MB4992:EE_ X-MS-Office365-Filtering-Correlation-Id: 652b9ad4-a3ef-4652-9fa8-08db4c0401ad X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eAqO+BUiU5QMMTj19jbN0QkvurVyCqL50Ybd68e+HKr2nj9/8cSrDx2Md8hTSy9q14hEVD7UhyJWJvnKXsCOImNBK+YdcHG9PpYnBSCbxRi0bJdG+0evixiRadkYQvXvt2YzrpanH9P9a0EZoC286ey9F+6J2gtfO2nDpwvy+WfVQ2dBauSDgykwBda17YUZRpviPqFdMUE2kFMu4V7cx1ugDQSyV4uMyv7+UOsN7Pf4sJb+GM+Wxh8P8zJ8Yc/7vDaWeFu1AAr0za2W16xixe6BTlRjC3cRTaEPE7Pw5P+807LU5sU4HfbWPvV6URl/8o0Ks59M5ESSThV/zhvThSalS4GNVKF5c4pTb45efYuReh+faAmSWJDn9aMdhEnJ8gaD/ZlgAxOnxdH3GXHU5VLhA+mSiHReIdiVal2kLmV3N5ocdr2d+BB6HeuPa+88CZL7vdsqHKr7RQrr2yw0QenbrzxpHbE450nAht8Kw3j9BP+N0/FaFeVkdM40aYuTZQMAo7HqJ69e+01KuxP5DXEPDrW7IXCplyuqVwB2oOjsHLnHlG/87jhS0Wl67apN X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR10MB2888.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(346002)(39860400002)(396003)(376002)(136003)(366004)(451199021)(86362001)(2616005)(6486002)(186003)(83380400001)(2906002)(26005)(54906003)(53546011)(6506007)(6512007)(5660300002)(7416002)(66556008)(66476007)(38100700002)(6916009)(4326008)(8936002)(8676002)(66946007)(478600001)(6666004)(36756003)(316002)(41300700001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Y3kwMWo0NkFzVk1FOHJZckw3dFRrdktFdFBIWW82bVh4eDFaU28xZXhFTE9D?= =?utf-8?B?QTY0dlZjWW12Nk15QkZVcFUrSzVhWmw0TnlzTmpoQWRTQ3FGdGpJREZKaUtx?= =?utf-8?B?UW1jMTZBVkJ5YmJISUFudGFYdHpTdlptYjNIbWhtcUZLeHc0Ym5JMlUrVmJ0?= =?utf-8?B?NDRmWkVodDFIK2RLNkNGTEN1a0srSnlEakRxbG4rNUpCaXJEOXhObDNuU1FS?= =?utf-8?B?Znc1MzlvaHUzb3F2SkM1bGFBUW9ZR0szTVJJYVdwQVFpS29zQ2V2bkZPZlNu?= =?utf-8?B?M0ZDeEcyMWpjUlNZUkc0SVVrSFVMTVl6L1dta0ltVXV0bG1YYnVWWWxCQmVh?= =?utf-8?B?aHhQYUl4SU9OWkhDNHZ4R2JmcmpaZ3BuNytlS0hycW1KS1hCU09wRW83UE92?= =?utf-8?B?V1FGZTdielJ1eFNmYnFyQXBhaT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jNMTXc2ais0djNsejJ2cDUyTVpmTUxY?= =?utf-8?B?Q0paam96RUNHYjl0ZTdEeWhFdXBPUEFuY24raXJzb1dYSmRvVE85MmhDTHlK?= =?utf-8?B?RlE4VzdOUFQ3M2tJNFEycWpsV2Zjc2pZMURMZEgvd3Y5UUp6c0ZFK0ZwaVN4?= =?utf-8?B?aWx0UWtWN3diTDVOUkMzV0hacUVHNUNMMlcyRmo2ZXVmZjV6UWRjTkRWTHEy?= =?utf-8?B?ckYra0dQQ0NPSVZUcnRUNVRyQ2cvenNBQVFpUDloTXpnc08xUGx5K0p4UzQ0?= =?utf-8?B?d1FUaEEwcWw4cnFyQnBPTnZMemptYjJXdjhqVkFUSjM1TnRZQU5FZ0h3d0E1?= =?utf-8?B?Ly9sOHNDRGRmK3RpbnpFWHl2SUxGRkNnN3JVVENldWM0MXhPMkRLcVJoVjRp?= =?utf-8?B?SU1KOGxleVRiWi94R0FtZUUvZEtZZS9zWm85SnBkNUlLL2l2VklTT0NRald6?= =?utf-8?Q?SVj83CoLExE+8=3D?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 652b9ad4-a3ef-4652-9fa8-08db4c0401ad X-MS-Exchange-CrossTenant-AuthSource: BYAPR10MB2888.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 May 2023 18:27:10.4736 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: MPgf87Ge+we1BK6kPN1yw5JfM79Xc+yVXOfctgMexHvtXnyGllLyLBh7p0crFgpU1vUSv+f8ZBurPO+t9+so2ufyM4JXuJ/nKmXSK0z+WAk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR10MB4992 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-03_12,2023-05-03_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 malwarescore=0 adultscore=0 suspectscore=0 mlxlogscore=999 phishscore=0 mlxscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2305030158 X-Proofpoint-ORIG-GUID: QCU0ehDhetx4ngmH2Or5L_x6dcRB41XD X-Proofpoint-GUID: QCU0ehDhetx4ngmH2Or5L_x6dcRB41XD X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,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 Fri, Apr 28, 2023 at 2:04=E2=80=AFAM Jose E. Marchesi > wrote: >> >> >> > On Thu, Apr 27, 2023 at 4:36=E2=80=AFPM Daniel Rosenberg wrote: >> >> >> >> On Wed, Apr 26, 2023 at 4:39=E2=80=AFPM Andrii Nakryiko >> >> wrote: >> >> > >> >> > Don't know, show the sequence of commands you are running? >> >> > >> >> > I have linux source in ~/linux, and KBUILD_OUTPUT set to >> >> > ~/linux-build/default. And it only takes this: >> >> > >> >> > $ cd ~/linux >> >> > $ make -j90 # build kernel >> >> > $ cd tools/testing/selftests/bpf >> >> > $ make -j90 # build selftests >> >> > >> >> > And that's it. >> >> >> >> I've tried the same, modulo some paths. I'm pretty sure it's version >> >> related at this point. >> >> The current issue I'm seeing is "error: indirect call in function, >> >> which are not supported by eBPF" when using GCC-BPF for >> >> progs/bind4_prog.c >> > >> > I don't think GCC-BPF is able to compile selftests properly just yet. >> > So I guess the problem is that you do have some version of gcc-bpf in >> > the system and selftest's Makefile tries to build gcc variants of >> > test_progs? That's bad (I don't have GCC-BPF locally, and everyone >> > else apparently as well). >> > >> > So for now just `make BPF_GCC=3D` ? CC'ing Jose, we should probably >> > agree on some criteria of "GCC-BPF is really capable of building >> > selftests" and adjust Makefile to only attempt GCC BPF build in that >> > case. >> >> Being able to run the selftests is our goal at the moment, but we are >> not there yet, no. >> >> What about making the kernel build system to emit a visible warning >> before it builds the GCC variants of the tests programs? Something like >> "this is experimental and will likely fail". > > Given gcc-bpf can't build selftests right now, should we just disable > it until there is a version on which gcc-bpf works? We can make it > such that you can force it to build using gcc-bpf (make USE_GCC_BPF=3D1 > or something). I think that makes sense. >> >> >> >> >> Currently using clang 16.0.0 and gcc 12.2.0-14. >> >> I did manage to get it to build by just commenting out TEST_GEN_PROGS >> >> +=3D test_progs-bpf_gcc