Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1384492rwr; Thu, 27 Apr 2023 17:21:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ48AyezAGaOGS8Sxbz1hHMfhAy3Lf2GeeHYWFt2UmUymvFGpw3WV7Yt1nnY8/Q4H5FBVgFQ X-Received: by 2002:a05:6a00:c93:b0:63b:435f:134a with SMTP id a19-20020a056a000c9300b0063b435f134amr4606354pfv.28.1682641316713; Thu, 27 Apr 2023 17:21:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682641316; cv=none; d=google.com; s=arc-20160816; b=Ihp4z2i76moHG9z2OWp/aD7IAGO+JTc7xyGbZHoRAeIhuSogrD/v/RMcNHCmOH/f7w fJ+7gVN1Su54w6ZEOq8LqBnOojICR+wkvIYqRsp1hVoQjVqCzNypb8NcRm0Ened2PTFQ 4kNZwF4blsknA9GIwOQoyFCC24M8nlaMsAWDI+otHYFl+xEfGoXSddyniuxXc051Sbqw fuKvQLidactKZoEwAG7HVZRipCOmBBMUB7iPU6OSiQeJkweLXHGDvIWF6ahHL/eBI6hY GJid9jmjHx2TNWJOLDogqc7/EkTZM0qlD1fFM2PFfy7NqRoWFDCzKu2/d3sqCVVOgxQH VbRw== 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=mUlftFMQG/nmWGeOn+1YPkFCl4D5GTil/3fkguZjWM0=; b=JvvKpKCaZDwp6xZdtvKKsQFiBilXSOfoIV0on9DV+ZZRj3BUO9AcoKorOOsSSrV+U9 aEvjVm8gPrhpxeKcCnBKMSXnQttyi0SEVUCETtxihyhdeaMX+oHhqZEit/5qGn2t2e2T 0cNenLPnsrZ/0Kwa+ruUhKrwni0xVlVVw1ZB37DVHoJcwK/Pr5KFuuy8LePieAnF3pYr kLDig0/KowjbDaffUuiDzzMxxa3usRyhxFJX3ERzhkYHXt9QMX7b7raxHDyskg6bVyLK wUzPFvKXJR60K5G1PzUKPiy2A2lJNRsmZw5l7HcrCYKabfa1Lh0kbIO4ik/BuvXeKb5m xOZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=pa4d5xwQ; 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 c19-20020a621c13000000b0063b8b114678si20054093pfc.393.2023.04.27.17.21.43; Thu, 27 Apr 2023 17:21:56 -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=pa4d5xwQ; 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 S1344445AbjD0XnJ (ORCPT + 99 others); Thu, 27 Apr 2023 19:43:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344436AbjD0XnC (ORCPT ); Thu, 27 Apr 2023 19:43:02 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6175040FB; Thu, 27 Apr 2023 16:42:54 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-9505214c47fso1723030166b.1; Thu, 27 Apr 2023 16:42:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682638972; x=1685230972; 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=mUlftFMQG/nmWGeOn+1YPkFCl4D5GTil/3fkguZjWM0=; b=pa4d5xwQzC2locTY3gPMPASKVeXayCDl9KcPXWXN+q0pMCEDrVVnA2+MXVP9o/e6NU EUKCojDx/XIxG6ScM4D7khM28ADklUOdokWnHxPGMfIyycx7XhLj7W/oEfT1D3ITSZaF cjbMTxZ7hIlsg+wMwGNLiYn9ckVZWjrvYPmRc/OiLjzsWVmnpWXPhLT7WV023O9i6Chi eQELvGbnN6+nUBnjTl3FRpYxlqgSW0js6lvKvRUXk+sNXIibxH5gMVfxovJOpt/5/dcX ++so/TyIdErONKLHHCz42dCyrYSsx/vmAmuLTrh6gDMqNZqwwP+g7ArxgHQgjONyKsju iFow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682638972; x=1685230972; 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=mUlftFMQG/nmWGeOn+1YPkFCl4D5GTil/3fkguZjWM0=; b=OEZ/T0S4TuPDhfTQ6GDtVH0RozhGS8ztcVMyKhVr0Qlyuds+gd9u9h/PhbAS5bGBpq OCWdzOMUEeS2QA+cBWnP8J/w3E2ITkDfegbRLqHZ0veYCTl21EK+ifBGeFYtgEy9Neuz ECs0/LXY4WHpuFZrT0FoB3R/sTCZAE2obECqzTEcmWLH74FTXYe1SqA3i+lt+eWigkuF lHjOI1EgOO74408/9/M07ZAiI+ndPAfrwvAq1DiwUEV14I6G2UoHeYnmwoy2FyKfiRU3 HmGrsdDAg12XJq2mU2qBKpQR08qNxQ0qclc2H/t7mSm8qopBPbiaoNnBveJpVBPXLFuB UbIA== X-Gm-Message-State: AC+VfDz4PWtco94K7ME2O7b8ArHWrir++PXl5hDuo2as3kCn6Yyru+ND QQgMQsQdbqCAiVf8lih4TJKW5IWuzMRxtHn/naA= X-Received: by 2002:a17:907:a089:b0:932:7f5c:4bb2 with SMTP id hu9-20020a170907a08900b009327f5c4bb2mr3555970ejc.75.1682638972567; Thu, 27 Apr 2023 16:42:52 -0700 (PDT) MIME-Version: 1.0 References: <20230406004018.1439952-1-drosen@google.com> In-Reply-To: From: Andrii Nakryiko Date: Thu, 27 Apr 2023 16:42:40 -0700 Message-ID: Subject: Re: [PATCH 0/3] Dynptr Verifier Adjustments To: Daniel Rosenberg , "Jose E . Marchesi" Cc: 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 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 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. > > 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