[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#986195: It's not enough to only disable feature-libbfd for building perf tool



if only disable feature-libbfd, file tools/perf/utils/symbol-elf.c still
uses the bfd type because that feature-libbfd-buildid is enabled.


Following patch could workaroud the bug:

---
linux-image-amd64/linux-5.10.24/debian/rules.d/tools/perf/Makefile.orig   
2021-03-31 18:32:46.451992254 +0800
+++
linux-image-amd64/linux-5.10.24/debian/rules.d/tools/perf/Makefile   
2021-03-30 17:35:57.969499201 +0800
@@ -15,7 +15,7 @@
 # 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 feature-libbfd-liberty=0
feature-libbfd-liberty-z=0 HAVE_CPLUS_DEMANGLE_SUPPORT=1
+MAKE_PERF += feature-libbfd=0 feature-libbfd-buildid=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


Reply to: