Re: [PATCH 1/2] perf build: Update error message for BUILD_NONDISTRO=1
From: Ian Rogers
Date: Wed Apr 08 2026 - 02:12:03 EST
On Tue, Apr 7, 2026 at 10:53 PM Namhyung Kim <namhyung@xxxxxxxxxx> wrote:
>
> It should say binutils-dev(el) instead of plain binutils package as it's
> mostly installed already and can confuse people like me. :)
>
> Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx>
Reviewed-by: Ian Rogers <irogers@xxxxxxxxxx>
Thanks,
Ian
> ---
> tools/perf/Makefile.config | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config
> index e6686641761fd0bf..ad5401eb720e9e78 100644
> --- a/tools/perf/Makefile.config
> +++ b/tools/perf/Makefile.config
> @@ -923,7 +923,7 @@ ifdef BUILD_NONDISTRO
> $(call feature_check,libbfd-liberty-z)
>
> ifneq ($(feature-libbfd-threadsafe), 1)
> - $(error binutils 2.42 or later is required for non-distro builds)
> + $(error binutils-dev(el) 2.42 or later is required for non-distro builds)
> endif
>
> # we may be on a system that requires -liberty and (maybe) -lz
> --
> 2.53.0
>