From 4084bfe4fcecd0e17efa4e4c361bf0ceeb0ffe74 Mon Sep 17 00:00:00 2001 From: Peter Michael Green Date: Tue, 23 Jul 2024 19:44:04 +0000 Subject: [PATCH] Disable libbfd buildid support, it seems to fail to build. Gbp-Pq: Name perf-avoid-binutils-buildid.patch --- tools/perf/util/symbol-elf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/perf/util/symbol-elf.c b/tools/perf/util/symbol-elf.c index 29c9348c30f..03bdaef0495 100644 --- a/tools/perf/util/symbol-elf.c +++ b/tools/perf/util/symbol-elf.c @@ -564,7 +564,7 @@ out: return err; } -#ifdef HAVE_LIBBFD_BUILDID_SUPPORT +/*#ifdef HAVE_LIBBFD_BUILDID_SUPPORT static int read_build_id(const char *filename, struct build_id *bid) { @@ -593,7 +593,7 @@ out_close: return err; } -#else // HAVE_LIBBFD_BUILDID_SUPPORT +#else // HAVE_LIBBFD_BUILDID_SUPPORT */ static int read_build_id(const char *filename, struct build_id *bid) { @@ -625,7 +625,7 @@ out: return err; } -#endif // HAVE_LIBBFD_BUILDID_SUPPORT +//#endif // HAVE_LIBBFD_BUILDID_SUPPORT int filename__read_build_id(const char *filename, struct build_id *bid) { -- 2.30.2