]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf build: Don't fail fast path feature detection when binutils-devel is not available
authorArnaldo Carvalho de Melo <acme@kernel.org>
Thu, 13 Nov 2025 00:57:08 +0000 (21:57 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 13 Nov 2025 20:16:34 +0000 (17:16 -0300)
commita09e5967ad6819379fd31894634d7aed29c18409
treea5ab96af30c3226565a35d02874d42300eebc5a7
parent85c894a80ac46aa177df04e0a33bcad409b7d64f
perf build: Don't fail fast path feature detection when binutils-devel is not available

This is one more remnant of the BUILD_NONDISTRO series to make building
with binutils-devel opt-in due to license incompatibility.

In this case just the references at link time were still in place, which
make building the test-all.bin file fail, which wasn't detected before
probably because the last test was done with binutils-devel available,
doh.

Now:

  $ rpm -q binutils-devel
  package binutils-devel is not installed
  $ file /tmp/build/perf-tools/feature/test-all.bin
  /tmp/build/perf-tools/feature/test-all.bin: ELF 64-bit LSB executable, x86-64, version 1 (SYSV),
  dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2,
  BuildID[sha1]=4b5388a346b51f1b993f0b0dbd49f4570769b03c, for GNU/Linux 3.2.0, not stripped
  $

Fixes: 970ae86307718c34 ("perf build: The bfd features are opt-in, stop testing for them by default")
Reviewed-by: Ian Rogers <irogers@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: James Clark <james.clark@linaro.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/build/feature/Makefile
tools/perf/Makefile.config