From e60f3ee90aec7a1be712e819d2add51d3b017e5e Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Mon, 25 Feb 2019 16:58:41 +0100 Subject: [PATCH] perf: disable libfd-liberty libbfd-liberty-z Due to "perf build: Don't unconditionally link the libbfd feature test to -liberty and -lz" commit in 4.19 stable tree. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-4.19.y&id=303d29d8f0cfccfc283322648a617033cd69a70f --- debian/rules.d/tools/perf/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules.d/tools/perf/Makefile b/debian/rules.d/tools/perf/Makefile index c5d0c9342..3c397c75e 100644 --- a/debian/rules.d/tools/perf/Makefile +++ b/debian/rules.d/tools/perf/Makefile @@ -15,7 +15,7 @@ MAKE_PERF += perfexecdir=lib/perf_$(VERSION)-core plugindir=/usr/lib/traceevent_ # undistributable as they are licenced under GPL v2 and v3+ # respectively. Override detection of libbfd and insist that # cplus_demangle() can be found in libiberty (LGPL v2.1+). -MAKE_PERF += feature-libbfd=0 HAVE_CPLUS_DEMANGLE_SUPPORT=1 +MAKE_PERF += feature-libbfd=0 feature-libbfd-liberty=0 feature-libbfd-liberty-z=0 HAVE_CPLUS_DEMANGLE_SUPPORT=1 # perf can link against libcrypto if available, but the result is # undistributable as GPL v2 and OpenSSL are not compatible without