Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp174001imn; Tue, 2 Aug 2022 22:37:13 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tAe11YFoY3DjXYs4VnqIzWVAV2esvCu/DeYr0FlD3vA+qobnvsgnV+h4XIw43ErQtXQxyX X-Received: by 2002:a17:907:9813:b0:72f:2031:19b9 with SMTP id ji19-20020a170907981300b0072f203119b9mr19206346ejc.473.1659505033375; Tue, 02 Aug 2022 22:37:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659505033; cv=none; d=google.com; s=arc-20160816; b=sE0RCXdsj3v51ZJQAgvlPE1aaiMd5JJYMQKdz2CpXspxIP1M5bkjS9k6eiknB8pvIw 5c7NSTkEI2+BkOCjPhlEYsQHVjVj1UgAHl+KtSYAxvWa0J0STsOsnltTYysm/dzmVzIU gaqedo1YjghUyXmBcyQW6ryGNMfJmd/rN1weM5JMDvAg18ImsWl2uB4Y8vjt3Vo8wTTf lzoQ0S3ABypdOJgr5vHjMLIAfu7gsOEI83QG/MOndgHofQ2T9T8ffMHV5i4+42pnXjF/ MiEvVf74Xu9tZeI2EieJpiI1BIWTsPSJu+h9qp91E3RcDYnHDe986MX1bolhwclQDbeI qMCA== 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=meGtRj2XpcdLQbxtaV5Bfx8H3VBURAu0Eltn/X5mBLY=; b=epAZOHei5Ix19zGsrb0R8J5iaYdGgrL/gn2wUpU5Cgqih4nrZpmsu0RSe9h1LgQ9BN nrHx/XOMb8hdUA6JB+aQ7oclft5HpePzu35wurnDirqG9ftnMMWgLNYGXEYhTZ17EW83 iy8IHp84Y05ZdQlZaT4cJhr/5aEAt3c7XVNZJEGbQngM3fPOxRgVgrxN2G3uxo9b/Z6K 453kW2hqyK8FC8K6yt4zJNC5RbjkMOdBJaoh8ImdBwIaIbXxVyyKcBQYcX+wHT2hKZd0 RivS07Ejz0Iil7cySG6KI3apJkhcPcOiIFJ2o6bGrh8VtdmJUAjAEuFE93IyhWM0nbYe KyWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jRXYNNMv; 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 he33-20020a1709073da100b00730acdd4353si1587145ejc.912.2022.08.02.22.36.48; Tue, 02 Aug 2022 22:37:13 -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=20210112 header.b=jRXYNNMv; 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 S234080AbiHCFRH (ORCPT + 99 others); Wed, 3 Aug 2022 01:17:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229662AbiHCFRG (ORCPT ); Wed, 3 Aug 2022 01:17:06 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9ECA11A07A; Tue, 2 Aug 2022 22:17:04 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id bq11so19729326lfb.5; Tue, 02 Aug 2022 22:17:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc; bh=meGtRj2XpcdLQbxtaV5Bfx8H3VBURAu0Eltn/X5mBLY=; b=jRXYNNMvjCoVtfVRUBLSxBokOeECrYYAujKZkIuus4JGz2PxvCBvMt/f6Xl3/ETawH sf6/+zklwJpLWgkTKlWesqrBXR1409EPI1DiFn9jh3TjYrKVQxLmsLRfgnqVV9oeHlCk VSzg2O4nePWOTrBYCy/2iUk/PY3lMNHDREDTE56vpLSwzT5aCCiqVb0kkFTTuzp/oZK9 HWZUzZ5dDIGBI8LE9DUvJrvHRDvpCj43WML0bF5C3x7lDgOYkrcQYUzOwLGy24q7MnLO +ZVY/NDnzX9ywEtBBV/O3Pd4f/xkpCkA3AnEYlPe0kbcCsjzJIvkmVlg0ya3JupLIchb o/nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc; bh=meGtRj2XpcdLQbxtaV5Bfx8H3VBURAu0Eltn/X5mBLY=; b=bEK6DGaa42qU3EMGOHHus5V1FmF59SUa1B/BE0v+Q7xH/MdabEpRFT61EYFYy6AyhE e5fLC8xOyRtRT8WwBkwDrGs3VVdW8aVCr4ZD4EByzQbOqbf0T7P7bUUrzCaSKR4Mw2Dn qpsZR/whe97NEMCtSPN01w85RFMhOmfNoJqN/RxzMzfxLWMAtTlVeuLhoA+9lxHJrVhF CaLOSGkpwfUr5PNUtQhfyaQ6mCLX4fnZrMs08qa9Ig7aMAD1Sm2ZF1P8zb6TmsZxhp/c MKSaLz+MzEyOkJedFpl98zZhSC6ipfnE1ApklRz2x61W2FBBI8ewQxClS8s8JPJ9Ufza 9wxg== X-Gm-Message-State: AJIora8oNmW3/b10b4lhUs5tqFpJnubmmvGfLs6DofXgh2CPyPnfGioL 2oVf1T4sa1VsUOh63o8i0qmtMzqGqwF5sBEn8X8= X-Received: by 2002:a19:8c04:0:b0:47f:65b7:bf11 with SMTP id o4-20020a198c04000000b0047f65b7bf11mr9090178lfd.630.1659503822967; Tue, 02 Aug 2022 22:17:02 -0700 (PDT) MIME-Version: 1.0 References: <20220625153439.513559-1-tanzixuan.me@gmail.com> In-Reply-To: From: Zixuan Tan Date: Wed, 3 Aug 2022 13:16:51 +0800 Message-ID: Subject: Re: [PATCH] perf build: Suppress openssl v3 deprecation warnings in libcrypto feature test To: Arnaldo Carvalho de Melo Cc: Jiri Olsa , Stephane Eranian , Zixuan Tan , terrelln@fb.com, Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org 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 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 Wed, Aug 3, 2022 at 2:13 AM Arnaldo Carvalho de Melo wrote: > > Em Tue, Aug 02, 2022 at 03:09:05PM -0300, Arnaldo Carvalho de Melo escrev= eu: > > > > So, we should start with =E8=B0=AD=E6=A2=93=E7=85=8A patch, then fix th= at ifdef and go on > > from there? > > I.e. with this: > > > diff --git a/tools/perf/util/genelf.c b/tools/perf/util/genelf.c > index aed49806a09bab8f..953338b9e887e26f 100644 > --- a/tools/perf/util/genelf.c > +++ b/tools/perf/util/genelf.c > @@ -30,7 +30,11 @@ > > #define BUILD_ID_URANDOM /* different uuid for each run */ > > -#ifdef HAVE_LIBCRYPTO > +// FIXME, remove this and fix the deprecation warnings before its remove= d and > +// We'll break for good here... > +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" > + > +#ifdef HAVE_LIBCRYPTO_SUPPORT > > #define BUILD_ID_MD5 > #undef BUILD_ID_SHA /* does not seem to work well when linked with Ja= va */ yea, i think that's ok, thank you Zixuan