[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+icZUWjnaHKmofKdGgSo3b6wuNOR_Oj=C+gU3GW9fHViYwVpQ@mail.gmail.com>
Date: Sat, 6 Aug 2022 09:42:21 +0200
From: Sedat Dilek <sedat.dilek@...il.com>
To: Andres Freund <andres@...razel.de>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Willy Tarreau <w@....eu>, Kees Cook <keescook@...omium.org>,
keyrings@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Salvatore Bonaccorso <carnil@...ian.org>,
David Woodhouse <dwmw2@...radead.org>,
David Howells <dhowells@...hat.com>,
Tasmiya Nalatwad <tasmiya@...ux.vnet.ibm.com>,
James Bottomley <James.Bottomley@...senpartnership.com>,
Stephane Eranian <eranian@...gle.com>,
Arnaldo Carvalho de Melo <acme@...hat.com>
Subject: Re: [Linux v5.17.9] -Wdeprecated-declarations warnings with LLVM-14
and OpenSSL v3.0.x
> FWIW, these deprecation warnings also cause perf to fail to detect libcrypto:
>
> test-libcrypto.c: In function ‘main’:
> test-libcrypto.c:11:9: error: ‘MD5_Init’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-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=perf-tools-for-v6.0-2022-08-04&id=10fef869a58e37ec649b61eddab545f2da57a79b
[2] https://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git/tag/?h=perf-tools-for-v6.0-2022-08-04
Powered by blists - more mailing lists