[PATCH A 1/2] UBUNTU: SAUCE: tools -- add ability to disable libbfd

Stefan Bader stefan.bader at canonical.com
Tue Feb 27 15:42:41 UTC 2018

From: Andy Whitcroft <apw at canonical.com>

We do not want to be linked to libbfd as this is a tightly versioned
package which does not maintain its ABI.  This prevents us from have
multiple tools packages installed.  Turn that off and we will fallback
to libiberty.

BugLink: http://bugs.launchpad.net/bugs/1748922
Signed-off-by: Andy Whitcroft <apw at canonical.com>
Signed-off-by: Seth Forshee <seth.forshee at canonical.com>
(cherry-picked from commit 1db74df61ab4fdef7e6c7734caca0639d2278689 bionic)
Signed-off-by: Stefan Bader <stefan.bader at canonical.com>
 tools/perf/Makefile.config | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config
index 0294bfb..3ec1969 100644
--- a/tools/perf/Makefile.config
+++ b/tools/perf/Makefile.config
@@ -649,6 +649,10 @@ else
+  feature-libbfd := 0
 ifeq ($(feature-libbfd), 1)
   EXTLIBS += -lbfd

More information about the kernel-team mailing list