lkml.org 
[lkml]   [2022]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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

\
 
 \ /
  Last update: 2022-08-06 09:43    [W:0.481 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site