Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp731270iol; Thu, 9 Jun 2022 12:45:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztw852Or1RtpK6OHj349mtuUKQVL5venFWX3e7eYzqUHPArXkmaOzX8OweXWVGCqRqtElV X-Received: by 2002:a17:907:dab:b0:711:d56b:4eb5 with SMTP id go43-20020a1709070dab00b00711d56b4eb5mr18112882ejc.93.1654803911280; Thu, 09 Jun 2022 12:45:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654803911; cv=none; d=google.com; s=arc-20160816; b=UDFjQSa93ape+SRe6pcMRlJEY4I7mW7c9CSKDIb/keRxa0WlGx31rxwUKMoHRlPNGr sZlmxlVRWaEUkWJ8T0pKc3TbdXNaWKXrz7TN8J6pUkIxAY1UX2izDrDRuQAK47AguPRM MiZkpz+//MZXQn7cOOnAfOti0SZsDMPpi4YmXcW/ReD60P9QAO84dZsmDoYfqHP0XuUh 8u6ofPUAyQ8CHvP/10EibQFNZ12Fcb0q75t20xS5mgpOGokSv7HxGtR2H5OH+QOxNV4H WAygqgvYshcnwpC2hNvGGyxGNhzZTuUpEdMz+xWEwsyWNOZZizVJKiK8aWDt+KYw1Lfe aFXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=19XEnMkyDtTBph3qoHoU+djTclhXjey2K0jq2LoQtgI=; b=PnT49Ba8PXH75pnBPl6J04JzauaLijMOAq/jh+482NlHUJ9F1/SN/+vjKMQ1v8z+Gt ICq0s1WrlRN4b1ybwRnSjM2p8bsNKTvW+zaOh+Uy98AA9TC8YRGYm6RHBOFbt38Y+Cm+ YFhFos3PM9oH8O42LrtqSkZC+AwNdWy/2Npi9zViSu9EdPCVL3MYBZGtcYrhnElSxXx9 ZzwrMImhI3GULncMiaFMXtb75l4qKzwNV+wUEZ1cFM0aIrXkCA7Jfd0B2+upKBDPEZut S+3hMxrOQXEfdtGbCtwA4T6yLtkcmQh98TZkkLFan8d0+/+F8o4GXMkDasjhxUF51k7O oB0w== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p21-20020a170906229500b006fef85cfcd4si14838021eja.384.2022.06.09.12.44.45; Thu, 09 Jun 2022 12:45:11 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229716AbiFITcv (ORCPT + 99 others); Thu, 9 Jun 2022 15:32:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241978AbiFITct (ORCPT ); Thu, 9 Jun 2022 15:32:49 -0400 Received: from 1wt.eu (wtarreau.pck.nerim.net [62.212.114.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E4A44144BD7; Thu, 9 Jun 2022 12:32:48 -0700 (PDT) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 259JWcqM010839; Thu, 9 Jun 2022 21:32:38 +0200 Date: Thu, 9 Jun 2022 21:32:38 +0200 From: Willy Tarreau To: Linus Torvalds Cc: Sedat Dilek , Kees Cook , keyrings@vger.kernel.org, Linux Kernel Mailing List , Salvatore Bonaccorso , David Woodhouse , David Howells , Tasmiya Nalatwad , James Bottomley Subject: Re: [Linux v5.17.9] -Wdeprecated-declarations warnings with LLVM-14 and OpenSSL v3.0.x Message-ID: <20220609193238.GD10732@1wt.eu> References: <20220609192308.GB10732@1wt.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, 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, Jun 09, 2022 at 12:25:31PM -0700, Linus Torvalds wrote: > On Thu, Jun 9, 2022 at 12:23 PM Willy Tarreau wrote: > > > > IIRC you can also disable the deprecation warnings by defining the > > OPENSSL_SUPPRESS_DEPRECATED macro. It doesn't require to change the > > compiler's options and allows us to put our head in the sand. > > That one had the downside that you have to know what you're doing to > make such a change ;) Sure, but when I had to go through it, I found that it was the one that's used to decide whether another macro would point to either __attribute__((deprecated)) or to an empty string. It was doing exactly the required job for that. My plan was to use it only for default builds but let developers remove it to see new warnings. Finally we did better and disabled engines completely! > I just wanted to be able to start doing pulls again after mistakenly > thinking that an upgrade would be pain-free. :-) Willy