Messages in this thread | | | From | Sedat Dilek <> | Date | Sat, 6 Aug 2022 09:42:21 +0200 | 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
| |