tools/perf/util/Build b/tools/perf/util/Build enables implicit function declarations using -Wno-implicit-function-declaration, which likely will fail to have the desired effect with future GCC versions. I've got a patch to fix this which I'm trying to upstream, but I have trouble posting it, and the perf upstream maintainer seems to have a non-mainline tree that happens to have semantic conflicts with my changes. Reproducible: Always
Created attachment 1961933 [details] kernel-tools-c99.patch I still hope to upstream this patch eventually, after rebasing it on top of the appropriate -next tree. The maintainer receives my email messages, so vger dropping the patch should not be an issue.
Created attachment 1962028 [details] kernel-tools-c99.patch New version, rebased on perf-next. Apparently still dropped by vger.kernel.org.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39.