Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp2544318rwb; Sat, 6 Aug 2022 00:56:32 -0700 (PDT) X-Google-Smtp-Source: AA6agR5cmvankPqBiQz8I1vDGXFIZyKGz7NEvLIK1orlebI60tkdRye+9QCj5MY9Lq3sHDl60Gbh X-Received: by 2002:a17:906:98c7:b0:730:e4be:7497 with SMTP id zd7-20020a17090698c700b00730e4be7497mr6266507ejb.347.1659772591893; Sat, 06 Aug 2022 00:56:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659772591; cv=none; d=google.com; s=arc-20160816; b=jZMYfD0c+SRm0l6dRiZEBJ3MtXLfFmYGVtCcOyjEhlol6yaISWzIjIBZfzrLVCpiiz NhiBXusCU+ct/bwGkUAJzjOuserI9e6+BfPNOPyeiOVf5zCa+vh+dmUXr7NLkLjvb55Y cIahg4Wxgp7YOF19lcqHGhT46rsydE9kGFiPx748m7gfxZ/nCcwJ2w2Fw1Lgngi6fC47 bO6Npc8a+z4FguBmadArJ8tnDMGBcy8+9Jw/tBiBhFfBr7pr71eZMlCs12sbJ85+RwLc 80bdGbuXL8LucvCpr34fKjBrL1MGN42bwi47yf8DpbmQUFmrUF1uxoAoiInagAoIZdBm eKZQ== 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:reply-to:in-reply-to:references:mime-version :dkim-signature; bh=gm6PmfQDJQW4sYrDMxD1XhD+bbbCc7CPLvJKQ3d/YUA=; b=VTWBPA2csVIeKgWTkZcnot46oOfrgMihGexpjxcTw0l90MN+qQzVVVj1ncWbL0nrxk Rx55GJ8BvRfNBwP9/IriWk7Di2i3+hdvUNsCeocpq2AiANJqLa6JeWBIy4f8s6iRL4CA FLBpsxrQ/KsllBdpsHCLtBnGG+OYbVJA8vcpmXChaNVcZ8reP5Dtdu3dixJgqmQuBkon minEWAlCuUkrCtd+ayOCd570vh6gKSJ9oNMLiftK8PKNDsftrUpmjwTBU3qlvIIG5kK4 SzCVzE+bC1iXmsbptUU5JQe3MzRc2vdcL1iEyQGU5vpuoT7EwNlPDQGGHzn051rxCtY/ vQ3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=nFm1VC3K; 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 ml24-20020a170906cc1800b00726e142a88esi5932030ejb.983.2022.08.06.00.56.06; Sat, 06 Aug 2022 00:56:31 -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=nFm1VC3K; 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 S231145AbiHFHnB (ORCPT + 99 others); Sat, 6 Aug 2022 03:43:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230465AbiHFHm7 (ORCPT ); Sat, 6 Aug 2022 03:42:59 -0400 Received: from mail-oa1-x2a.google.com (mail-oa1-x2a.google.com [IPv6:2001:4860:4864:20::2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F45E11C2F; Sat, 6 Aug 2022 00:42:58 -0700 (PDT) Received: by mail-oa1-x2a.google.com with SMTP id 586e51a60fabf-f2a4c51c45so5174081fac.9; Sat, 06 Aug 2022 00:42:58 -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 :reply-to:in-reply-to:references:mime-version:from:to:cc; bh=gm6PmfQDJQW4sYrDMxD1XhD+bbbCc7CPLvJKQ3d/YUA=; b=nFm1VC3KyZqoM35PVnjJC5DxKdZC/EAxOULMCkmgYku12hNJHse9r+tilI7arpzEI4 XW97kv8vll6g9DavYdBDgqRnNBRDL5yoybYUkKV3EHcWgQuIPYAB/oloj/iQ0zi7yb3Y WMMQouJ1RhfTC7fIVyC62peTSHMRy2+kCc8LwI3VcFZXNTrzzOzfzTYM+ey6LorLSthb IUQyUyJckZLyM7pLYM6HIey4/wiUGMNNMDObIG368NpCK+JKxCcJ8GaJz+DGN9gmmQj2 OPJmjl6rYMFFrwu7kmHHhIeYtk9PrTAlgYnzyfSrHH9nZPab8827rKeJuGC7LxAHrCdi cfeg== 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 :reply-to:in-reply-to:references:mime-version:x-gm-message-state :from:to:cc; bh=gm6PmfQDJQW4sYrDMxD1XhD+bbbCc7CPLvJKQ3d/YUA=; b=e1Fs6S7TW/Wz116a/IeOmyqcJ7BQWS+1zvIfkXn/UH8Km94V9EinW+Yu9NLbiFiL5c zKvg8MRNH+eYhserSWjVg6l2VXkrAe7u28awrz5lSdR4T7AouxBbZwDqEqQn3Z8tkcjO 2+Z8d88V02LKhuSS2MbiJUWCNbb98JGot6Hfevw871pxN4cJKvCtI6nsFB6xvA8H58t0 /nzdPqK5hYqJBNRI4U1/ctGqC73671qcjTQ4ACVHYB5NBYi0QOSN9yCYs/wTx5QZtL9W D/nfI7lvDYbQyEDtMeQl4SGUUDFerYm/ggCRr0x2G65ObjVbujCaSTKrQkDzJ7koBMso nHow== X-Gm-Message-State: ACgBeo3QKWmX/QLFSTIvSPnNUdzWpi1kAyW0ri4ZTW3UKkTUuVr26xcm 7VYCqYTDQ3KJkMs8vYAxJcdijOcMmE4mmry+T8s= X-Received: by 2002:a05:6870:c0d3:b0:10e:cb75:2e62 with SMTP id e19-20020a056870c0d300b0010ecb752e62mr8180863oad.128.1659771777435; Sat, 06 Aug 2022 00:42:57 -0700 (PDT) MIME-Version: 1.0 References: <20220609192308.GB10732@1wt.eu> <20220622183747.mhhlfr6aufbkyhag@alap3.anarazel.de> In-Reply-To: <20220622183747.mhhlfr6aufbkyhag@alap3.anarazel.de> Reply-To: sedat.dilek@gmail.com From: Sedat Dilek Date: Sat, 6 Aug 2022 09:42:21 +0200 Message-ID: Subject: Re: [Linux v5.17.9] -Wdeprecated-declarations warnings with LLVM-14 and OpenSSL v3.0.x To: Andres Freund Cc: Linus Torvalds , Willy Tarreau , Kees Cook , keyrings@vger.kernel.org, Linux Kernel Mailing List , Salvatore Bonaccorso , David Woodhouse , David Howells , Tasmiya Nalatwad , James Bottomley , Stephane Eranian , Arnaldo Carvalho de Melo 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 > FWIW, these deprecation warnings also cause perf to fail to detect libcry= pto: > > test-libcrypto.c: In function =E2=80=98main=E2=80=99: > test-libcrypto.c:11:9: error: =E2=80=98MD5_Init=E2=80=99 is deprecated: S= ince OpenSSL 3.0 [-Werror=3Ddeprecated-declarations] > 11 | MD5_Init(&context); > | ^~~~~~~~ > In file included from test-libcrypto.c:3: > ... > cc1: all warnings being treated as errors > > > Perhaps it's worth applying this fix a bit more broadly? > Just FYI: "perf build: Suppress openssl v3 deprecation warnings in libcrypto feature = test" Included in git-pull request (pending) in [2]. -Sedat- [1] https://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git/commit/?= h=3Dperf-tools-for-v6.0-2022-08-04&id=3D10fef869a58e37ec649b61eddab545f2da5= 7a79b [2] https://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git/tag/?h= =3Dperf-tools-for-v6.0-2022-08-04