Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp6070266rwb; Tue, 9 Aug 2022 08:36:55 -0700 (PDT) X-Google-Smtp-Source: AA6agR5pW6m/P7xPlaEdxFy2Fn/OiPXN4m+b62H54LiNsdAAvIlfB/g3xqUbs6l++QOfXVWUlMSB X-Received: by 2002:a05:6a00:14c4:b0:52e:6b0f:209b with SMTP id w4-20020a056a0014c400b0052e6b0f209bmr23167349pfu.36.1660059415023; Tue, 09 Aug 2022 08:36:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660059415; cv=none; d=google.com; s=arc-20160816; b=YsSxg5eDIh9Jd7OLWZOEq8lCzRNiYtHalyHhjTwH/Aplnc878kjnrDRiA6/eNarnVd IZf72abK+IQ2o/k20UGBFXNoF+DxqnZYD4v8Eh3sGH31C1Puy8netmxCMdnhBsmT47+I VNm7ho63GsmuJo+vaMsvz8/XmmrHJMS7ezfw71m510/SoKqUcqRljvOVC0R3mskxRliP eSuiFs0vtRrlaB4pP/7/l+SNNoGcOK/R+TKRqM5erhNCFRBT3MkC3KcjRljurqjneYyF j10fAZSx4tY/6+khh4LkdR5Jm3ym02yx/SkgCIVhsU0Vil+Rf1hN3mxLuaiB9kO2lhDn XVdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=vD+tcaqZeKcn4ZVpEK9uVGgFnO6G13lBCWtO9h+EQ/g=; b=ZPSkXcoUSB0WJpMwhcuU8vYZImaV8k6ils7oxGY2IijZfR/N3HDvwXDmpjGceGItUW uKpe8CtIa0J/WZF5jaAlBiAxscKSvoPlWp69+GzVWrjVVdavlurCzQCLUOo6elffF0t7 GmzoALvpSli0f4CfiKzRe4/v6cYRa4Nf4lAbB7kCVdc3Tp0UGN39u73o56p6C1Kr4ZOM tQ0oU0wrFXnnSasqlnalZ/Zfatyse4NqB5BJ6McKHnVb9Xv0hlz2zQqhkDHB6RnCUY1Y sf2ea6AlSOn11dHlbS6ImrmpEo6/jubqshHn4PdVssj5TkyHlOy/T4iA8+HYrNnNkTWx ibzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@isovalent-com.20210112.gappssmtp.com header.s=20210112 header.b=CwxDLnH4; 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=fail (p=NONE sp=NONE dis=NONE) header.from=isovalent.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q15-20020a170902eb8f00b0016ef1d4c4fbsi13339389plg.320.2022.08.09.08.36.40; Tue, 09 Aug 2022 08:36:55 -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=@isovalent-com.20210112.gappssmtp.com header.s=20210112 header.b=CwxDLnH4; 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=fail (p=NONE sp=NONE dis=NONE) header.from=isovalent.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244929AbiHIPVy (ORCPT + 99 others); Tue, 9 Aug 2022 11:21:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244886AbiHIPVe (ORCPT ); Tue, 9 Aug 2022 11:21:34 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE13C65F9 for ; Tue, 9 Aug 2022 08:21:32 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id ay39-20020a05600c1e2700b003a5503a80cfso1829689wmb.2 for ; Tue, 09 Aug 2022 08:21:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=isovalent-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=vD+tcaqZeKcn4ZVpEK9uVGgFnO6G13lBCWtO9h+EQ/g=; b=CwxDLnH4X215ms/nKAODiOifmdxrI4drSDDiQkd/NN3b1zbHgl6+S7nfvWRDASDwIu CTvv39YA+0cl0ZQYyk3r+e/MnXQa+gh7ZaOm140v6+hxVMjeLEBo31z0w98m4N6G9X5q 2d17suTrO+nWCKSxwH4caI0d1v/KaPIlk5UUonbmzO5SqrS7vt8DeSw3xcZB4upKaCjZ FyeIcNgMrT6dW2kf6RPMMJqwE5BZIS4kS261oeIheZkjqtLNOGO4yHK1+fh2fXbDZWbQ mnFgbD53tmMls6sVyGDMK0RTr5oxWCx0ejsz2av51mvb8x11G4stXpU/69EvkRHxi2sa HJuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=vD+tcaqZeKcn4ZVpEK9uVGgFnO6G13lBCWtO9h+EQ/g=; b=4lPI9j1KWeQPmmVdLwbw8uzWiwMiFZ3J/6UibM3UTBm+3cQwfO3c+PgKa9iU0oSXlp SbfGn9gGBdMzrcTHxsUnD3qLOfWtr1bBuT/cO+qmDgS8n4s9wz/NaUNZQAzxZLraubrF U7+6p2/ZKaBG+nXqO79gY/ztQcJ8BjAA3m2lwEN9vbwbNEyccdPGmxBkTFXpJYG6f7i7 NlmQ2Pf73lEpdOUZ8z5cyDV5hOBIZbRm+c9RuhxQ1nsw0miH1TlVsqAPWJ21ljWLAy5w 18SMde4fvbvP5RSzScJL2hmTgoHvB1v40SBJabacKUE1xLdJs+4TFYmYHcG0/G5jNDl6 2vLw== X-Gm-Message-State: ACgBeo2RMhwDuleQSHbnqFks4RXTJNL853bLMnRcyu8IEW+SSXwyyH4H LA5HJcFmeINB8arW2bHTAYQfYA== X-Received: by 2002:a05:600c:350:b0:3a5:3473:1c23 with SMTP id u16-20020a05600c035000b003a534731c23mr9907997wmd.9.1660058491245; Tue, 09 Aug 2022 08:21:31 -0700 (PDT) Received: from [192.168.178.32] ([51.155.200.13]) by smtp.gmail.com with ESMTPSA id v8-20020a5d5908000000b0021f131de6aesm13649334wrd.34.2022.08.09.08.21.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Aug 2022 08:21:30 -0700 (PDT) Message-ID: <692f0648-6f47-f4b7-f806-e57af59b1447@isovalent.com> Date: Tue, 9 Aug 2022 16:21:29 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.1.0 Subject: Re: [PATCH 4/4] build: Switch to new openssl API for test-libcrypto Content-Language: en-GB To: Arnaldo Carvalho de Melo , Daniel Borkmann Cc: Roberto Sassu , ast@kernel.org, andrii@kernel.org, martin.lau@linux.dev, song@kernel.org, john.fastabend@gmail.com, kpsingh@kernel.org, sdf@google.com, peterz@infradead.org, mingo@redhat.com, terrelln@fb.com, nathan@kernel.org, ndesaulniers@google.com, bpf@vger.kernel.org, linux-perf-users@vger.kernel.org, llvm@lists.linux.dev, linux-kernel@vger.kernel.org, Andres Freund , Jiri Olsa References: <20220719170555.2576993-1-roberto.sassu@huawei.com> <20220719170555.2576993-4-roberto.sassu@huawei.com> <5f867295-10d2-0085-d1dc-051f56e7136a@iogearbox.net> From: Quentin Monnet In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,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 09/08/2022 16:15, Arnaldo Carvalho de Melo wrote: > Em Mon, Aug 08, 2022 at 03:33:34PM -0300, Arnaldo Carvalho de Melo escreveu: >> Em Mon, Aug 08, 2022 at 06:14:48PM +0200, Daniel Borkmann escreveu: >>> Hi Arnaldo, >>> >>> On 7/19/22 7:05 PM, Roberto Sassu wrote: >>>> Switch to new EVP API for detecting libcrypto, as Fedora 36 returns an >>>> error when it encounters the deprecated function MD5_Init() and the others. >>>> The error would be interpreted as missing libcrypto, while in reality it is >>>> not. >>>> >>>> Signed-off-by: Roberto Sassu >>> >>> Given rest of the tooling fixes from Andres Freund went via perf tree and the >>> below is perf related as well, I presume you'll pick this up, too? >> >> Sure. >> >>> [0] https://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git/log/?h=perf/core > > So I fixed up the first one, minor fuzzes, the second I had to fix > conflicts with the patchset from Andres, ended up as below, will test > build it then in my container kit. > > - Arnaldo > > commit bea955a0256e20cc18e87087e42f2a903b9a8b84 > Author: Roberto Sassu > Date: Tue Jul 19 19:05:53 2022 +0200 > > bpftool: Complete libbfd feature detection > > Commit 6e8ccb4f624a7 ("tools/bpf: properly account for libbfd variations") > sets the linking flags depending on which flavor of the libbfd feature was > detected. > > However, the flavors except libbfd cannot be detected, as they are not in > the feature list. > > Complete the list of features to detect by adding libbfd-liberty and > libbfd-liberty-z. > > Committer notes: > > Adjust conflict with with: > > 1e1613f64cc8a09d ("tools bpftool: Don't display disassembler-four-args feature test") > 600b7b26c07a070d ("tools bpftool: Fix compilation error with new binutils") > > Fixes: 6e8ccb4f624a73c5 ("tools/bpf: properly account for libbfd variations") > Signed-off-by: Roberto Sassu > Cc: Alexei Starovoitov > Cc: Andres Freund > Cc: Andrii Nakryiko > Cc: bpf@vger.kernel.org > Cc: Daniel Borkmann > Cc: Ingo Molnar > Cc: John Fastabend > Cc: KP Singh > Cc: llvm@lists.linux.dev > Cc: Martin KaFai Lau > Cc: Nathan Chancellor > Cc: Nick Desaulniers > Cc: Nick Terrell > Cc: Peter Zijlstra > Cc: Quentin Monnet > Cc: Song Liu > Cc: Stanislav Fomichev > Link: https://lore.kernel.org/r/20220719170555.2576993-2-roberto.sassu@huawei.com > Signed-off-by: Arnaldo Carvalho de Melo > > diff --git a/tools/bpf/bpftool/Makefile b/tools/bpf/bpftool/Makefile > index 04d733e98bffbc08..9cc132277150c534 100644 > --- a/tools/bpf/bpftool/Makefile > +++ b/tools/bpf/bpftool/Makefile > @@ -93,9 +93,11 @@ INSTALL ?= install > RM ?= rm -f > > FEATURE_USER = .bpftool > -FEATURE_TESTS = libbfd disassembler-four-args disassembler-init-styled libcap \ > +FEATURE_TESTS = libbfd libbfd-liberty libbfd-liberty-z > + disassembler-four-args disassembler-init-styled libcap \ > clang-bpf-co-re > -FEATURE_DISPLAY = libbfd libcap clang-bpf-co-re > +FEATURE_DISPLAY = libbfd libbfd-liberty libbfd-liberty-z > + libcap clang-bpf-co-re > > check_feat := 1 > NON_CHECK_FEAT_TARGETS := clean uninstall doc doc-clean doc-install doc-uninstall The adjustment looks good, thanks Arnaldo!